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
#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
#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

200$ free to start your VPS 60 days credit
Reply
#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


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

Forum Jump:


Users browsing this thread: 1 Guest(s)