Articles on: cPanel Tutorial

How to modify PHP Value in cPanel

  1. Please login to your cPanel -> Select PHP Version






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






  1. 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


  1. Click on Save


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


  1. 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:






  1. Click Apply then click "Save".

Updated on: 04/12/2018

Was this article helpful?

Share your feedback

Cancel

Thank you!