Page 1 of 1

enable mysql on PHP5

Posted: Thu Apr 30, 2009 1:59 am
by pcoder
Hi All,
I have upgraded the PHP from 4 to 5.
Currently the PHP version is 5.2.9 and the mysql version is 4.1.22-standard. My server is in Linux.
How to configure the PHP to enable the mysql database?
Currently, i am getting an error like "Call to undefined function mysql_connect()".
I don;t have an idea to configure it in Linux. Can anyone suggest me how to do this?
Is this possible from cpanel?
Thanks

Re: enable mysql on PHP5

Posted: Thu Apr 30, 2009 2:06 am
by Benjamin
What flavor of linux are you using?

Re: enable mysql on PHP5

Posted: Thu Apr 30, 2009 2:11 am
by pcoder
I am using centos linux.

Re: enable mysql on PHP5

Posted: Thu Apr 30, 2009 2:16 am
by Benjamin

Re: enable mysql on PHP5

Posted: Thu Apr 30, 2009 4:41 am
by pcoder
Anyway thanks for suggesting me to google it.