Toggle navigation Home Store Browse All ----- Webhosting Domains Quotation (Webdesign Services) eMail Hosting SEO- Search Engine Optimisation GRAPHIC DESIGN Dedicated/ VPS Webhosting BULKSMS Mobi Applications Website Maintenance Register a New Domain Transfer Domains to Us Announcements Knowledgebase Network Status Affiliates Contact Us Account Login Register ----- Forgot Password? Categories 9 CGI Scripts 34 Databases 28 Dedicated Servers 1 DNS 15 Domains 5 eCommerce 79 eMails 27 FTP 1 General Issues 1 MX Records 1 Nameservers 28 Other 104 Scripting 254 Web Hosting Control Panel 9 Web Resources 8 Web Stats & Logs 11 Web Tools 8 Website Help and Diagnostics 4 Windows Hosting Categories CGI Scripts (9) Databases (34) Dedicated Servers (28) DNS (1) Domains (15) eCommerce (5) eMails (79) FTP (27) General Issues (1) MX Records (1) Nameservers (1) Other (28) Scripting (104) Web Hosting Control Panel (254) Web Resources (9) Web Stats & Logs (8) Web Tools (11) Website Help and Diagnostics (8) Windows Hosting (4) [PHP1.04] My PHP script gives the error 'Call to undefined function: mysql_connect()' This error is usually caused by unecessary or incorrect directives in a custom php.ini file.We usually find this happens when the extension_dir directive is specified within a custom php.ini file - if you are getting this error and you have a custom php.ini that has the extension_dir directive in it then please remove this line which should resolve the problem.Using a php.ini found on other webservers or examples given on PHP-related websites will likely cause problems such as this. If this does not resolve the issue, you should contact whoever supplied the script that you are attempting to run as this may suggest a coding issue. Was this answer helpful? Yes No Print this Article Also Read [PHP1.02] Why does my script produce a 'file permissions error'? CGI scripts need certain file permissions to be set if they are to work properly. In general CGI... [PHP1.07] Why is my scheduled task (CRON job) not running? If the scheduled task did not run check the following before contacting support.1) The file... [PHP1.01] My CGI/ASP/PHP script is giving an error when trying to write to a file. This applies to Linux hosting accounts only. This is almost certainly down to incorrect... [PHP1.05] Why does my PHP script fail with 'Fatal error: Allowed memory size of 8388608 bytes exhausted'? PHP has a built-in limit on the amount of memory it will allocate. If that limit is reached, the... [PHP1.10] Why do I get Zend Optimizer is not installed error message when running a script? If you receive the error message below when trying to run a script on our servers please make... Support My Support Tickets Announcements Knowledgebase Downloads Network Status Open Ticket × Close Title Loading...