|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
Looking for a good manual to set up IIS 6 on Win Server 2003 to host a practice forum(s). Nada here and it's been a loonng time since I've setup IIS to run a website. The sharepoint stuff is beginning to irritate me now I found one on Gallery 2's website, but I'm still running into issues trying to get any .php file to work.
|
|
|
|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
Thank you, that's pretty close to the gallery page, except another site mentioned giving the IUSR and Network Service accounts access to the c:\php folders. Anyway, I am probably missing something simple - I am getting a 500ISE when I access my test.php file which tells me I am close, but not quite; this was better than the 404 I've been getting all day
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
unless you MUST use IIS, i'd suggest installing wamp. it's a 1 click install to get all you need for playing around. i do that for all my test stuff...
|
|
|
|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
I tried wamp for a couple hours today - apache wouldn't stay started and I had disabled IIS, so I'm not sure what the issue was. WAMP docs are pretty thin and what's there is pretty old.
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
WAMP and IIS could be conflicting on ports even if you have the IIS disabled. Not saying that is the case, but possible.
Though something else that could be the cause is that your system basically has some issues.
Check the event viewer for errors, you don't want any errors especially if this is a reasonably new installation.
From DOS Command Prompt run this (assuming you only have a C: drive)
CHKDSK C: /F
When it prompts to run after a reboot say yes and reboot the computer. Then look in your Event Viewer under Applications and look for WinLogon and it should have a report of anything it found wrong on the drive.
Then check and delete all your temporary files on the system.
C:\WINDOWS\TEMP (delete everything in here)
Del all the files in here as well
C:\Documents and Settings\your logon id\Local Settings\Temp
Then reboot your computer one more time and start the PHPBuilder FAQ from the start.
Don't forget setting up a system variable for PHP (a must, it's in the FAQ)
Make sure that IIS_WPG and IUSR_COMPUTERNAME has rights for reading in PHP/MySQL/ and C:\WINDOWS\TEMP folders. Will probably also need to allow Modify for one of them in the %temp% folder.
That should get it going for you. If not let me know.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I've found WAMP to be a waste of time, give UniformServer a shot if you can't get IIS to play well.
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
wamp works fine for those who know how it works.
i guess i assumed Allen wasn't going to run wamp + iis, which means they scramble to fight over port 80.
i find that uniformserver is a waste of my time.
but who knows.. diff strokes.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
US let me pretty much copy items straight from my apache config, WAMP was wonky with the settings... So I call it a win on the US part
|
|
|
|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
Thanks for the info ntd - I'll give it a shot tomorrow. I've set most of those settings except for the IIS_WPG and running chkdsk (it's a brand-new server tho and event logs have been squeaky clean even after multiple re-boots today). I'll give it a shot tomorrow anyways Once ironed-out, this should be a decent resource for those in the same situation. I've run wamp before and it worked fine, but IIS wasn't installed on it (was an xp pro system, which I imagine most wamp installs are).
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
WAMP will run perfectly fine on Server 2003 as well but you need to change the port used for Apache so it will run alongside IIS but that would be custom config and WAMP is pretty much click and install so could be a bit of a pain to find the right config options to change if not familiar with it.
I thought I asked before if anyone wanted a full start to finish document on this but got no response so never made one. Most users don't have FULL control of Server 2003 I suppose.
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
it's a 1 liner in httpd.conf
or a one clicker (after filling out a text box) in iis.
i guess that could be considered difficult.
|
|
|
|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
Apparently it's too difficult for them to put in some sort of documentation... the docs that are there are still talking about php4 and apache 1.something...
|
|
|
|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
I thought I asked before if anyone wanted a full start to finish document on this but got no response so never made one. Most users don't have FULL control of Server 2003 I suppose. You did, I remember. At the time I had ran IIS for years and didn't know if I'd ever set one up again... I had the setup for IIS/cgi and perl down but apparently we didn't update it for php A thorough setup of php/mysql and install of threads on IIS would be welcome I'd imagine
|
|
|
|
Joined: Apr 2007
Posts: 3,940 Likes: 1
Former Developer
|
Former Developer
Joined: Apr 2007
Posts: 3,940 Likes: 1 |
what i normally do is simply go into IIS and 'stop' the service. then run wamp. so there really isn't any editing needed. then when i need to go back and use IIS (asn.net / mssql) stuff, i stop wamp and start iis. that way they don't ever fight over port 80. iis is a notorious hog on that port, because it listens on all IPs by default vs just localhost or a specific IP. you'd have to do the same for any other web server who wants to run on the standard port 80 too. so it's really whether or not you need both at the same time. in my case they are mutually exclusive as i switch back/forth between the asp.net world into the php world. Good luck ps: ah cool. glad i went over to the wampserver site. they have a new version with new apache2 and php an mysql out. w00t
|
|
|
|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
That's the one I used They're promising a wamp version 2 in a month.
|
|
|
|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
bah, still 500 ise :smash:
I think I'm going to give it a rest for a bit - I've corrected a few errors in the event logs but work kinda slows down around here when I take the 10 minutes needed to reboot the server once an hour. I don't think any of the errors corrected are related to what I've been seeing tho.
|
|
|
|
Joined: Dec 2003
Posts: 20
stranger
|
stranger
Joined: Dec 2003
Posts: 20 |
I've been running Windows servers fore a few yeas now. Here is tutorial I wrote for setting up php. http://adminreports.com/archives/2006/01/23/installing-php/There is also one for mysql and a few others that might be of interest.
|
|
|
|
Joined: Dec 2006
Posts: 1,235
veteran
|
veteran
Joined: Dec 2006
Posts: 1,235 |
Q: Why do you advertise a link to Forum Spider in your signature when you need authorization to view the site?
|
|
|
|
Joined: Dec 2003
Posts: 20
stranger
|
stranger
Joined: Dec 2003
Posts: 20 |
Site is under reconstruction. The core is being rewritten. I forgot I had that site still linked on here. It's changed now.
|
|
|
|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
Thanks Bob, long time no see
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Site is under reconstruction. Powered by vBulletin® Version 3.6.8 Needs to be under reimported to UBB
|
|
|
|
Joined: Dec 2006
Posts: 1,235
veteran
|
veteran
Joined: Dec 2006
Posts: 1,235 |
That's a shame. I was intrigued by the title so went for a peek.
|
|
|
|
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
|
Pooh-Bah
Joined: Dec 2003
Posts: 1,796 |
Confirms I've set it up as requested, but I'm still getting 500 ISE's for my test.php file. Permissions are off somewhere.
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (Napalm),
806
guests, and
165
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|