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

HTTP Error 500 - Internal server error

Internal Server Error help, 500 error Internal server errors can be caused by a few different...

How do I limit what the search engines can index ?

Various search engines such as Google have what are called 'spiders' or 'robots' continually...

custom php.ini

PHP Selector allows customer to edit php.ini settings. Admin has a full control over which...

How do I perform a trace route?

Traceroute (tracert) works by sending a packet to an open UDP port on a destination machine. For...

What is the meaning of owner, group, and everyone in the permissions panel?

- Owner defines the permissions set for your main FTP account. - Group defines permissions valid...