On Thu, Jun 01, 2000 at 11:19:22PM +0200, Bjarne Hansen wrote:
> From: "Bjarne Hansen" <[EMAIL PROTECTED]>
> To: "FreeTrade" <[EMAIL PROTECTED]>
> Subject: [FreeTrade] PHP 4 Install 
> Date: Thu, 1 Jun 2000 23:19:22 +0200
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 5.00.2615.200
> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
> Reply-To: "FreeTrade" <[EMAIL PROTECTED]>
> Precedence: Bulk
> List-Software: LetterRip Pro 3.0.7 by Fog City Software, Inc.
> List-Subscribe: <mailto:[EMAIL PROTECTED]>
> List-Digest: <mailto:[EMAIL PROTECTED]>
> List-Unsubscribe: <mailto:[EMAIL PROTECTED]>
> 
> Hi!
> 
> Now that PHP 4.0 is released, I want to install it on my Linux box. But I can not 
>find any instructions for install anywhere, the manual at php.net does not look 
>updatet yet. 
debian has a php4-rc1 deb package that i installed last night.  For redhat,
rpmfind.net lists a php4 rpm, but doesn't provide a link; i assume they've fix
that soon (if anyone else knows of php4 rpms, please provide a link, i'd like
to get it installed at work).  For installing from source, there should be
release notes/install instructions in the tarball (i haven't looked).
> 
> Will it work the same way as PHP 3 ?
it's backwards compatible, for the most part.  In apache's httpd.conf and 
mime.types, i just had to change the included library:
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
and left the mime.types as:
application/x-httpd-php       phtml pht php
application/x-httpd-php3      php3
application/x-httpd-php3-source     phps
application/x-httpd-php3-preprocessed     php3p

As long as the extension of your php4 scripts are .php, this should work fine.
If you've got scripts w/ .php3 extensions, you may want to lose the x-http-php3
type and add the extension to x-httpd-php.

(note: this is debian's way of doing types; normally in apache, you'd do
something like: AddType application/x-httpd-php .php3 .phtml .php)


> 
> Does anyone have a URL to a updated install HOW-TO or simular?
> 
> Anyone tryed to use the Roxen webserver with PHP4?
> 
> Thanks!
> 
> Bjarne Hansen
> 
> 
> 
> 
> 
> Bjarne Hansen
> 
> 
> 
> ------------------------------------------------------------
> To subscribe:    [EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Site:            http://www.working-dogs.com/freetrade/
> Problems?:       [EMAIL PROTECTED]
> 


------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to