I finally got php 5.2.3 installed from the ART archive, unfortunately it did not install with GD or mysql. I then installed mysql and gd from the ART archive using
yum install php-gd
yum install php-mysql
The mysql installation seems to work perfectly in that I can create databases and access it with the phpmyadmin in Plesk 8.2 on Centos 4.2, but php scripts are unable to access either mysql or GD. How do I get the new php 5.2.3 installation to access GD and mysql? Is there some step that I am missing or did I do something wrong?
Installation of php-gd and php-mysql
-
- Atomicorp Staff - Site Admin
- Posts: 8355
- Joined: Wed Dec 31, 1969 8:00 pm
- Location: earth
- Contact:
take a look at the wiki page here:
http://www.atomicorp.com/wiki/index.php/PHP
my first guess would be that you didnt merge in the new php.ini
http://www.atomicorp.com/wiki/index.php/PHP
my first guess would be that you didnt merge in the new php.ini
-
- Long Time Forum Regular
- Posts: 2813
- Joined: Sat Aug 20, 2005 9:30 am
- Location: The Netherlands
You shouldn't have to add those lines. They should be loaded by the .ini files the php-mysql and php-gd rpms come with.gavacho wrote:I added these two lines to the new php.ini
extension=mysql.so
extension=gd.so
This fixed the problem.
Thanks Scott
Lemonbit Internet Dedicated Server Management