sudo mv /usr/bin/php /usr/bin/php.bak
sudo ln -s /Applications/MAMP/bin/php/php5.x.x/bin/php /usr/bin/php
alias php="php --php-ini /path/to/php.ini"
// Set the default timezone:
php_value date.timezone "Europe/Berlin"
It's not a security hole but a E_WARNING message from php under the hood. Depending on the error_reporting settings you will see this warning with each and every framework out there unless not set. I don't understand though why the previous posted fix doesn't work for you as it is has to.Luco wrote:I mean, why on Earth does Symfony need this changed there? is that meant to exclude shared host users on purpose? wouldn't it be better to address that gaping security hole with the cache folder permissions, since shared host users are a majority anyway?
Users browsing this forum: No registered users and 3 guests