Announcement

Collapse
No announcement yet.

How to change the PHP variable from the cPanel?

Collapse

Unconfigured Ad Widget

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to change the PHP variable from the cPanel?

    WordPress Hosting on SSD Servers
    How to change the PHP variable from the cPanel? Can anyone help me to figure out it?

  • #2
    • Manually via php.ini file


    You can apply custom PHP settings on a per-folder basis using a php.ini file.

    For example, if you need register_globals set to Off in a particular directory, you should create a php.ini file in that directory using file manager in cPanel. The php.ini file should contain:

    register_globals = off

    Naturally, if you'd like register_globals turned On you should specify:

    register_globals = on








    Offshore Hosting
    Bulletproof Hosting

    Comment


    • #3
      ASP.Net Hosting starts @ $3.18/Mo.
      Hello,

      You can change the PHP variable from the PHP.ini file in the file manager from the cPanel. Also, you can change the PHP variable from the .htaccess file.
      Or
      Please refer to the following steps in order to change the PHP variable from the cPanel.

      1. Login to cPanel
      2. Click on the "select PHP version" option under the 'Software' section.
      3. Click on the right corner option "switch to PHP option"
      4. change the PHP variable as per your requirement.
      5. After changing the PHP variable, you will need to save this changing.

      Regards,
      Marc

      Comment

      Working...
      X

      Sign up for a News Letter Click here to sign up