LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apache2 & mysql (https://www.linuxquestions.org/questions/linux-software-2/apache2-and-mysql-261654/)

JJX 12-02-2004 04:44 AM

apache2 & mysql
 
I am trying to install apache2 with php/mysql support

So:
apt-get install mysql-client mysql-server
apt-get install apache2 libapache2-mod-auth-mysql libapache-mod-php4

I loaded auth_mysql module.
However , apache cant use mysql.

After googling i found that i should edit /etc/php4/apache2/php.ini
enabling "extension=mysql.so"

Done, restart apache and i get this error to the logs:


PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/20020429/mysql.so' - /usr/lib/php4/20020429/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0

:(
Any idea how to fix this??

JJX 12-02-2004 07:16 AM

apt-get install php4-mysql

fixed ;)


All times are GMT -5. The time now is 01:53 AM.