You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 20, 2020. It is now read-only.
Server: ClearOS 7.5 with Apache/2.4.6 (CentOS).
-Installed PHP-Engines and enabled 5.6 and 7.1 in Server|Web|PHP Engines
-Set in Server|Web|Web Server Enable PHP to Enabled and PHP Engine to PHP 7.1
This resulted in a .phpenv file in the webroot /var/www/html with content 71
and a new directive in flex-80.conf:
<Directory /var/www/html>
<FilesMatch .php$>
SetHandler "proxy:fcgi://127.0.0.1:9071"
-Ran phpinfo() in webroot, got confirmation that PHP 7.1 is being used.
-Changed content of .phpenv to 56 and restarted httpd, but phpinfo() still shows 7.1
Same result after server reboot.
-Checked php_engines_path.conf: SetEnv PATH /usr/clearos/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
-Executed /usr/clearos/bin/php with remarks in front of echo lines removed.
results correct: directories /var/www/html /var/www /var / and content of .phpenv '56'
Any suggestions?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Server: ClearOS 7.5 with Apache/2.4.6 (CentOS).
-Installed PHP-Engines and enabled 5.6 and 7.1 in Server|Web|PHP Engines
-Set in Server|Web|Web Server Enable PHP to Enabled and PHP Engine to PHP 7.1
This resulted in a .phpenv file in the webroot /var/www/html with content 71
and a new directive in flex-80.conf:
<Directory /var/www/html>
<FilesMatch .php$>
SetHandler "proxy:fcgi://127.0.0.1:9071"
-Ran phpinfo() in webroot, got confirmation that PHP 7.1 is being used.
-Changed content of .phpenv to 56 and restarted httpd, but phpinfo() still shows 7.1
Same result after server reboot.
-Checked php_engines_path.conf: SetEnv PATH /usr/clearos/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
-Executed /usr/clearos/bin/php with remarks in front of echo lines removed.
results correct: directories /var/www/html /var/www /var / and content of .phpenv '56'
Any suggestions?
The text was updated successfully, but these errors were encountered: