Hello
I'm setting up my server for VBulletin 3.0.3 (newbie at all this so I want to make sure it will install before purchasing!), and I get the following error when I run vb_test.php:
PHP Fatal error: Call to undefined function mysql_connect() in C:\Tbird Site\vb_test.php on line 113
I read in a couple other posts that php was compiled without mysql support, but I don't think that's my problem (and if it is I don't know how to solve it).
Some background:
Server - Win2003, IIS 6.0.
Php 5.0.2 - installed from php-5.0.2-Win32.zip (which to my understanding supports mysql), installed as CGI. Used php.ini from php.ini-recommended and made the follwing changes:
extension_dir = "C:\php\ext"
cgi.force_redirect = 0
extension=php_mysqli.dll
MySQL 4.1.7, installed from mysql-4.1.7-essential-win.msi
Added the following to PATH - C:\php;C:\php\ext;C:\Program Files\MySQL\MySQL Server 4.1\bin;
I can connect to my database using the c:\>mysql -h localhost -u user -p command.
The website, which consists of 3 php scripts - test.php, vb_test.php, and database_conflicts.php (haven't even looked at that one yet), can parse php files, as test.php runs fine.
Any help would be much appreciated!
Kevin
I'm setting up my server for VBulletin 3.0.3 (newbie at all this so I want to make sure it will install before purchasing!), and I get the following error when I run vb_test.php:
PHP Fatal error: Call to undefined function mysql_connect() in C:\Tbird Site\vb_test.php on line 113
I read in a couple other posts that php was compiled without mysql support, but I don't think that's my problem (and if it is I don't know how to solve it).
Some background:
Server - Win2003, IIS 6.0.
Php 5.0.2 - installed from php-5.0.2-Win32.zip (which to my understanding supports mysql), installed as CGI. Used php.ini from php.ini-recommended and made the follwing changes:
extension_dir = "C:\php\ext"
cgi.force_redirect = 0
extension=php_mysqli.dll
MySQL 4.1.7, installed from mysql-4.1.7-essential-win.msi
Added the following to PATH - C:\php;C:\php\ext;C:\Program Files\MySQL\MySQL Server 4.1\bin;
I can connect to my database using the c:\>mysql -h localhost -u user -p command.
The website, which consists of 3 php scripts - test.php, vb_test.php, and database_conflicts.php (haven't even looked at that one yet), can parse php files, as test.php runs fine.
Any help would be much appreciated!
Kevin
Comment