View Single Post
  #1  
Old 28th October 2006, 11:11
dannyg dannyg is offline
Junior Member
 
Join Date: Oct 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question "Call to undefined function mysql_connect()" - Help!

Hi,

I'm currently in the process of trying to install a script onto my server (which I have installed and setup) but whenever I try and setup this script, I get:

Fatal error: Call to undefined function mysql_connect() in /var/www/status/config.php on line 31

I edited my php.ini and uncommented "extension=mysql.so", then restarted Apache but it still doesn't work.

I'm currently using Webmin to administrate my server. I heard somewehre about needing the line "--with-mysql" but I don't know what this means.

My PHPInfo file: http://www.dannyg.co.uk/info.php

Any help would be very very much appreciated,

Thanks in advance,

Daniel.
Reply With Quote
Sponsored Links