This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Add "phar" to suhosin.executor.include.whitelist in php.ini*.
#1
Add "phar" to suhosin.executor.include.whitelist in php.ini*.
Hello,

please help me how I can Add "phar" to suhosin.executor.include.whitelist in php.ini*. for installation Prestashop.

if any other information need please inform me

thanks
Reply
Thanks given by:
#2
RE: Add "phar" to suhosin.executor.include.whitelist in php.ini*.
'phar' is not in the blacklist. Maybe Me.B has an idea Wink

Maybe add it as a custom vhost entry for that domain:

Code:
php_admin_value suhosin.executor.func.whitelist "phar"
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
#3
RE: Add "phar" to suhosin.executor.include.whitelist in php.ini*.
phar is outside openbase_dir as it's a binaries and won't execute that way unless you add it.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#4
RE: Add "phar" to suhosin.executor.include.whitelist in php.ini*.
(10-22-2017, 04:58 AM)Me.B Wrote: phar is outside openbase_dir as it's a binaries and won't execute that way unless you add it.

M B

Ahh, ok. So it is openbase_dir restricted and not suhosin?

For testing only, you can disable openbase_dir for that domain and once you have it set up you can add a custom vhost entry for that domain to allow access to phar.
Something like:

Code:
php_admin_value open_basedir "/path/to/phar/"
If that does not work, you will have to add it to the end of the database entry for openbase_dir in the x_settings table.
Although all sites will be able to access phar doing that.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Suhosin-NG!!! A Snuffleupagus Fork. What's next? Jettaman 2 4 ,733 12-14-2023, 11:06 PM
Last Post: v8web
suhosin update JWTech 3 11 ,173 02-17-2015, 09:06 PM
Last Post: Me.B

Forum Jump:


Users browsing this thread: 1 Guest(s)