Trouble installing LAMP (Linux, Apache, MySQL, PHP) on CentOS

Associate
Joined
18 Nov 2008
Posts
2,430
Location
Liverpool
Hey guys, first time using CentOS and first time trying out any OS other than Windows! It's also my first Dedi (I know I know, I'm not doing well so far...)

Here's the problem, I can install the basics easily using:

yum install httpd
yum install php
yum install mysql
yum install mysql-server
yum install mysql-devel

And they all run fine, but when I install PHPMyAdmin, I get the same error every time: "Cannot load mysql extension. Please check your PHP configuration. - Documentation"

Now this is a commonly known problem, and the fix is simple, uncomment a line in php.ini. Which of course doesn't work for me! I've been at this for 2 days now and can't get anywhere, I really want to use the yum stuff as it's incredibly simple to install and maintain.

PLEASE can anybody help?

Much appreciated and thanks for taking the time to read!
 
Probably missing some packages.
snip

EDIT: IT WORKS, OH MY GOD IT WORKS THANK THE LORD! (If I were a religious man ^^).

Thank you so much man it is hugely appreciated. I don't know what fixed it because I did them all at once but I'm thinking probably the PHP as all the others were already done. Thank you so much!
 
Back
Top Bottom