Re: independent PHP4 on shared Apache?

From: Date: Sun, 09 Sep 2001 00:28:47 +0000
Subject: Re: independent PHP4 on shared Apache?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66560@lists.php.net to get a copy of this message
You can probably do a CGI install and only put the directives in your .htaccess or inside your httpd.conf VirtualHost block. For the Module, there's no way to Load/Unload for different Hosts. You could do the LoadModule and only have the AddType in *your* Host, but the Module itself would be part of Apache, which the ISP may not go for... You can run PHP3 & PHP4 both as modules only if Apache, and both PHP3 and PHP4 were compiled --enable-shared=max or whatever it is. See the end of the PHP4 install instructions for details. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: Chris Hayes <chayes@antenna.nl> Newsgroups: php.general To: <php-general@lists.php.net> Sent: Thursday, September 06, 2001 6:15 PM Subject: independent PHP4 on shared Apache? > hi, > we have an account with an ISP which is not > extremely up to date (PHP3) but we are allowed to > install MySQL. Ourselves. (But not on the default > space, which is a disaster. Luckily there is a very > experienced man, he even used to work for that ISP > doing this for us. :-) Still took him 40 hours) > > Now i was thinking, it is much easier to install > PHP4 (i sincerley hope) on a non default location. > > BUT how can we tell Apache to only for _our_ > account use that PHP4? > > This is how it is set up: > FreeBSD 4.0.1, Apache, > internet dir at usr/local/WWW/www.ourdomain.org/ > mysql at usr/o/ourdomain/mysql > php can be there too like /usr/o/ourdomain.org > i suppose as a CGI. > > Chris > > cheers, > Chris > > > > > --------------------------------------------------- > ----------------- > -- C.Hayes Droevendaal 35 6708 PB Wageningen > the Netherlands -- > --------------------------------------------------- > ----------------- > > >

« previous php.general (#66560) next »