Thanks, here is the steps what I have done , and in the end sucked. Please
have a look and advise.
----------------------------------------------------------------------------
-----------------------------
# httpd -l

Compiled-in modules:
  http_core.c
  mod_so.c
suexec: disabled; invalid wrapper /usr/sbin/suexec


# find / -name apxs -print

/usr/local/etc/httpd/bin/apxs

#./configure --with-mysql=/usr/local/ --with-config-file-path=/web/conf/ --w
ith-apxs=/usr/local/etc/httpd/bin/apxs  --enable-track-vars

Sorry, I was not able to successfully run APXS.  Possible reasons:

1.  Perl is not installed;
2.  Apache was not compiled with DSO support (--enable-module=so);
3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
The output of /usr/local/etc/httpd/bin/apxs follows
apxs:Error: Sorry, no DSO support for Apache available
apxs:Error: under your platform. Make sure the Apache
apxs:Error: module mod_so is compiled into your server
apxs:Error: binary `/usr/local/etc/httpd/bin/httpd'.
configure: error: Aborting
----------------------------------------------------------------------------
---

I don't know Apache was compiled with DSO support or no but when I run
"httpd -l", output shown "mod_so.c" is included in the list. Perl is also
available.
In case Apache was not compiled with DSO who can I recomile it now without
effecting my all virtual hosts (live customers sites).

Many Thanks.
MJ.
----- Original Message ----- 
From: "Chris Hewitt" <[EMAIL PROTECTED]>
To: "MJ" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, March 27, 2004 9:44 PM
Subject: Re: [PHP-INSTALL] Upgrading PHP 4.3.1 to PHP 4.3.4


> 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
>

Reply via email to