Difference between revisions of "PHP Settings"

From XMission Wiki
Jump to: navigation, search
(Created page with "== Editing your PHP Settings == Editing your PHP Settings is the best way to ensure your website stays secure and compatible with today's equipment. Our shared hosting platfo...")
 
(Plesk Shared Hosting: Editing your PHP Settings)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Editing your PHP Settings ==
+
= Plesk Shared Hosting: Editing your PHP Settings =
  
Editing your PHP Settings is the best way to ensure your website stays secure and compatible with today's equipment. Our shared hosting platform lets you change your PHP Version and settings real time.
+
Editing your PHP Settings is the best way to ensure your website stays secure and compatible with today's equipment. Our shared hosting platform lets you change your PHP Version and settings real time. Many of the common settings changes can be made here. If you need additional help with PHP settings not listed on this page, feel free to reach out to our 24/7 [https://xmission.com/contact tech support.]
  
First, ensure you are logged into your account at https://hosting.xmission.com.  
+
First, ensure you are logged into your account at the [https://hosting.xmission.com Shared Hosting login page.]
  
*From the Control Panel, click on the "Domains & Websites" tab near the top of the screen.
+
*From the Control Panel, click on the "'''Domains & Websites'''" tab near the top of the screen.
 
[[File:Plesk_tabs_new.png]]
 
[[File:Plesk_tabs_new.png]]
  
  
*In the middle column, click the button labeled "PHP Settings."  
+
*In the main dashboard under '''Dev Tools''' choose  "'''PHP Settings'''."  
[[File:Plesk_PHP_Versions.png]]
+
[[File:PleskPHPsettings-1.png|600px]]
 +
 
  
 
*From the PHP Support drop-down you'll be able to see what versions of PHP your server supports.
 
*From the PHP Support drop-down you'll be able to see what versions of PHP your server supports.
[[File:PHP_Support_Versions.png]]
+
[[File:PleskPHPsettings-2.png|600px]]
 +
 
 +
*You can choose the following PHP versions
 +
[[File:PleskPHPsettings-3.png]]
 +
<blockquote style="background-color: lightblue; border: solid thin grey;">'''PHP Versions older than 7.0 are no longer supported and should not be used, server support may change for outdated php versions.'''</blockquote>
 +
*Once you select the version of PHP you wish to use, simply click "'''OK'''" at the bottom of the screen. Your settings will apply with in 1-15 minutes.
 +
 
 +
 
 +
* Performance and Security Settings
 +
[[File:PleskPHPsettings-4.png|600px]]
 +
* '''memory_limit''' - The maximum amount of memory in bytes a script is allowed to allocate.
 +
* '''max_execution_time''' - The maximum time in seconds a script is allowed to run before it is terminated, this is in seconds
 +
* '''max_input_time''' - The maximum time in seconds a script is allowed to parse input data, this is in seconds
 +
* '''post_max_size''' - The maximum size in bytes of data that can be posted with the POST method. Typically, should be larger than upload_max_filesize and smaller than memory_limit.
 +
* '''upload_max_filezize''' - The maximum size in bytes of an uploaded file. Change this if your files are larger than 2MB
  
*Once you select the version of PHP you wish to use, simply click "OK" at the bottom of the screen.
 
  
Your settings will apply with in 1-15 minutes.
 
  
  

Latest revision as of 09:47, 8 December 2022

Plesk Shared Hosting: Editing your PHP Settings

Editing your PHP Settings is the best way to ensure your website stays secure and compatible with today's equipment. Our shared hosting platform lets you change your PHP Version and settings real time. Many of the common settings changes can be made here. If you need additional help with PHP settings not listed on this page, feel free to reach out to our 24/7 tech support.

First, ensure you are logged into your account at the Shared Hosting login page.

  • From the Control Panel, click on the "Domains & Websites" tab near the top of the screen.

Plesk tabs new.png


  • In the main dashboard under Dev Tools choose "PHP Settings."

PleskPHPsettings-1.png


  • From the PHP Support drop-down you'll be able to see what versions of PHP your server supports.

PleskPHPsettings-2.png

  • You can choose the following PHP versions

PleskPHPsettings-3.png

PHP Versions older than 7.0 are no longer supported and should not be used, server support may change for outdated php versions.
  • Once you select the version of PHP you wish to use, simply click "OK" at the bottom of the screen. Your settings will apply with in 1-15 minutes.


  • Performance and Security Settings

PleskPHPsettings-4.png

  • memory_limit - The maximum amount of memory in bytes a script is allowed to allocate.
  • max_execution_time - The maximum time in seconds a script is allowed to run before it is terminated, this is in seconds
  • max_input_time - The maximum time in seconds a script is allowed to parse input data, this is in seconds
  • post_max_size - The maximum size in bytes of data that can be posted with the POST method. Typically, should be larger than upload_max_filesize and smaller than memory_limit.
  • upload_max_filezize - The maximum size in bytes of an uploaded file. Change this if your files are larger than 2MB



Additional Development Help

Applications

Domain Management