Jump to content

PHP Does Not Work on IIS?


Recommended Posts


Ahh, I have just installed PHP, and it worked well :rolleyes: . Thank you, Datalore. By the way, can you tell me how to fix another problem? I have MySQL 5.0, but when I entered the command mysql, it showed that ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061). :)

Link to comment
Share on other sites

Glad I could help. As far as the error goes, do you have a firewall running? Did you make sure port 3306 is open? From my researching, it looks like that could also be a misconfigured INI file. I also found this:

=====================================================================

Solution for WINXP !!!

The files are in the wrong place, at least with my example.

Had an old version of MYSQL.

Instruction below.(NZ)

=======================================================================

I had this problem, and this what helped me.....

I have Winxp.....

I removed the previous service, because I had an earlier version....

/bin/mysqld-nt /remove

Then I installed the service

/bin/mysqld-nt /install

Then I edited the my.ini file, by opening winMysqladmin

/bin/winmysqladmin

That command having opened the program...then you should

then select 4th tab, which is the my.ini file

You then edit the file to reflect where you had the files of MYSQL...

as the MY.ini said I had it under c:\mysql ....and I had it under

another folder altogeather....

For simplicity sake, I just copied the files from my current folder to

the specified by my.ini

This got me the access I wanted....

Very happy...

Hope this helps....

Regards Justin(James)HORT

From New Zealand, Palmy

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...