Hi,
As per the phpinfo.php the  original installation was with  "./configure'
'--with-mysql=/usr/local/' '--with-config-file-path=/web/conf'
'--with-apache=../apache_1.3.27/' '--enable-track-vars' , now adding new
thing "--with-apxs" will not effect the exiting sites? As I have several
live sites running on this server.

Many Thanks,
MJ
----- Original Message ----- 
From: "Chris Hewitt" <[EMAIL PROTECTED]>
To: "MJ" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 26, 2004 11:38 AM
Subject: Re: [PHP-INSTALL] Upgrading PHP 4.3.1 to PHP 4.3.4


> My post at the bottom:
> MJ wrote:
>
> >Dear Chris,
> >I did httpd -l and it shows "mod_so.c". Now I just need to install PHP
4.3.4
> >as a normal new fresh install ( './configure' '--with-mysql=/usr/local/'
> >'--with-config-file-path=/web/conf' '--with-apache=../apache_1.3.27/'
> >'--enable-track-vars') and that's it , no need to recompile apache and
> >mysql?
> >
> >Many thanks
> >MJ
> >
> >----- Original Message ----- 
> >From: "Chris Hewitt" <[EMAIL PROTECTED]>
> >To: "MJ" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> >Sent: Thursday, March 25, 2004 11:09 AM
> >Subject: Re: [PHP-INSTALL] Upgrading PHP 4.3.1 to PHP 4.3.4
> >
> >
> >>MJ wrote:
> >>
> >>>Hi Chris,
> >>>Many thanks for your prompt response. I was getting 10 messages in a
> >>>
> >minute
> >
> >>>therefore i unsubscribed my address from the list that's why I am
writing
> >>>you to directly, if you don't like this please do let me know and I
will
> >>>
> >not
> >
> >>>send any more messge.
> >>>
> >>>Actually upgrade linux is not possible immediately. I can work on it
> >>>
> >later
> >
> >>>on. Phpinfo.php is giving this info. Can you you tell me an start point
> >>>
> >so
> >
> >>>that i can start to upgrade.
> >>>MJ
> >>>PHP Version 4.3.1
> >>>
> >>>     System  Linux dwb 2.2.16-22smp #1 SMP Tue Aug 22 16:39:21 EDT 2000
> >>>i686
> >>>     Build Date  Apr 9 2003 15:39:04
> >>>     Configure Command  './configure' '--with-mysql=/usr/local/'
> >>>'--with-config-file-path=/web/conf' '--with-apache=../apache_1.3.27/'
> >>>'--enable-track-vars'
> >>>     Server API  Apache
> >>>     Virtual Directory Support  disabled
> >>>     Configuration File (php.ini) Path  /web/conf/php.ini
> >>>     PHP API  20020918
> >>>     PHP Extension  20020429
> >>>     Zend Extension  20021010
> >>>     Debug Build  no
> >>>     Thread Safety  disabled
> >>>     Registered PHP Streams  php, http, ftp
> >>>
> >>As you are not using apxs (look in the php manual for this) it looks
> >>like your installation is not an Apache DSO module but compiled into
> >>Apache itself. If you use the same configure command for PHP then you
> >>will need to recompile Apache too. My experience with php begins with
> >>RH7.2 but the above does not look like a normal RH installation of PHP.
> >>
> >>If you do a "httpd -l" (that is the letter "l") as root and it shows
> >>"mod_so.c" then Apache is compiled to use modules and you could chose to
> >>compile PHP as a module. If it does not then you will need to recompile
> >>Apache.
> >>
> >>Regards
> >>
> >>Chris
> >>
> As Apache has mod_so.c it means that Apache can use modules (so there is
> no need to recompile Apache). In order to get PHP to compile as a
> module, you need to compile it with  "--with-apxs"  or "--with-apxs2"
> for Apache 2. You will need the path to apxs. Look in the manual for the
> exact configuration options or do "./configure --help". "locate apxs"
> should tell you where apxs is located.
>
> HTH
> Chris
>

Reply via email to