LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   LAMP server configuration problems. (https://www.linuxquestions.org/questions/linux-software-2/lamp-server-configuration-problems-617964/)

joe1986 02-01-2008 10:53 AM

LAMP server configuration problems.
 
Im trying to set up a LAMP server, and Im having a problem. Everything is installed (apache 2, php5, php-myadmin, mysql) with no problems at all. The apache server seems to be configured correctly because when I type localhost into the address bar of my browser, the default page displays correctly, and when I add test.php (default test php page supplied with PHP) on the end of this, this also works fine. But if I try to access a php page which is also trying to access a mysql database, I get the following error message:

Quote:

ERROR: MySQL is not correctly installed. Verify that the php-mysql module is installed and that the php.ini has something similar to 'extension=mysql.so'.
I assume the php-mysql module is the actual program which I have verified and it is installed. I just cant work out why the 'extension=mysql.so' is not loading because ive checked, and its there.

I just wondered if anyone had had a similar sort of problem? Or if anyone could make a suggestion.

Im using fedora core 6.

Cheers,

Joe

win32sux 02-01-2008 01:53 PM

Quote:

Originally Posted by joe1986 (Post 3042581)
Everything is installed (apache 2, php5, php-myadmin, mysql) with no problems at all.

What about php5-mysql?


All times are GMT -5. The time now is 09:49 AM.