Issue resolved: Configuration line: # ./configure --prefix=/usr --sysconfdir=/etc --with-apr=/usr/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
Was reading through some of the documentation about installs of APXS and APR being in the incorrect locations. Did some more double checking and found that the config path that was set as default for APR was /usr/sbin/apr-1-config. Ran a search and came across the correct location (/usr/bin/apr-1-config). Re-ran configuration, make, make install. Now Apache starts with no issue and recognizes the module and commands in the virtualhost configuration. There were also some necessary SELinux changes to allow the web server to read/write files to itself (In the case of updating plugins for Wordpress): SELinux boolean to allow Apache to write files when using php-cgi: # setsebool -P httpd_unified=1 On Fri, Sep 25, 2015 at 2:12 PM, David Biers <[email protected]> wrote: > I should mention as well that as far as I know, the configuration is > correct as well and the flag occurs within the <Directory> Tag; Just double > checking at this point as I am at a stand still. > > 1 <VirtualHost 192.168.150.11:80> > 2 RewriteEngine on > 3 RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) > 4 RewriteRule .* - [F] > 5 ServerName domain.com > 6 ServerAlias www.domain.com > 7 ServerAdmin [email protected] > 8 DocumentRoot /var/www/vhosts/domain.com/public_html > 9 ErrorLog /var/log/httpd/domain.com-error_log > 10 CustomLog /var/log/httpd/domain.com-access_log combined > 11 > 12 <Directory /var/www/vhosts/domain.com/public_html> > 13 suPHP_Engine on > 14 suPHP_UserGroup myusergrp myusergrp > 15 AddHandler x-httpd-php .php .php3 .php4 .php5 > 16 suPHP_AddHandler x-httpd-php > 17 php_admin_value open_basedir "/var/www/vhosts/domain.com: > /usr/lib/php:/usr/local/lib/php:/var/lib/php/session:/tmp" > 18 DirectoryIndex index.php > 19 AllowOverride All > 20 </Directory> > 21 </VirtualHost> > > On Fri, Sep 25, 2015 at 1:52 PM, David Biers <[email protected] > > wrote: > >> >> On Fri, Sep 25, 2015 at 11:20 AM, Ricardo J. Barberis < >> [email protected]> wrote: >> >> since it usually means you forgot to load the module. >> >> >> Exactly why I subscribed to this list in the first place. I was hoping >> someone has run into this before but was unable to find reference of it >> anywhere after all the google-fu I've tried. >> >> The only place I see php5 module being loaded is under conf.modules.d in >> the '10-php.conf' file. Commenting this out and restarting apache results >> in a fail as it does not understand some of the vhost PHP flags. >> >> -- >> >> *David Biers* >> >> Systems Administrator >> >> *ProfitBricks, Inc.* >> 15900 La Cantera Pkwy Ste. 19210 San Antonio, TX 78256 >> Support: 1-866-936-0764 >> Support Ticket: [email protected] >> > > > > -- > > *David Biers* > > Systems Administrator > > *ProfitBricks, Inc.* > 15900 La Cantera Pkwy Ste. 19210 San Antonio, TX 78256 > Support: 1-866-936-0764 > Support Ticket: [email protected] > -- *David Biers* Systems Administrator *ProfitBricks, Inc.* 15900 La Cantera Pkwy Ste. 19210 San Antonio, TX 78256 Support: 1-866-936-0764 Support Ticket: [email protected]
_______________________________________________ suPHP mailing list [email protected] https://lists.marsching.com/mailman/listinfo/suphp
