New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

cwp-httpd - where is the directive to load cwp-php located?

Started by n8v8r, February 14, 2018, 06:15:42 PM

Previous topic - Next topic

n8v8r

Having this directive does not work apparently since cwp-php is installed/loaded on the cwp-httpd

# Cannot load both php5 and php7 modules
<IfModule !mod_php5.c>
  <IfModule prefork.c>
    LoadModule php7_module modules/libphp71.so
  </IfModule>
</IfModule>


Looked into the httpd.conf files but there is no cwp-php module being mentioned, neither in any php.ini. What directive is used to load cwp-php and where is the directive located?

n8v8r

seems that cwp-httpd is loading PHP not as module but through this exec as being compiled with php tied in
Quoteusr/local/bin/php-config
prefix="/usr/local"
datarootdir="/usr/local/php"
exec_prefix="${prefix}"
version="5.6.30"
vernum="50630"
include_dir="${prefix}/include/php"
includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib"


What directive could be used to load another PHP version instead  ???