Add "phar" to suhosin.executor.include.whitelist in php.ini*.
#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


Messages In This Thread
RE: Add "phar" to suhosin.executor.include.whitelist in php.ini*. - by TGates - 10-22-2017, 06:41 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)