ServerAdmin webmaster@example.com DocumentRoot /srv/www/htdocs/www.example.com/html ServerName www.example.com ErrorLog /var/log/httpd/www.example.com-error CustomLog /var/log/httpd/www.example.com-access_log combined # open_basedir restricted to DocumentRoot, the PHP libraries # and possibly the PHP-tmp directory! php_admin_value open_basedir /srv/www/htdocs/www.example.com:/usr/share/php # additional security provided by individual paths per domain php_admin_value upload_tmp_dir /srv/www/htdocs/www.example.com/tmp php_admin_value session.save_path /srv/www/htdocs/www.example.com/session