[ale] PHP help
Yu, Jerry
jerry.yu at Voicecom.com
Thu Sep 18 16:58:53 EDT 2003
the dir should be 777, instead of 666, unless '666' is simply your shorthand
meaning you have all directories/files up-for-grab-for-all.
btw, in case youi are not from the unix/linux world, the execution bit on a
directory allows you to traverse it.
-----Original Message-----
From: Mazukna, Thomas [mailto:Thomas.Mazukna at delta.com]
Sent: Thursday, September 18, 2003 11:19 AM
To: Atlanta Linux Enthusiasts
Subject: RE: [ale] PHP help
all directories and files are 666 all the way to the root.
Owned by same user as apache is running. php is apache module not cgi.
I just added "AllowOverride", but then took it out. same problem.
looks like rebooting apache caused the problem.
I updated this debian box yesterday.
I just did a search for this problem on google.
I am seeing a lot of live sites having this problem.
must be a bug in something .....
open for suggestions
thanks,
Tomas
-----Original Message-----
From: F. Grant Robertson [mailto:f.g.robertson at alexiongroup.com]
Sent: Thursday, September 18, 2003 11:11 AM
To: Atlanta Linux Enthusiasts
Subject: RE: [ale] PHP help
Without knowing what you did to httpd.conf, it's hard to say but.. This
seems like a permissions or ownership problem. Php should run as the same
user apache is configured to run as, and if that user doesn't have rights to
read the file (or the directory) then, the opening of includes will fail.
what are the flags and ownership of 'start.php'?
-G
-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org]On Behalf Of
Mazukna, Thomas
Sent: Thursday, September 18, 2003 10:49 AM
To: ale at ale.org
Subject: [ale] PHP help
hi, I am started getting
Warning: main(inc/start.php): failed to open stream: Permission denied in
/web/solutionsquare/index.php on line 2
Fatal error: main(): Failed opening required 'inc/start.php'
(include_path='.') in /web/solutionsquare/index.php on line 2
after minor apache conf tweak and reboot.
looks like php problem to me... anybody knows what is going on?
thanks,
Tomas
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.509 / Virus Database: 306 - Release Date: 8/12/2003
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ale
mailing list