Apache settings incorrect?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Apache settings incorrect?

Post by phice »

I spent last night setting up my computer (for the first time) with the latest 1.3.29 apache, php 4.3.5, php 5.0.0RC1, mysql 4 and just about got everything working.

Now, when I go to a php page on my computer with any variables/strings in the url (eg: index.php?page=1), it gives me a 500 Internal Server Error. Is this an error with PHP or with Apache?

Thanks.
Image Image
Deemo
Forum Contributor
Posts: 418
Joined: Sun Jan 18, 2004 11:48 am
Location: Washington DC

Post by Deemo »

make sure the chmods allow executing by all
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

It's on a windows machine. I don't think windows has CHMOD?
Image Image
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

CHMOD type stuff on windows is controlled by the ACL. Your server should have a user or two on your machine... It may need some tweaking of its permissions.
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

This is only on the current computer that I'm using. I thought it only had to be something in the httpd.conf?
Image Image
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

additional control can be done with http.conf, yes. It depends on the permissions of the user account.
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

What user account? Through apache or windows? I'm always on administrator through windows.
Image Image
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

oops, my bad. Apache doesn't run under a user. I must have been thinking of some other one I've used in the past. heh. It's settings would be controlled by http.conf. Sorry about the confusion.
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

I reinstalled PHP through the installer (instead of the non-installer zip) and it works great now (except for the millions of non-global variable errors, which can get quite annoying.
Image Image
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

hehe wee!
Post Reply