php-mysql extension problem

augustoc

New member
Joined
Aug 21, 2006
Messages
3
Location
Colombia
Hi, i have a CentOS server with Direct Admin and i have some domains parked here using php and mysql.

Some days ago i tried to update aomething i order to have XMLDOM in php and i used the YUM command like this:

yum install php (i think it was wrong), and it reinstall apache to 2.0 version and php to the 4.2.3 version like you can see here http://www.stpnetworks.com.co/info.php

The i rapair my httpd configuration but when i tried to see a we page that uses mysql database i got an error:

Fatal error: Call to undefined function: mysql_connect()

and i can not see nothing in http://www.stpnetworks.com.co/phpmyadmin

I think that the php was reinstalled without the mysql extension but i dont know how to recompile it with the extension or how to get it good again. My Server is a DIRECTADMIN Server so, i really dont know what to do.

I tried to use yum install php-mysql and i got this:

Running test transaction:
Errors reported doing trial run
file /usr/bin/comp_err from install of mysql-3.23.58-16.RHEL3.1 conflicts with file from package MySQL-devel-4.0.23-0
file /usr/bin/mysql_config from install of mysql-3.23.58-16.RHEL3.1 conflicts with file from package MySQL-devel-4.0.23-0

I hope someone can help me with this.

Thanks,
Alex
 
Problem Solved

Hi, well thank you so much but i've finally solved the problem with the server support help.

Again thanks..
 
Back
Top