LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-01-2008, 11:53 AM   #1
joe1986
LQ Newbie
 
Registered: Feb 2008
Posts: 1

Rep: Reputation: 0
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
 
Old 02-01-2008, 02:53 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
Quote:
Originally Posted by joe1986 View Post
Everything is installed (apache 2, php5, php-myadmin, mysql) with no problems at all.
What about php5-mysql?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up Ubuntu LAMP Server for local web server sewmyheadon Linux - Newbie 5 02-11-2007 03:06 PM
Cannot start X server, configuration problems _mercury Linux - Software 11 06-29-2006 01:16 AM
LAMP server problems dcdbutler Slackware 2 02-20-2006 04:12 PM
FreeBSD 6.0 X server configuration problems Nylex *BSD 7 01-22-2006 09:09 PM
Xnest: Remote X-Server Configuration Problems shinacalypse Linux - Newbie 1 04-30-2004 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration