Elliott_Veares
New Pleskian
Hi all and welcome to my first post. I recently upgraded php to php 5.5.15 with this script:
https://gist.github.com/Stayallive/92e841e7dd89c8509c15/download#
and in that script at the bottom a php fast-cgi handler was added with the following code.
However I also want to enable php 5.5.15 as an apache module; how would I do this?
Also if relevent: /usr/local/psa/admin/sbin/php_handlers_control --list shows:
Any help much appreciated,
Regards: Elliott.
https://gist.github.com/Stayallive/92e841e7dd89c8509c15/download#
and in that script at the bottom a php fast-cgi handler was added with the following code.
Code:
/usr/local/psa/bin/php_handler \
--add \
-displayname "5.5.15" \
-path /php/php-5.5.15/bin/php \
-phpini /php/php-5.5.15/etc/php.ini \
-type module \
-id "module-5.5.15"
However I also want to enable php 5.5.15 as an apache module; how would I do this?
Also if relevent: /usr/local/psa/admin/sbin/php_handlers_control --list shows:
Code:
id: display name: version: type: cgi-bin: php.ini:
module 5.4.33 5.4.33 module /usr/bin/php-cgi /etc/php.ini
fastcgi 5.4.33 5.4.33 fastcgi /usr/bin/php-cgi /etc/php.ini
cgi 5.4.33 5.4.33 cgi /usr/bin/php-cgi /etc/php.ini
fastcgi-5.5.15 5.5.15 5.5.15 fastcgi /php/php-5.5.15/bin/php-cgi /php/php-5.5.15/etc/php.ini
Any help much appreciated,
Regards: Elliott.