PHP settings that cannot be changed

Shared, reseller and SEO hosting are shared environments and have certain limits on what you can change, in order to maintain the stability of the server.

 Dedicated server and VPS customers may change all the settings in the php.ini file and do not have the same limits as shared, reseller or SEO Hosting.

Shared, Reseller and SEO Hosting

PHP has been configured to use the following settings on our shared and reseller servers:

safe mode = Off (cannot adjust)
memory_limit = 256M (MAXIMUM)
max_execution_time = 30 (MAXIMUM in seconds)
max_input_time = 60 (MAXIMUM in seconds)
post_max_size = 64M (MAXIMUM)
upload_max_filesize = 64M (MAXIMUM)
enable_dl = Off (cannot adjust)

The above settings either CANNOT be changed or cannot be exceeded on a shared and reseller account. These limits are set to prevent extremely high resource usage in shared environments. We have found that a majority of the PHP scripts will work within these limits, and the scripts that require more resources are best suited for a VPS or dedicated server.

Dedicated Servers and VPS

Dedicated servers and VPS can change and raise these settings to any value desired.

Dedicated Server and VPS customers with WHM access can change the limit by going to WHM > Service Configuration > PHP Configuration Editor.

Important Note: Although you have the ability to change the settings on a dedicated server or VPS to anything you want, an incorrectly configured server will perform poorly or even crash. Unless you have specific reasons to change the PHP settings, it is recommended that you leave them at the default settings or use the recommended settings for the script or application you are using.

Settings You Can Change

We also set the following:

register_globals = On
magic_quotes_gpc = Off

These two settings, and any other PHP settings not aforementioned, can be changed using a custom php.ini.file located in the same folder as the script that requires the settings.

NOTE: Microhosting cannot know why you want nor need to change these settings. You are changing this at the advice of your web designer or the developer of your script. Microhosting can only show you where to make the change.
  • 0 Los Usuarios han Encontrado Esto Útil
¿Fue útil la respuesta?

Artículos Relacionados

How to Connect to the MySQL Database

Note: If connecting from your home computer, you need a MySQL client like Navicat,...

How to log into cPanel

cPanel is used for managing your web hosting account and available on all Microhosting Linux...

Please read before creating an Addon Domain

About addon domainsAddon Domains are handled like subdomains as far as the server is concerned,...

How to generate/download a full backup

A full backup is a backup of all of your files, e-mail, databases, etc. To run a full backup, you...

How to change the password of your cPanel account

There may be times where you would like to change the password of your account. It is...