remap and php

remap and php

Posted by: Vendetta
Posted on: 2007-09-03 14:42:00

I created a new user and i have added a remap directory where this person can work with his php script, the problem is php scripts doesn't work in this folder. why ? I tried to switch from php5 to php4 but i have the same problem

Re: remap and php

Posted by: sdayman
Posted on: 2007-09-03 15:13:00

It looks like you took the proper step to switch to PHP4. More info, please.

What are your scripts supposed to do? What makes you think they're not working?

-Scott

Re: remap and php

Posted by: rlparker
Posted on: 2007-09-03 15:53:00

In reply to:

I created a new user and i have added a remap directory where this person can work with his php script, the problem is php scripts doesn't work in this folder. why ?


This happens because of DH use of suexec, PHP-CGI running as a designated user, and basic *nix file permissions.

This is covered "once over lightly" in the DH wiki article on remapping a sub-dir.

You might consider trying to run mod_php if you want to execute php scripts from within this directory (see this information - read *all* the comments for instructions on how to run mod_php).

--rlparker

Tags: php scriptsphp scriptphp5php4