I have just come across this in my httpd/error_log:
Code:
[Tue Feb 16 23:34:19 2010] [error] [client 10.11.22.214] PHP Fatal error: Call to undefined function mysql_connect() in /var/www/intranet.my-domain.local/itprojects/infor/SX e/stock/testsql.php on line 2
Does this mean my PHP is broken somehow? I thought I had installed all the necessary packages from a guide earlier today. This shows what I installed/updated earlier (from /var/log/messages:
Code:
Feb 16 13:14:33 intranet yum: Updated: mysql-5.0.77-4.el5_4.1.x86_64
Feb 16 13:16:58 intranet yum: Updated: php-common-5.1.6-24.el5_4.5.x86_64
Feb 16 13:16:59 intranet yum: Updated: php-cli-5.1.6-24.el5_4.5.x86_64
Feb 16 13:17:00 intranet yum: Installed: php-pdo-5.1.6-24.el5_4.5.x86_64
Feb 16 13:17:02 intranet yum: Installed: perl-DBD-MySQL-3.0007-2.el5.x86_64
Feb 16 13:17:05 intranet yum: Installed: mysql-server-5.0.77-4.el5_4.1.x86_64
Feb 16 13:17:08 intranet yum: Updated: php-5.1.6-24.el5_4.5.x86_64
Feb 16 13:17:09 intranet yum: Installed: php-mysql-5.1.6-24.el5_4.5.x86_64
Feb 16 13:17:10 intranet yum: Updated: php-ldap-5.1.6-24.el5_4.5.x86_64
Any suggestions would be very much appreciated.
Cheers.