I am running Win2k3 Server and when I try to use the mysql_connect
function I am getting an error:
Fatal error: Call to undefined function mysql_connect() in
C:\Inetpub\wwwr oot\programs\in dex.php on line 8
Now, I def know I've configured my php.ini correctly (its literally the
same as my XP machine) and I know that mysql works fine with PHP as I
can run it from the command line :D
I've got the files (tried in multiple places - but happiest with it in
my php & php/ext dirs with Windows path set.)
PHP 5 is running as an ISAPI (for some reason I cant get the CGI to
parse php files).
I have amended my php.ini with the doc_root, and cgi-force_redirect and
extension dir - all the permissions on my php / inetpub folders have
been given set for iusr, iwam and IWG full control (purely for
troubleshooting ).
MySQL is 4.1, IIS 6.0 on Windows 2003 with PHP 5.
Its caused me lots of grief so any help would be much appreciated!
Regards
FrobinRobin
function I am getting an error:
Fatal error: Call to undefined function mysql_connect() in
C:\Inetpub\wwwr oot\programs\in dex.php on line 8
Now, I def know I've configured my php.ini correctly (its literally the
same as my XP machine) and I know that mysql works fine with PHP as I
can run it from the command line :D
I've got the files (tried in multiple places - but happiest with it in
my php & php/ext dirs with Windows path set.)
PHP 5 is running as an ISAPI (for some reason I cant get the CGI to
parse php files).
I have amended my php.ini with the doc_root, and cgi-force_redirect and
extension dir - all the permissions on my php / inetpub folders have
been given set for iusr, iwam and IWG full control (purely for
troubleshooting ).
MySQL is 4.1, IIS 6.0 on Windows 2003 with PHP 5.
Its caused me lots of grief so any help would be much appreciated!
Regards
FrobinRobin
Comment