Question

in installation Prestashop how to Add "phar" to suhosin.executor.include.whitelist in php.ini*.

Posted October 21, 2017 3.5k views
PHP

Hello,

I want to install Prastashop 1.7 but I am getting message

Add “phar” to suhosin.executor.include.whitelist in php.ini*.

I am using Sentora Panel please help me how I can solve it

Waiting for reply hope someone help me asap.

thanks.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hello,

Suhosin is a protection system for PHP installations. What you could do to fix this error is:

  • Find your php.ini file:
php -i | grep php.ini
  • Then open that file and add the following to the bottom of the file:
extension = suhosin.so
suhosin.executor.include.whitelist="phar"

Regards,
Bobby

Submit an Answer