Justtechjobs.com Find a programming school near you






Online Campus Both


php-install | 2004032

Re: [PHP-INSTALL] Upgrading PHP 4.3.1 to PHP 4.3.4 From: Chris Hewitt (g0pae <email protected>)
Date: 03/27/04

MJ wrote:

>HI Chris,
>Is it possible to switch now from Static to Dynamic Mode? in this case
>installation of PHP with apxs will be enough or in any case I need to
>recompile Apache. I have gone through several sites and now I assumes that
>even I am running PHP in static mode, once I will upgrade PHP with apxs it
>will be configured as dynamic and no changes will be required to apache. am
>I right?
>
>Thanks for your continuous help
>
>MJ
>
Yes, as you have mod_so there it is. You then do not need to recompile
Apache httpd. You will need to put the resulting php compiled module
(libphp4.so) into the right directory and edit your httpd.conf file to
get httpd to parse php files.

If you look in httpd.conf for LoadModule lines you can see where your
httpd server expects modules to be. In the INSTALL file in your php
source directory are instructions for adding the AddType, LoadModule and
AddModule lines as necessary. Note this is slightly different if you
have an Apache httpd V2 rather than V1.3.x version. The archives of this
list will also have this explained (several times I would think).

Regards

Chris