notooth Posted April 4, 2004 Posted April 4, 2004 I designed a webpage named mypage.php and put it in Inetpub\wwwroot. When I typed http://localhost/mypage.php, the page did not show off but the message asked me if I wanted to save this file on my hard drive . Does Anybody know what is wrong?Please help.
Datalore Posted April 4, 2004 Posted April 4, 2004 Did you download and configure PHP? IIS does not come with PHP by default.
notooth Posted April 5, 2004 Author Posted April 5, 2004 Ahh, I have just installed PHP, and it worked well . 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).
Datalore Posted April 5, 2004 Posted April 5, 2004 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 /removeThen I installed the service/bin/mysqld-nt /installThen I edited the my.ini file, by opening winMysqladmin/bin/winmysqladminThat command having opened the program...then you shouldthen select 4th tab, which is the my.ini fileYou 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.iniThis got me the access I wanted....Very happy...Hope this helps....Regards Justin(James)HORTFrom New Zealand, Palmy
notooth Posted April 5, 2004 Author Posted April 5, 2004 Thank Datalore for helping me. Mysql is working now after I run the command winmysqladmin . It is amazing.
SMELVIN Posted June 18, 2004 Posted June 18, 2004 if you are going into php the best thing I've found is EASYPHP better than IISsets all the APACHE MYSQL AND PHPMYADMIN FOR YOU TO USE.www.easyphp.org/
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now