NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP5 upgrade and suPHP ?

Rob Marscher rmarscher at beaffinitive.com
Mon Jan 14 14:32:12 EST 2008


On Jan 12, 2008, at 12:48 AM, mikesz at qualityadvantages.com wrote:
> I have a client who has been upgraded to PHP5 and the ISP has also
> implemented suPHP in the process. The core application that my client
> is using had/has a write requirement on certain folders that do things
> like temporary image creation and document generation/storage as well
> as a cache that stores profiles settings.  Well, as you might have
> already guessed, everything broke that had folders set to 777. I got
> Server 500 errors on most of the folders that were set to 777 and an
> error about the Directory being writable by group.


Mike,

There should be a config file for suPHP.  For me, it's located at /usr/ 
local/etc/suphp.conf.  This file has a number of security settings.   
These are most closely tied to your problem:

; Security options
allow_file_group_writeable=true
allow_file_others_writeable=true
allow_directory_group_writeable=true
allow_directory_others_writeable=true

Let me know if you still have trouble after they change these  
settings.  It might require a webserver reboot... can't remember.

-Rob





More information about the talk mailing list