dressdoc Posted May 19, 2018 Posted May 19, 2018 I am trying to change my php version in MultiPHP Manager, but it's not working. I am trying to apply php 7.2
ziad87 Posted May 19, 2018 Posted May 19, 2018 (edited) Is it on tommy? If so, tommy has this bug where multiphp is broken. Try changing it from the domain's .htaccess and change it to ea-php72 # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php56” package as the default “PHP” programming language. <IfModule mime_module> AddType application/x-httpd-ea-php56 .php .php5 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit # BEGIN cPanel-generated php ini directives, do not edit # Manual editing of this file may result in unexpected behavior. # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor) # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI) <IfModule php5_module> php_flag asp_tags Off php_flag display_errors On php_value max_execution_time 30 php_value max_input_time 60 php_value max_input_vars 1000 php_value memory_limit 256M php_value session.gc_maxlifetime 1440 php_value session.save_path "/var/cpanel/php/sessions/ea-php56" php_value upload_max_filesize 32M </IfModule> # END cPanel-generated php ini directives, do not editChange <IfModule php5_module> to <IfModule php7_module>If it does not work, try flipping the order of the handler and PHP directives. Please note that this method is not supported by Heliohost.Heliohost does not support .user.ini and this may cause bugs.Ignore the do not edit at your own risk. Hope this helps Edited May 19, 2018 by ziad87
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now