Discussion:
PHP7 Config Files
(too old to reply)
issinoho
2020-08-20 16:55:05 UTC
Permalink
Hi,

Trying to set up the PHP7 kit from the berrymans site with CSWS and although the readme tells you where to put all the binaries it doesn't tell you how to wire things together in the config files. This is a vanilla install.

No guidance on httpd.conf and no sign of a MOD_PHP.CONF file in the kit.

Can anyone help please?

VSI AXPVMS VMS V8.4-2L1
VSI AXPVMS SSL111 V1.1-1GB
VSI AXPVMS CSWS V2.4-38D

TIA
issinoho
2020-08-21 09:45:53 UTC
Permalink
Post by issinoho
Hi,
Trying to set up the PHP7 kit from the berrymans site with CSWS and although the readme tells you where to put all the binaries it doesn't tell you how to wire things together in the config files. This is a vanilla install.
No guidance on httpd.conf and no sign of a MOD_PHP.CONF file in the kit.
Can anyone help please?
VSI AXPVMS VMS V8.4-2L1
VSI AXPVMS SSL111 V1.1-1GB
VSI AXPVMS CSWS V2.4-38D
TIA
Asked and answered. Here is the mod_php.conf magic sauce...

LoadModule php7_module modules/mod_php_apache-2_0.exe
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
Alias /php/ "/apache$root/php/scripts/"

And in httpd.conf...

Include /apache$root/conf/mod_php.conf

Loading...