TUTORIAL: How to install PHP and MySQL on IIS
- ATNO/TW
- Super Moderator


- Joined: May 28, 2003
- Posts: 23404
- Loc: Woodbridge VA
- Status: Offline
I was thinking through some stuff and maybe this has something to do with what is going on here (or I could just be throwing in a some unnecessary information

). I use host headers because I host several websites and as a result the
http://localhost addresses will not work for the PHPBB stuff. Do I need to change something during the MySQL setup to point to the actual address for the forums rather than localhost?
I'd be very certain that would be your trouble spot. Unfortunately I've never set up a system like you appear to have it, so don't know what to suggest. But I would certainly focus the troubleshooting on that.
"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.
- Anonymous
- Bot


- Joined: 25 Feb 2008
- Posts: ?
- Loc: Ozzuland
- Status: Online
- Rich_Bailey77
- Newbie


- Joined: Feb 07, 2008
- Posts: 8
- Status: Offline
I'm not making much progress with MySQL. Would you have any advice for using MSSQL Server 2000+ via ODBC since that says available?
- ATNO/TW
- Super Moderator


- Joined: May 28, 2003
- Posts: 23404
- Loc: Woodbridge VA
- Status: Offline
You can use php with MSSQL Server, but I've never done it, so really have no advice. You might want to start a new separate thread if you'd like to try that approach.
"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.
- Leshincorp
- Born


- Joined: Feb 23, 2008
- Posts: 1
- Status: Offline
Hello.
I followed the tute. But I am unable to pull up the info.php.
I have done everything in the posts. Tried reinstalling php and mysql and still it is not pulling a page, not from localhost, nor from xxx.xxx.xxx.xxx/info.php
Any ideas why this could be?
Also. I have uninstalled php and mysql 20 times. Have uninstalled the IIS service 3 times. Still I can not view the php page. I can't even view the localhost default page. I have went into properties and assigned it, its Static IP address, still I can not view it LAN or Public. I was able to get prompt for the un/pw, nothing worked for that either. Now it gives me a error 400 Bad Request.
I am sure I have muckeled something up, but I am unsure as to what. Lol
The php version I am installing is 5.25
The mySQl version I am installing is 5.0.51
I am installing it on Server 2003.
Thanks
Lesh
- yomi
- Graduate


- Joined: Apr 02, 2008
- Posts: 117
- Loc: Nigeria
- Status: Offline
hi
have a new challenge today! mysql db is connecting fine but i have this error.
ERROR 1064 (42000): You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right
syntax to use near '' at line
i had to enter the cmd env to test my query cos my php pages were just working like links. i know my php is ok cos i call pages with functions. i can select from my db tables but cant update or insert.
what can i do?
- ATNO/TW
- Super Moderator


- Joined: May 28, 2003
- Posts: 23404
- Loc: Woodbridge VA
- Status: Offline
"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.
- ATNO/TW
- Super Moderator


- Joined: May 28, 2003
- Posts: 23404
- Loc: Woodbridge VA
- Status: Offline
I'm locking this thread as read only, primarily because the tutorial is a bit outdated. I'll be revising it soon and adding the updated version to the Tutorial section.
If you've followed the tutorial and still have problems that you need to ask about, please create a new Post in this Programming section and we'll help you there.
"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.
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: No registered users and 114 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