<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">
<TITLE>File uploads and PHP settings</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Like other people I want to upload files with a CMS.<BR>
Unfortunately it isn't possible to do this, because the user "apache" doesn't got the right permissions.<BR>
Even when I chmod the directory and files as 777.<BR>
<BR>
I've read the other mailings that concerns this problem, but it doesn't offer a solution that I like.<BR>
<BR>
Because we're the only users on the server I think it's safe to turn PHP safemode off.<BR>
Maybe this solves the upload problem.<BR>
<BR>
php.net:<BR>
When safe mode is enabled, PHP checks whether the files or directories being operated upon have the same UID (owner) as the script that is being executed.<BR>
<BR>
So I turned safemode off for a virtual side, via "Services/PHP".<BR>
But when I run a PHPinfo() script, it says safemode still is on.<BR>
How can I edit the PHP setting so it really changes the PHP settings?<BR>
<BR>
As a desperate measure I tried to turn safemod off in the server management, but then the whole webservice gone down...<BR>
When the server was accessible again (through the GUI), all the sites where down.<BR>
Then I switched safemode back on, and all the websites worked again.<BR>
<BR>
how can I fix this problem?<BR>
<BR>
Ps. I'm running all sites in preview mode at this time</FONT>
</P>
</BODY>
</HTML>