MySQL Forums
Forum List  »  PHP

Re: Problem link PHP 5.1.2 + Mysql 5.0.20 + IIS 6.0
Posted by: Jason Gray
Date: April 14, 2006 09:37AM

I'm running:

Windows 2003
IIS 6.0
PHP 5.1.2
Mysql 5.0.20

I fixed the problem by adding the PHPRC environment variable. I also added the most recent (currently Mysql 5.0.18) connector found at:

http://dev.mysql.com/downloads/connector/php/


To add the PHPRC environment variable on Windows NT, 2000, XP and 2003:

-Go to Control Panel and open the System icon (Start -> Settings ->
Control Panel -> System, or just Start -> Control Panel -> System
for Windows XP/2003)
-Go to the Advanced tab
-Click on the 'Environment Variables' button
-Look into the 'System variables' pane
-Click on 'New' and enter 'PHPRC' as the variable name and the
directory where php.ini is located as the variable value (e.g.
C:\php)
-Press OK and restart your computer

Options: ReplyQuote


Subject
Written By
Posted
Re: Problem link PHP 5.1.2 + Mysql 5.0.20 + IIS 6.0
April 14, 2006 09:37AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.