What is php.ini ?

The php.ini file is a special file for phpSuExec (pronounced php-soo-ec-sec).

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 phone 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 phpSuExec:

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

 

Was this answer helpful?

 Print this Article

Also Read

How do I get different character sets to display in HTML?

Many web browsers display Western Character Encoding (ISO-8859-1) by default. This means that...

What is phpSuExec?

phpSuExec (pronounced sue-eksek) is a more secure environment for PHP. All of our shared servers...

Fix for Filezilla Failing to Retrieve Directory Listing

Windows Server FTP issue Filezilla uses Passive Mode by default. It seems you are having...

I ordered an SSL or static IP and now my site is down.

When you order a SSL we assign a static IP to your account. A static IP is required for...

Do I use localhost or remotemysqlhost for my mysql connection ?

You can view whether your account is using localhost or remotemysql host in your cPanel...