Introducing Quests: Tailored gamification & bridging in-person events with your community Mike Gitkos 15 hours ago15 hr
Posted March 5, 20169 yr So I'm a super n00b with web admin, but plodding along and hopefully not mucking it up too much. My open_basedir is set in /etc/php5/apache2/php.ini to the directory that ips is installed in, which is /home/user/domain.tld/. IPS is the only thing on my VPS. If I ever wanted to host another site on this VPS, would it be a good idea to move the open_basedir setting into my httpd.ini file (or another file tied to my domain)? I'm on ubuntu, and my apache virtual hosts have been set up in a domain.tld file at /etc/apache2/sites-available/. This file has my <VirtualHost> ... </VirtualHost> settings for my domain. Thoughts on how I should be doing this? Edited March 5, 20169 yr by Morgin
March 6, 20169 yr If you're gonna use multiple sites, with differents folders, you should set open_basedir in the domaine.tld file in /etc/apache2/sites-available. Doing so will set this PHP settings only for domain.tld, and allows you to set differents open_basedir.
March 7, 20169 yr Author On 3/6/2016 at 9:50 AM, Camille Ollier said: If you're gonna use multiple sites, with differents folders, you should set open_basedir in the domaine.tld file in /etc/apache2/sites-available. Doing so will set this PHP settings only for domain.tld, and allows you to set differents open_basedir. Do you know the syntax for doing this?
March 17, 20169 yr Check the PHP doc, everything you may want is in it : <Directory /docroot> php_admin_value open_basedir /docroot </Directory> Edited March 17, 20169 yr by Camille Ollier
Archived
This topic is now archived and is closed to further replies.