Multiple paths in open_basedir

It is possible to separate paths with a colon when setting open_basedir folders.

This is useful to give access to the /tmp folder, which many CMS and frameworks use per default to store temporary files such as uploads.


php_admin_value     open_basedir /var/www/html/


1 thought on “Multiple paths in open_basedir

  1. Pingback: 解决Wordpress上传图片遇Missing a temporary folder.问题 – 一路同鑫

Leave a Reply

Your email address will not be published. Required fields are marked *

Markdown is allowed in comments.