How to change different PHP options

Changing different PHP options can be very easy task to do through cPanel. After you log in control pane, choose “Select PHP version”:


After that click on “Switch to PHP Options”. This page will allow you to define all options for you applications.

Example configuration:

allow_url_fopen On
display_errors On
error_reporting E_ALL
file_uploads On
include_path .:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php
log_errors On
mail.force_extra_parameters no value
max_execution_time 120
max_input_time -1
memory_limit 128M
open_basedir no value
post_max_size 128M
session.save_path /tmp
short_open_tag On
upload_max_filesize 128M

Tags: ,

Comments are closed.