help with zend core php + mysql, cannot connect.
Hello everyone,
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,
thanks.
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
Last edited by yandos; 11-25-2008 at 09:36 AM.
|