Tell me more ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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.

share|improve this question
I think this is more of a question for serverfault.com. Does this answer help? serverfault.com/questions/334028/… Running apache as nobody may not be possible though. – paulmorriss Aug 16 '12 at 13:38

closed as off topic by Su', Anagio, paulmorriss Aug 23 '12 at 15:05

Questions on Webmasters Stack Exchange are expected to relate to webmastering within the scope defined in the FAQ. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about closed questions here.

Browse other questions tagged or ask your own question.