Showing posts with label allow_url_include. Show all posts
Showing posts with label allow_url_include. Show all posts

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
============