Re: 'God' has spoken... :-)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
In a message dated 8/14/2005 2:42:49 A.M. Central Standard Time,  
rasmus@xxxxxxxxxxx writes:

It's  rather trivial to test it.  Set up a second Apache server with  php5
loaded that listens to port 81 or some other port and point it at  the
same document_root.  Then you can switch back and forth by just  changing
the port number in the URL.

Or, if you, or your  application, doesn't like having :81 in the url
everywhere, you can set up  a VirtualHost on your port 80 server just
like you set up virtualhosts for  anything else and in it add a ProxyPass
to port 81.  Like  this:

<VirtualHost *>
ServerName  name1.yourdomain.com
DocumentRoot /var/www/html
... other standard  config lines...
</VirtualHost>

<VirtualHost  *>
ServerName name2.yourdomain.com
DocumentRoot  /var/www/html
ProxyPass /  http://name2.yourdomain.com:81/
</VirtualHost>

In your  httpd81.conf or whatever you call it you have your regular
VirtualHost  block for the name2.yourdomain.com.  The only real
difference is that  at the top you have a "Listen 81" line instead of
"Listen  80".




What about XAMPP? It has a "switch" button that you can switch from PHP 4  to 
5 really easy?
 
Just a thought... It's what I use.
 
_http://apachefriends.org/en/_ (http://apachefriends.org/en/)  
 
Features: "Apache HTTPD 2.0.54, MySQL 4.1.12, PHP 5.0.4 + 4.3.11 + PEAR  + 
Switch, MiniPerl 5.8.6, Openssl 0.9.7g, PHPMyAdmin 2.6.2-pl1, XAMPP Control  
Panel 1.0, eAccelerator 0.9.3, Webalizer 2.01-10, Mercury Mail Transport System  
für Win32 und NetWare Systems v4.01a, FileZilla FTP Server 0.9.8a, SQLite  
2.8.15, ADODB 4.63, Zend Optimizer 2.5.7, XAMPP Security. For Windows 98, 2000,  
XP."
 
- Clint

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux