View Single Post
  #1  
Old 2nd April 2013, 16:24
SnakeX91 SnakeX91 is offline
Junior Member
 
Join Date: Mar 2013
Posts: 5
Thanks: 1
Thanked 1 Time in 1 Post
Default Wrong TMP folder in user-specific php.ini

Hello everyone!

I've got another question to answer...

When i set up a website (SuPHP+suEXEC), ISPConfig create an /var/www/conf/web{WEB_ID}/php.ini that contains the php configuration for web{WEB_ID}. But when I try to upload a file in each way (via CMS or self-made upload script), i get an open_basedir restriction, 'cause /var/tmp/ is not in the list of the open_basedir. In fact in php.ini i find /var/tmp/ as temporary folder for uploads.

Now, I know how is foolish to disable open_basedir for security reasons, but i think that ISPConfig has to set /var/clients/client{client_id}/web{web_id}/tmp/ as tmp folder for upload and NOT /var/tmp/. How can i get out of this?
Reply With Quote
Sponsored Links