TUTORIAL: How to install PHP and MySQL on IIS
- compaqras
- Newbie


- Joined: Apr 18, 2006
- Posts: 8
- Status: Offline
i follow the steps but when i type link of some php file, it give option to download instead to run the script. any clue, why is that.
- Anonymous
- Bot


- Joined: 25 Feb 2008
- Posts: ?
- Loc: Ozzuland
- Status: Online
- Zackeriney
- Graduate


- Joined: Jul 06, 2005
- Posts: 128
- Status: Offline
brillaint ill try this later cheers
- ATNO/TW
- Super Moderator


- Joined: May 28, 2003
- Posts: 23404
- Loc: Woodbridge VA
- Status: Offline
i follow the steps but when i type link of some php file, it give option to download instead to run the script. any clue, why is that.
You have to register the php extension in IIS. Instructions are provided in this link
http://www.microsoft.com/technet/archiv ... x?mfr=true
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
- Zackeriney
- Graduate


- Joined: Jul 06, 2005
- Posts: 128
- Status: Offline
i get
phpMyAdmin - Error
Cannot load mysql extension. Please check your PHP configuration. - Documentation
mysql.dll exists in the ext dir and i have uncommented it in php.ini, everything else is working i think but thats not :S
- ATNO/TW
- Super Moderator


- Joined: May 28, 2003
- Posts: 23404
- Loc: Woodbridge VA
- Status: Offline
Reboot your computer or restart the MySql service.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
- Zackeriney
- Graduate


- Joined: Jul 06, 2005
- Posts: 128
- Status: Offline
Nice guide, everything else works but i get
phpMyAdmin - Error
Cannot load mysql extension. Please check your PHP configuration. - Documentation
- ATNO/TW
- Super Moderator


- Joined: May 28, 2003
- Posts: 23404
- Loc: Woodbridge VA
- Status: Offline
What version of MySql and PHP are you installing?
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
- Zackeriney
- Graduate


- Joined: Jul 06, 2005
- Posts: 128
- Status: Offline
Iv uninstalled it all now am going to start from fresh. i dont really need that to work just trying to get java to work. i have 5 java files that were sent to me and i cant get them to work on tomcat. also when i go to http://x.x.x.x:8080 i get the router admin login when im on the local network so it is really annoying to rest. if ido localhost:8080 or 192.168.0.2:8080 it will work :s it always used to work just doing my external ip, but dosnt now on my new pc.
i am installing the latest of both whichever versions that is.
- ATNO/TW
- Super Moderator


- Joined: May 28, 2003
- Posts: 23404
- Loc: Woodbridge VA
- Status: Offline
For php 5 the following should be uncommented in the extensions list
extension=php_mysql.dll
extension=php_mbstring.dll
(note there is a difference between mysql.dll and php_mysql.dll
Make sure the path to the extensions directory is correct and make sure php_mysql.dll and php_mbstring.dll exist in the extensions directory.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
- Zackeriney
- Graduate


- Joined: Jul 06, 2005
- Posts: 128
- Status: Offline
cheers will try later because one of my websites hasnt got hosint at the moment
where is the extensions folder? i couldnt find it last time so just left it
- ATNO/TW
- Super Moderator


- Joined: May 28, 2003
- Posts: 23404
- Loc: Woodbridge VA
- Status: Offline
You need to download the php 5.2.1 Windows Binaries from the download page and unzip it to the PHP folder. (it contains the extensions folder and the extensions. The Windows install file does not include them - they need to be added separately)
http://www.php.net/downloads.php
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
- xxkmanxx
- Born


- Joined: Feb 12, 2007
- Posts: 1
- Status: Offline
is there any tutorial on how to install PHP and MySQL on the new IIS 7.0 on Windows Vista?
thanks
- ATNO/TW
- Super Moderator


- Joined: May 28, 2003
- Posts: 23404
- Loc: Woodbridge VA
- Status: Offline
Not here at OZZU, no. And unfortunately I don't have IIS 7.0 or Vista yet to mess around with it.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
- brentv911
- Born


- Joined: May 11, 2007
- Posts: 1
- Loc: Clinton, IA
- Status: Offline
I'm not well versed in any of this.. I'm trying to install and learn PHP but i'm using Windows Server 2003. I followed the instructions on installing PHP but for some reason when I create the test file and place it in the wwwroot folder, it doesn't work.
Any ideas?
- iceberg11
- Born


- Joined: May 25, 2007
- Posts: 1
- Status: Offline
i get
phpMyAdmin - Error
Cannot load mysql extension. Please check your PHP configuration. - Documentation
mysql.dll exists in the ext dir and i have uncommented it in php.ini, everything else is working i think but thats not :S
I get the same thing, php_mysql.dll is unquoted, everything was done, i get the test to work, the setup.php to show, but index.php show that message. I check my extension folder, it was set corrected for C:/php/ext so I don't know what else I'm doing wrong. Please help
Nevermind, solved it by moving php.ini to windows directory. Argghhhhhh...wasted alot of my time.
- Anonymous
- Bot


- Joined: 25 Feb 2008
- Posts: ?
- Loc: Ozzuland
- Status: Online
1, 2, 3, 4, 5, 6, 7, 8, 9, 10
To Reply to this topic you need to LOGIN or REGISTER. It is free.
Post Information
- Total Posts in this topic: 142 posts
- Users browsing this forum: ScottG and 185 guests
- You cannot post new topics in this forum
- You cannot reply to topics in this forum
- You cannot edit your posts in this forum
- You cannot delete your posts in this forum
- You cannot post attachments in this forum