Re: [PHP] Question about Safe Mode

2005-01-31 Thread Marek Kilimajer
Rick Root wrote: I have a little home made CMS that writes files... on the server I've recently installed this CMS on, those files get written as apache:apache ... that file uses include to include other files that are not owned by "apache", and this doesn't work. Warning: main(): SAFE MODE Restr

RE: [PHP] Question about Safe Mode

2005-01-31 Thread Jay Blanchard
[snip] So... how do I work around this? Can I get php to write the files so they aren't owned by "apache" but rather thwn owner of the php script that creates them? [/snip] PHP scripts run by the HTTP server are run as the web server. The web server runs as 'Apache', so Apache needs permissions

[PHP] Question about Safe Mode

2005-01-31 Thread Rick Root
I have a little home made CMS that writes files... on the server I've recently installed this CMS on, those files get written as apache:apache ... that file uses include to include other files that are not owned by "apache", and this doesn't work. Warning: main(): SAFE MODE Restriction in effect. T