cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
estieg
Former Employee

How To Increase PHP Limits When Uploading WordPress Themes - Tutorial

According to LuvTheWebs, who recommends;

 

  • Create a text file on your PC and paste this in it:
    • memory_limit = 128M
    • upload_max_filesize = 100M
    • post_max_size = 128M

 

  • If you are using cPanel, name the file php.ini.  If you're using one of the older Classic Hosting Linux servers, call the file php5.ini.
  • Upload the file to the root directory of your hosting plan.  For cPanel, that would be public_html.  For the older servers, it's just the main / folder.

 

  • Give it a couple of hours since it has to wait for the server to do a soft reset after you make changes.  If you have cPanel, go to the PHP processes area and kill the processes.  After that will will recognize the new php.ini file immediately. Otherwise, like I said, wait a couple of hours.”

 

FrankA added,

  • Log in to Web Hosting > cPanel
  • Go to software and select "Select PHP version" to arrive at a page that list the PHP extensions
  • In the upper right corner, select "Switch to PHP options"
  • Here you can change most of the settings that users want to change.
If I answered your question, please mark it as the solution or give it a "Kudo"