A client I'm doing some PHP work for has a virtual private server set up to host his website. The server admin has made every folder starting from root be non-group-writable and owned by nobody:nobody, which includes the folder containing my PHP scripts. This leads to problems when I try to execute the scripts, mainly:
SoftException in Application.cpp:422: Mismatch between target UID (99) and UID (32017) of file "/serv/website/www/test.php", referer: http://website.com/test.html
Is there a way to tell PHP to accept and execute scripts as any user/group? I figured there would be a way to do this by possibly adding an exception to the .htaccess file, modifying the PHP.ini, or maybe in the Apache configuration? We're currently using Apache 2.2.19 and CentOS 5.8. Any help is appreciated, I'm not to familiar with server administration.