Re: Configuring PHP5 with MySQL support
I'm having a simular problem. SuSE 10.0, mysql-4.1.13-3, apache2-2.0.54-10 and php5-5.0.4-9. The only mysql.so I can find on my system is located at:
/usr/lib/perl5/vendor_perl/5.8.7/i586-linux-thread-multi/auto/DBD/mysql/mysql.so
I installed from the SuSE rpms for these products and also installed phpMyAdmin. If I execute a script with phpinfo() I do not see any section on mysql. (I did see this under SuSE 9.1 with earlier versions of PHP , apache and mysql. And it worked). When i try phpMyAdmin i get the following error:
cannot load mysql extension;
please check PHP configuration
Documentation
Under the module section of php.ini there are no commented extensions, per other news groups. Do I add extension=mysql.so and if so in which php.ini. it exists in:
/etc/php5/cli/php.ini
/etc/php5/apache2/php.ini
Phpinfo says it reads /etc/php5/apache2 and /etc/conf.d
conf.d has the mysql.ini and the other required extensions but no php,ini.
I am getting confused and any help would be greatly appreciated.
Russ
Subject
Written By
Posted
November 01, 2005 02:50AM
November 01, 2005 02:09PM
November 05, 2005 08:02PM
November 06, 2005 05:50PM
Re: Configuring PHP5 with MySQL support
November 13, 2005 02:01PM
November 14, 2005 03:01AM
November 14, 2005 07:34AM
November 14, 2005 10:02AM
November 15, 2005 02:38AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.