RE: Suhosin, open_basedir restriction, sentora temp folder
06-16-2015, 10:07 AM
(This post was last modified: 06-16-2015, 10:08 AM by apinto.)
I think there is some confusion here.
Changing php_admin_value_open_basedir will ONLY allow you to execute php files on "/var/sentora/hostdata/X/temp/".
Code:
This will NOT CHANGE the temp folder.
You need to know which folder does PHPExcel uses as temp and add that to the php_admin_value open_basedir.
Ideally you should change the script to use the default PHP tempo folder to avoid editing the open_basedir entry.
I've searched for your issue and it is related to PHPExcel and not Sentora/PHP, so you should NOT try to change the server configuration to fit the script (specially considering the server is well configured for security).
- First of all verify if you are using PHPExcel 1.8, there are multiple issues with 1.7 and some of them are related to the temp folder.
The most complete post I've saw about your issue is https://christinedeffaixremy.wordpress.c..._temp_dir/ sadly it is in french, however you should be able to understand.
Good luck
Changing php_admin_value_open_basedir will ONLY allow you to execute php files on "/var/sentora/hostdata/X/temp/".
Code:
Code:
php_admin_value open_basedir "/var/sentora/hostdata/zadmin/public_html/domain_tld:/var/sentora/hostdata/X/temp/"
This will NOT CHANGE the temp folder.
You need to know which folder does PHPExcel uses as temp and add that to the php_admin_value open_basedir.
Ideally you should change the script to use the default PHP tempo folder to avoid editing the open_basedir entry.
I've searched for your issue and it is related to PHPExcel and not Sentora/PHP, so you should NOT try to change the server configuration to fit the script (specially considering the server is well configured for security).
- First of all verify if you are using PHPExcel 1.8, there are multiple issues with 1.7 and some of them are related to the temp folder.
The most complete post I've saw about your issue is https://christinedeffaixremy.wordpress.c..._temp_dir/ sadly it is in french, however you should be able to understand.
Good luck
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora
Graphic and Web Design. Development.
www.vanguardly.com
[Module] Mail Quota Count | Vagrant Box with Sentora
Graphic and Web Design. Development.
www.vanguardly.com