I am trying to create a sample Symfony2 project as shown here http://symfony.com/doc/current/quick_tour/the_big_picture.html
and after accessing config.php I have the following:
Major problems have been detected and must be fixed before continuing: Add "phar" to suhosin.executor.include.whitelist in php.ini*.
I added the following:
suhosin.executor.include.whitelist="phar"
in php.ini, but config.php still shows the same message.
1) Check that you have edited the correct php.ini, usually the PHP installation contains several php.ini (one for CGI, one for CLI, one for APACHE2). Take a look /etc/php5, for example.
/etc/php5
2) Check in phpinfo () that the parameter is taken in the account.
3) : [Solved] symfony 2 : "phar" suhosin.executor.include.whitelist php.ini *.
,
sudo apt-get install php5-suhosin
.
, , skonsoft , , suhosin, "phar" php.ini OR conf.d/suhosin.ini
, libxml2
.libxml2., /vendor/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php libxml2-2.6.22. 2.8.0 - PHP , libxml2., -!
libxml2.
, /vendor/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php libxml2-2.6.22. 2.8.0 - PHP , libxml2.
, -!
Debian 6
, :
/etc/init.d/php-fcgi-vhost-name restart
suhosin php,
cli suhosin.ini, php.ini, debian, :/etc/php5/cli/conf.d/suhosin.ini
cPanel. :
suhosin cPanel script/scripts/phpextensionmgr PHPSuHosin;/scripts/phpextensionmgr install PHPSuHosin
, -
find . -name \*.gcno -o -name \*.gcda | xargs rm -f find . -name \*.lo -o -name \*.o | xargs rm -f find . -name \*.la -o -name \*.a | xargs rm -f find . -name \*.so | xargs rm -f find. -name .libs -a -type d | xargs rm -rf find. -name \ *. 1 | xargs rm -f rm -f libphp.la modules / * libs / * SuHosin extension, version suhosin-0.9.36, activated for php version 5.4
suhosin.executor.include.whitelist = "phar"
It must be fixed .. !!!