Skip to content
This repository has been archived by the owner on Jun 10, 2019. It is now read-only.

.htaccess and mod_php

Ivan Weiler edited this page Feb 5, 2018 · 1 revision

If you are using mod_php (quite common on development localhosts), remember to edit your .htaccess file, because settings under

<IfModule mod_php5.c>

will not be set. You can leave that block in case of reverting to PHP 5, but add something like this for php7:

<IfModule mod_php7.c>
    php_value memory_limit 256M
    php_value max_execution_time 18000
    php_flag session.auto_start off
</IfModule>
Clone this wiki locally