[suPHP] Problems running PHP scripts with suPHP

Jeremy Chadwick suphp at jdc.parodius.com
Mon Oct 30 22:10:50 CET 2006


Does Apache's ErrorLog show anything?

-- 
| Jeremy Chadwick                                 jdc at parodius.com |
| Parodius Networking                        http://www.parodius.com/ |
| UNIX Systems Administrator                   Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP: 4BD6C0CB |

On Mon, Oct 30, 2006 at 03:11:51PM -0500, Tom Ray wrote:
> I'm rather new to suPHP using it for the first time actually and I'm running
> into some issues. I was able to install suphp-0.6.1 and seem to have it
> running but when I load a simple test.php page that is just supposed to
> print "Hello World" and I just get a blank page. My suphp_log tells me that
> I executed the script as the user and the group it's supposed to run under,
> but I can't get anything to happen with the php script. I have a second test
> script that is supposed to create a new file in a test directory and that
> doesn't run right either.
> 
> Now if I remove all the calls to suPHP out of my conf files PHP runs great
> but as the webserver user which is not what I want.
> 
> This is what I have in my httpd.conf for Apache 2.0.59 with PHP 4.4.4
> 
> LoadModule suphp_module        modules/mod_suphp.so
> 
> <IfModule mod_suphp.c>
>        AddHandler x-httpd-php .php
>        AddType application/x-httpd-php .php
>        suPHP_Engine on
>        suPHP_ConfigPath /usr/local/vps/gdn/php/lib/php.ini
>        suPHP_AddHandler x-httpd-php
> </IfModule>
> 
> 
> In my VHost config I just have the one line of:
> 
> suPHP_UserGroup user group
> 
> 
> Any help would be appreciated.

> _______________________________________________
> suPHP mailing list
> suPHP at lists.marsching.biz
> http://lists.marsching.biz/mailman/listinfo/suphp




More information about the suPHP mailing list