This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Apache / [PHP7] AddHandler support
« on: March 22, 2016, 06:57:03 PM »
Hey
CWP version: 0.9.8.11
Page: /index.php?module=php_selector
I have "PHP 7.x Installed" at "/opt/alt/php7/usr/bin"
but
I'm trying to set php7 as default. Adding:
Thanks in advance for help!
CWP version: 0.9.8.11
Page: /index.php?module=php_selector
I have "PHP 7.x Installed" at "/opt/alt/php7/usr/bin"
Code: [Select]
# /opt/alt/php7/usr/bin/php -r "echo phpversion();"
7.1.0-dev
but
Code: [Select]
# php -r "echo phpversion();"
5.4.45
I'm trying to set php7 as default. Adding:
Quote
AddHandler application/x-httpd-php7 .phpto .htaccess doesnt work - still "5.4" on page. What is the best way to replace PHP to 7 ?
Thanks in advance for help!
Pages: [1]