☰ Navigation

Pixel Internet Blog

Offers - Resources - News

My PHP script gives the error ‘Call to undefined function: mysql_connect()’

My PHP script gives the error ‘Call to undefined function: mysql_connect()’

This is usually due to a faulty php.ini file causing the PHP MySQL functions to be undefined. A custom php.ini file should not need to contain more than a very few lines to override the specific necessary directives. Using a php.ini found on other webservers or examples given on PHP-related websites will likely cause problems such as this.


Comments

Comments are closed.

Want to find out more? Let’s chat