0

I'm currently installing Xibo for a few soon to be customers, but in the installation i need to provide a storage path for all files etc. I have Xibo running NGINX on Debian Wheezy.

it needs to write to: /xibo/storage. How could i achieve this?

djkevino
  • 264
  • 2
  • 16

1 Answers1

0

The user that the PHP-FPM pool runs as should have write permission in that directory, and that directory should be in the open_basedir variable of PHP's configuration file.

Finally you should check out stop people uploading malicious PHP files via forms and risks of a PHP image upload form before writing your upload form.

Community
  • 1
  • 1
  • Please do NOT use or link to that site. It reports lot of wrong information, refer to [w3fools](http://www.w3fools.com/) there you can find links to some really great tutorials. Again: do not use w 3 s c h o o l s! – Antonio E. Aug 26 '13 at 12:59
  • Is it also possible in my Vhost files?? – djkevino Aug 26 '13 at 13:08
  • Vhost or not should'nt matter here, as long as the Nginx user can write there and that PHP's open_basedir doesn't restrict access to that directory. –  Aug 26 '13 at 13:10