• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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