Control Web Panel
WebPanel => Apache => Topic started by: n8v8r on February 14, 2018, 06:15:42 PM
-
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?
-
seems that cwp-httpd is loading PHP not as module but through this exec as being compiled with php tied in
usr/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 ???