Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
first time poster here, need help.
i have a red hat server, that functions mainly as a web server.
after a while i registered again for the official updates, i updated the system with quite a few updates.
after restart i found out that the sites on the http directory could not access the mysql DB.
i run Zend core package. i could start the mysql service manually and log in to mysql. the problem is only when the websites (php?) tries to connect to DB.
i ran a phpinfo() and find nothing to mention the mysql lib there.
when i edited the php.ini i think all the relevent commands were there.
would really be happy if someone can direct me how to solve this,
php 5.2.1, latest apache
p.s. a real newby here, i thought about posting this at newbies section but wasn't sure.
edit: after some digging i think that for some reason php started using a different php.ini file.
i'm not sure if just replacing the files is a good idea, but that currently used one has no extension=mysql.so line in it... would still be glad for any help
all i had to do is delete the new php.ini created by some update installation, and restore the old one. lucky for me, the old one was in a /usr/local/Zend directory, and the new one that for some reason replaced it was in /etc/php.ini.