Jump to content

Recommended Posts

Posted (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 edit

Change <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 by ziad87

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...