Friday, February 10, 2012

Make Your Website as Fast

PHP.ini is generally created somewhere on the web server provider.
You can ask to have your administrator to create or edit a PHP.ini file in your own form if you want.
If you not know where is the php.ini file located. You can execute the phpinfo() function by uploading the file below.
phpinfo();
?>

Save it as phpinfo.php and upload to your Public_html folder.
Visit http://yoursite.com/phpinfo.php for example.
then you will get like below.
Configuration File (php.ini) Path /usr/local/php5/etc
The setting can be done in the case as the following example.
register global variables, display errors, log errors, max uploading size setting.

Below are some commands for example. extend sizes like
upload_max_filesize = 100M.
post_max_size = 100M.
max_execution_time = 1000.
memory_limit = 100M
max_file_uploads =100M
output_buffering = on



1 comment: