CyberTek - the future at the present!
Google

Override php.ini

Posted by: admin (Mar 1)

For anyone using the coupled apache + php (to add even linux and mysql) you can make an override parameter in php.ini (if allowed by 'server administrator) by simply adding the path where there is a php script we want to change the parameters of a php.ini file. htaccess. In this file, whose functions are multiple, we must add the parameters of our interest through the php_value directive.

Example files. Htaccess with php_value dirrettive:

php_value memory_limit 64M
php_value post_max_size 16M
php_value upload_max_filesize 16M
php_value max_execution_time 360

Published in: opensource, tips

Add A Comment

Powered by CyberTek - Remote Assistance