Re: apache + php3 + php4 + extensions working simultaneously
| From: | Philip M. Gollucci | Date: | Fri, 01 Dec 2000 21:26:18 +0000 |
| Subject: | Re: apache + php3 + php4 + extensions working simultaneously | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-28294@lists.php.net to get a copy of this message | ||
I have versioning running on FBSD
FreeBSD p6m7g82k.student.umd.edu
4.1-RELEASE FreeBSD 4.1-RELEASE #1: Tue Oct 24 13:26:47 EST 2000
root@p6m7g82k.student.umd.edu:/usr/src/sys/compile/PHILIP i386
*****************************************************************************
Philip M. Gollucci (p6m7g8)
Web-site : http://www.p6m7g8.com
E-mail : gollucci@wam.umd.edu
Philip@p6m7g8.com
Phone : 301.249.6261 (Home)
301.314.3118 (College)
Major : Computer Science
Electrical Engineering
Minor : Classical & Jazz Performance
Current Job : Science, Discovery, & the Universe Webmaster
URL: http://www.sdu.umd.edu
Resume : http://www.wam.umd.edu/~gollucci/resume.html
*****************************************************************************
On Thu, 30 Nov 2000, Evelio Martinez wrote:
> Hi!
>
> I have installed apache 1.3.12 and php 4.0.3.pl1 on RH 6.2
>
> I am new in the php world.
>
> How can I make a .php3 extension to be interpreted as a .php extension ?
>
> Do I have to modify apache conf, php conf or both ?
>
> I have made some test with the AddType directive, but they didn't work.
>
> I have taken a look to the php install file and I have followed the
> steps suggested below (***)
> (configure , make , make install ), but still the same result.
>
> If I add the commented line in httpd.conf file, apache issues a
> download window instead of
> executing the php3 script.
>
> <IfModule mod_php4.c>
> AddType application/x-httpd-php4 .php
> # AddType application/x-httpd-php4 .php3
> AddType application/x-httpd-php .php
> </IfModule>
>
> (***)
> USING PHP 3 AND PHP 4 AS CONCURRENT APACHE MODULES
>
> Recent operating systems provide the ability to perform versioning
> and
> scoping. This features make it possible to let PHP 3 and PHP 4 run as
>
> concurrent modules in one Apache server.
>
> This feature is known to work on the following platforms:
>
> - Linux with recent binutils (binutils 2.9.1.0.25 tested)
> - Solaris 2.5 or better
> - FreeBSD (3.2, 4.0 tested)
>
> To enable it, configure PHP 3 and PHP 4 to use APXS (--with-apxs) and
>
> the
> necessary link extensions (--enable-versioning). Otherwise, all
> standard
> installations instructions apply. For example:
>
> $ ./configure \
> --with-apxs=/apache/bin/apxs \
> --enable-versioning \
> --with-mysql \
> --enable-track-vars
>
>
>
> Any help will be appreciated
>
> Thanks in advance
>
> Evelio
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>