Remap and php

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

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?


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).