Domain Lookup & Registration


www.  


WEBHOSTING.AM - THE HOST YOU CAN TRUST

Portal Home > Knowledgebase > General > What is php.ini?


What is php.ini?




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 by sending a support ticket request. 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



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Order Blocked for Fraud! (Views: 2430)
Application Paths (Views: 6606)
Software Versions (Views: 5901)
What is Web Hosting? (Views: 1411)

Powered by WHMCompleteSolution


Language:
 
© 2008-2012 WebHosting.am