Author Topic: cwp-httpd - where is the directive to load cwp-php located?  (Read 308 times)

0 Members and 1 Guest are viewing this topic.

Offline
****
cwp-httpd - where is the directive to load cwp-php located?
« 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

Code: [Select]
# 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?

Offline
****
Re: cwp-httpd - where is the directive to load cwp-php located?
« Reply #1 on: February 16, 2018, 03:26:09 PM »
seems that cwp-httpd is loading PHP not as module but through this exec as being compiled with php tied in
Quote
usr/local/bin/php-config
Code: [Select]
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  ???
« Last Edit: February 16, 2018, 04:20:25 PM by n8v8r »