Page 1 of 1

Apache settings incorrect?

Posted: Fri Apr 09, 2004 1:44 pm
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.

Posted: Fri Apr 09, 2004 2:54 pm
by Deemo
make sure the chmods allow executing by all

Posted: Fri Apr 09, 2004 7:05 pm
by phice
It's on a windows machine. I don't think windows has CHMOD?

Posted: Fri Apr 09, 2004 7:14 pm
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.

Posted: Fri Apr 09, 2004 7:15 pm
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?

Posted: Fri Apr 09, 2004 7:39 pm
by feyd
additional control can be done with http.conf, yes. It depends on the permissions of the user account.

Posted: Fri Apr 09, 2004 7:46 pm
by phice
What user account? Through apache or windows? I'm always on administrator through windows.

Posted: Fri Apr 09, 2004 7:51 pm
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.

Posted: Fri Apr 09, 2004 11:02 pm
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.

Posted: Fri Apr 09, 2004 11:33 pm
by feyd
hehe wee!