yacaph Posted March 4, 2008 Share Posted March 4, 2008 I'm new to this site so I hope that I'm in the correct forum. I'd really appreciate some help, The info here is from the XP machine but it’s similar on the W2k box. MySQL works fine as does IIS & PHP although if I move php.ini to the Windows (or WINNT) folder I only get a blank screen when executing a .php file and this includes excuting phpinfo(). I have restarted IIS after each change. On the W2K box I copied the .dll’s from C:\PHP\ext to WINNT\System32, but not on the XP box. Installs = IIS 5.1 – MySQL 5.0 – PHP 5.25 on both computers. Php.ini is in C:\PHP\ (although phpinfo() shows it in C:\WINDOWS\ and in C:\WINNT\ on the W2K box). Path on XP= C:\PHP\;C:\PHP\ext\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Symantec\pcAnywhere\;;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\; Path on W2K= C:\Program Files\PHP\:\WINNT\system32;C:\WINNT;C:\WINNT\system32\WBEM;C:\Program Files\MySQL\MySQL Server 5.0\bin The following are some of the uncommented items from my php.ini on the XP box. doc_root = user_dir = extension_dir ="C:\PHP\ext" enable_dl = On cgi.force_redirect = 1 fastcgi.impersonate = 1; file_uploads = On [MySQL] mysql.allow_persistent = On mysql.max_persistent = -1 mysql.max_links = -1 mysql.default_port = mysql.default_socket = mysql.default_host = mysql.default_user = mysql.default_password = mysql.connect_timeout = 60 mysql.trace_mode = Off [MySQLi] mysqli.max_links = -1 mysqli.default_port = 3306 mysqli.default_socket = mysqli.default_host = mysqli.default_user = mysqli.default_pw = mysqli.reconnect = Off [mSQL] msql.allow_persistent = On msql.max_persistent = -1 msql.max_links = -1 [php_MYSQL] extension=php_mysql.dll [php_PHPDOC] extension=php_phpdoc.dll [php_POP3] extension=php_pop3.dll [php_SPL_TYPES] extension=php_spl_types.dll Quote Link to comment https://forums.phpfreaks.com/topic/94296-can%E2%80%99t-get-mysql-to-work-with-php-in-iis-on-w2k-or-xp-pro/ Share on other sites More sharing options...
DaveM Posted March 6, 2008 Share Posted March 6, 2008 Well if you would like to go over to using Apache then maybe I can get you up and running ??? Quote Link to comment https://forums.phpfreaks.com/topic/94296-can%E2%80%99t-get-mysql-to-work-with-php-in-iis-on-w2k-or-xp-pro/#findComment-484989 Share on other sites More sharing options...
DaveM Posted March 6, 2008 Share Posted March 6, 2008 You may want to look here http://www.phpfreaks.com/forums/index.php/topic,185780.msg831834.html#msg831834 Quote Link to comment https://forums.phpfreaks.com/topic/94296-can%E2%80%99t-get-mysql-to-work-with-php-in-iis-on-w2k-or-xp-pro/#findComment-485003 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.