[users@httpd] PHP4 and PHP5 concurrently on Apache2 using virtualhosts(2)

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

 



Hi

Got php4 installed and running on apache2. After installing a second
apache2 server for PHP5 and trying to redirect it to the second server
is still picking up th php4 settings.
The ProxyPass is working and prior to installing PHP5 I can display the
htdocs Apache page from the 2nd Apache installation. However after
installing php5 it, apache still uses the original httpd.conf file. Why?

First srvr:
/usr/local/apache2 (./configure --enable-proxy --enable-proxy-http)
php4 - ./configure --with-apxs2=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql-standard-4.0.24-pc-linux-gnu-i686/bin/mysql_config

httpd.conf
Listen 80
Listen 8080

NameVirtualHost *:8080

<VirtualHost *:8080>
ServerRoot /usr/local/apache2_php5
ProxyPass /php5/ http://localhost:8080/
</VirtualHost>



Second srvr:
/usr/local/apache2_php5 (./configure --prefix=/usr/local/apache2_php5)
php5 - ./configure --with-apxs2=/usr/local/apache2_php5/bin/apxs
--with-mysqli=/usr/local/mysql-standard-4.1.11-pc-linux-gnu-i686/bin/mysql_config

httpd.conf
Listen 8080

If anyone has any advice, I look forward to hearing from you.
Thanx
Verna

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux