Koozali.org: home of the SME Server

MySQL issue after upgrade

Ben Cosgrave

MySQL issue after upgrade
« on: May 22, 2003, 05:11:51 AM »
I upgraded our E-Smith 5.5 with the latest files in the updates directory, followed the upgrade directions, and the upgrade SEEMED to go fine. However, now any PHP scripts which access database content are dying with the following message:

Fatal error: Call to undefined function: mysql_connect()

I managed to install phpmyadmin, and that works fine. One of the upgrade files was Apache 3.22, however a check of the phpinfo() information shows Apache 3.20, and doesnt display information for MySQL.

I'm guessing there's a config problem somewhere, but I'm totally lost.

Nathan Fowler

Re: MySQL issue after upgrade
« Reply #1 on: May 22, 2003, 07:41:39 PM »
You don't have mySQL support for your version of PHP, or it isn't turned on in the php.ini.  /etc/php.ini is the file you want to investigate.

Check your php.ini and ensure that it's enabled.  Also, I would upgrade to Apache 1.3.27 using RH errata as soon as possible, your running a very old webserver.