• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

PHP5 Configuration --> MySQL4

N

NetNappy

Guest
I just have my server fresh installed (FC4/64 with PSA8 and running PHP5/MySQL4.1.16) and I have uploaded files that I previously run on PHP4/MySQL4.1.16, but there is an error about PHP configuration with Mysql on my new server, and I have found out that PHP5 has to be reconfigured to run with Mysql4,,,, does anyone has the same problem...... please guide me if you can

I got below error when run PHP5 with Mysql4
+++++++++++++++++++++++++++++
Fatal error: call to undefined function mysql_connect()
+++++++++++++++++++++++++++++

and also this error when try to install phpbb2.0.20
+++++++++++++++++++++++++++++
The PHP configuration on your server doesn't support the database type that you chose
+++++++++++++++++++++++++++++

thanks
 
You need to go into your php.ini file and uncomment the mysql libraries. They stopped making them a default part of PHP starting with 5.0. Why it comes commented by default is a huge mystery to me.
 
Thats because they're enabling modules through /etc/php.d/ .ini files. Assuming you've got php-mysql and/or php-mysqli installed, you should have mysql.ini or mysqli.ini in that directory.
 
Back
Top