PDA

View Full Version : Customizing vhost.conf and reconfiguring apache?


licendrivr
8th June 2006, 10:40 AM
I need to set PHP for open_basedir none.

I understand this has to be done in vhost.conf, however I did not know the format of the file if all I need to change is that one line for the domain & subdomains. So I copied httpd.include to vhost.conf and just changed the open_basedir to none. Is that okay?

Furthermore, I read in the manual that I have to run
/usr/local/psa/admin/sbin/my_apci_rst -v -a
in order to reconfig apache, however, my_apci_rst is not in the location, and actually not on my machine anywhere. Instead, I logged back into PLESK and turned PHP safe mode on, then back off, in order to have PLESK reconfig apache... No luck - I still get the open_basedir restriction...

Any ideas?

ALGORYTHM
9th June 2006, 05:17 AM
might help

http://66.249.93.104/search?q=cache:NyLStdRQqgUJ:www.gadberry.com/aaron/2006/02/09/plesk_vhost/+&hl=en&gl=uk&ct=clnk&cd=1