php-install | 2004032
Date: 03/29/04
- Next message: adam <email protected>: "[PHP-INSTALL] Error (php-install <email protected>)"
- Previous message: marcot <email protected>: "[PHP-INSTALL] Mail Delivery System (php-install <email protected>)"
- Maybe in reply to: MJ: "[PHP-INSTALL] Upgrading PHP 4.3.1 to PHP 4.3.4"
- Next in thread: Chris Hewitt: "Re: Fw: [PHP-INSTALL] Upgrading PHP 4.3.1 to PHP 4.3.4"
- Reply: Chris Hewitt: "Re: Fw: [PHP-INSTALL] Upgrading PHP 4.3.1 to PHP 4.3.4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Please have a look on different output coming from "httpd -l" and
"/usr/local/etc/httpd/bin/httpd -l ".
# httpd -l (it will show mod_so.c)
Compiled-in modules:
http_core.c
mod_so.c
suexec: disabled; invalid wrapper /usr/sbin/suexec
# /usr/local/etc/httpd/bin/httpd -l ((it will NOTshow
mod_so.c))
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_access.c
mod_auth.c
mod_setenvif.c
mod_php4.c
suexec: disabled; invalid wrapper /usr/local/etc/httpd/bin/suexec
Seems, I have to recompile Apache, right? Will it overwrite my
configuration? what files do I need to backup?
Recompile means installation from scratch?
MJ
----- Original Message -----
----- Original Message -----
From: "MJ" <php <email protected>>
To: "Chris Hewitt" <g0pae <email protected>>
Cc: <php-install <email protected>>
Sent: Sunday, March 28, 2004 5:22 PM
Subject: Re: [PHP-INSTALL] Upgrading PHP 4.3.1 to PHP 4.3.4
> 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" <g0pae <email protected>> > To: "MJ" <php <email protected>> > Cc: <php-install <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 > > >
- Next message: adam <email protected>: "[PHP-INSTALL] Error (php-install <email protected>)"
- Previous message: marcot <email protected>: "[PHP-INSTALL] Mail Delivery System (php-install <email protected>)"
- Maybe in reply to: MJ: "[PHP-INSTALL] Upgrading PHP 4.3.1 to PHP 4.3.4"
- Next in thread: Chris Hewitt: "Re: Fw: [PHP-INSTALL] Upgrading PHP 4.3.1 to PHP 4.3.4"
- Reply: Chris Hewitt: "Re: Fw: [PHP-INSTALL] Upgrading PHP 4.3.1 to PHP 4.3.4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

