Results 1 to 1 of 1
Thread: PHP 5 with MySQL 5 on IIS...
Jan 16, 2009, 08:44 #1
- Join Date
- Mar 2001
- upstate NY, USA
- 0 Post(s)
- 0 Thread(s)
PHP 5 with MySQL 5 on IIS...
Has anyone successfully set up PHP 5 with MySQL 5 on IIS? I know this is well documented but I have been trying for days to get it to work. Please help....
PHP 5.1.6 with MySQL 5.0.67 running IIS on Windows 2000
With the configuration below php works and MySQL is up and running. I get call to undefined function with mysql_connect(). Phpinfo shows no mysql table and shows c:\WINNT as the config file path as well as c:\php5 as the extension_dir. I even found this problem on php bugs labeled as a 'bogus bug' and referred to support.
Path environment var set to include c:\php;c:\php\ext
php_mysql.dll and php_mysqli.dll are in proper directory. Php app mapping is set to c:\php\php5isapi.dll in IIS. Full permission is set for user Everyone on c:\php.
;doc_root = "c:\Inetpub\wwwroot"
extension_dir = "c:\php\ext\"
Changing the doc_root to c:\Inetpub\wwwroot or c:\php hoses php. Moving php.ini to c:\WINNT hoses php.
Has anyone got this working? Am I missing something simple?
Thanks for any help.