Re: PHP3 and PHP4 together
| From: | PHP user | Date: | Fri, 08 Dec 2000 10:16:11 +0000 |
| Subject: | Re: PHP3 and PHP4 together | ||
| References: | 1 2 | Groups: | php.migration |
| Request: | Send a blank email to php-migration+get-98@lists.php.net to get a copy of this message | ||
Hi,
I need because i want run phpChat and I dont know why it doesn't run in PHP4. I
have others applications thar was projected for php3 and they run very fine in
php4. But with phpChat no.
Regards,
Jairo
Cópia Pavel Jartsev <papi@digitalfruit.ee>:
> PHP user wrote:
> >
> > Hi all,
> >
> > Can I compile/install php3 and php4 together as apache module ?
> > I'm using:
> > Apache 1.3.14
> > PHP 4.0.3pl1
> > PHP 3.0.15
> > Both PHP's with: ldap, xml, mysql, imap, etc
> >
>
> >From INSTALL file of php-tarball:
> --------------------------
> 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
> --------------------------
>
> It worked this way for me.
>
> But why to use both of php-modules?
> Maybe it's better to use only php4 and force Apache
> to use for .php and .php3 files mod_php4 by this line in httpd.conf:
>
> AddType application/x-httpd-php .php .php3
>
>
>
> Hope this helps.
> :)
>
> --
> Pavel a.k.a. Papi
>