What is php.ini

The php.ini file is a special file for suPHP (pronounced sue-p-h-p).

The php.ini file is where you declare changes to your PHP settings. You can edit the existing php.ini, or create a new text file in any subdirectory and name it php.ini.

If you need a php.ini file for your account, please contact us via support ticket or live chat. We are glad to create a replete file for you.

Some common changes that you must make when moving from non-secure php environment to suPHP:

For example, if your site had these settings in a .htaccess file:

php_flag upload_max_filesize 10M
php_value post_max_size 10M
php_value max_execution_time 30


SuExec users must put them in a php.ini file instead. Here is the proper syntax:

upload_max_filesize = 10M
post_max_size = 10M
max_execution_time = 30

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

phpSuExec or suPHP

PHPsuExec (pronounced sue-eksek) is a more secure environment for executable files. SuPHP is the...

How to get your php.ini path with SuPHP

.htaccess code Edit your public_html/.htaccess file and enter the appropriate code on a new...

PHP Memory limit error

Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 23456789 bytes)...

How do I clear my browser cache

Each time you access a file through your web browser, the browser caches it (stores it). In...

URL redirect methods, forwarders

Go to cPanel and click Redirects. This is also known as 301 redirect. Search engines, like...