Wednesday, 7 December 2011

Enabling Various PHP parameters using .htaccess file and php.ini file


allow_url_fopen
To enable this PHP parameter, you can add the following in the .htaccess file.
============
php_value allow_url_fopen On 
============


Or you can add the following in the php.ini file.
=============
allow_url_fopen = On
=============
allow_url_include
To enable this PHP parameter, you can add the following in the .htaccess file.
============
php_flag allow_url_include On
============

Or you can add the following in the php.ini file.
============
allow_url_include = On
============

max_execution_time
To set this PHP parameter, you can add the following in the .htaccess file (the time is mentioned in seconds, I mean it is 200 seconds).
============
php_value max_execution_time 200
============

2 comments:

web hosting said...

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting.

Dhanasekaran N said...

Thank you for your comment :)

We are really very happy to see this comment. We are still improving our blog by posting new posts. So, please keep on visting our blog and provide your valuable feedback to us.