I get this error.
Some settings on your machine make Composer unable to work properly. Make sure that you fix the issues listed below and run this script again:
The suhosin.executor.include.whitelist setting is incorrect.
Add the following to the end of your php.ini or suhosin.ini (Example path [for Debian]: /etc/php5/cli/conf.d/suhosin.ini):
suhosin.executor.include.whitelist = phar
The php.ini used by your command-line PHP is: /etc/php5/cli/php.ini
If you can not modify the ini file, you can also run php -d option=value to modify ini values on the fly. You can use -d multiple times.
I tried modifying the php.ini file to no success.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
hello,
I am facing some prob to install prestashop
Add “phar” to suhosin.executor.include.whitelist in php.ini*.
I am using Sentora panel I also change it in php.ini but found same prob.
please help me
thanks.
Okay I got it whew, unfortunately I had to be the one to face this issue, it would have been cool if it were more common so the tutorial on installing composer covered it. Incase someone else comes across this the error explanation does fix it follow it! <br> <br>I ran this <br> <br>//Dont forget to run nano and where it the tutorial for composer we go here nano /etc/php5/fpm/php.ini <br>//to fix the error we must go nano /etc/php5/cli/php.ini note the cli in the path. <br> <br>nano /etc/php5/cli/php.ini <br> <br>at the end of this file, but before ; END; <br>add the following below <br> <br>suhosin.executor.include.whitelist = phar <br> <br>Notes: I am using puTTY and when editing files ^ means ctrl, so scrolling down to the bottom is faster using ctrl + V. Saving is ctrl + X then hit y for yes, then enter. <br>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.