El Jueves 24/09/2015, David Biers escribió:
> Hi All,
>
> I've installed suPHP via source and compiled with the following arguments:
>
> ./configure --prefix=/usr --sysconfdir=/etc --with-apr=/bin/apr-1-config
> --with-apxs=/bin/apxs --with-apache-user=apache --with-setid-mode=paranoid
> --with-php=/bin/php-cgi --with-logfile=/var/log/httpd/suphp_log
> --enable-SUPHP_USE_USERGROUP=yes
>
> I'm having a problem where in-that the "suPHP_UserGroup" directive is still
> not recognized for what ever reason and is preventing apache from starting:
>
> Sep 24 17:55:47 server.domain.com systemd[1]: Starting The Apache HTTP
> Server...
> Sep 24 17:55:47 server.domain.com httpd[46295]: AH00548: NameVirtualHost
> has no effect and will be removed in the next release
> /etc/httpd/conf.d/domain.com.conf:5
> Sep 24 17:55:47 server.domain.com httpd[46295]: AH00526: Syntax error on
> line 15 of /etc/httpd/conf.d/domain.com.conf:
> Sep 24 17:55:47 server.domain.com httpd[46295]: Invalid command
> 'suPHP_UserGroup', perhaps misspelled or defined by a module not included
> in the server configuration
>
> I am unsure of what I am doing wrong as from what I can tell I've
> configured it from source using "paranoid".  The lines specifying UserGroup
> inside my vhosts are within a <Directory /path/to/webroot> tag as well.

Basic question, but since you don't mention it: do you actually have suphp 
loaded in your config?

This 2 lines should be somewhere in your httpd.conf or in some file included 
from it:

LoadModule suphp_module /usr/lib/httpd/mod_suphp.so
suPHP_Engine on

Regards,
-- 
Ricardo J. Barberis
Senior SysAdmin / IT Architect
DonWeb
La Actitud Es Todo
www.DonWeb.com

_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to