Articles on: cPanel Tutorial

How to modify PHP Value in cPanel

Please login to your cPanel -> Select PHP Version






Select your preferred PHP Version -> Click on "Set as Current"






Please make sure these basic PHP Extension are selected

dom
fileinfo
gd
imap
ioncube_loader
json
mbstring
mcrypt
mysql
mysqli
pdo
pdo_mysql
soap
xmlrpc
xsl
zip

Click on Save

Click on "Switch to PHP Options" on the right corner top.

You can set the value there. For example you want to set the upload link to 128M, please set the below value

post_max_size = 128M
upload_max_filesize = 128M

Example:






Click Apply then click "Save".

Updated on: 04/12/2018

Was this article helpful?

Share your feedback

Cancel

Thank you!