Re: Upgrading PHP 4.3.1 to PHP 4.3.4
| From: | Chris Hewitt | Date: | Fri, 26 Mar 2004 08:38:09 +0000 |
| Subject: | Re: Upgrading PHP 4.3.1 to PHP 4.3.4 | ||
| References: | 1 2 3 4 5 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-13070@lists.php.net to get a copy of this message | ||
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" <g0pae@manordat.demon.co.uk> To: "MJ" <php@cyberia.net.sa>; <php-install@lists.php.net> Sent: Thursday, March 25, 2004 11:09 AM Subject: Re: [PHP-INSTALL] Upgrading PHP 4.3.1 to PHP 4.3.4HTH ChrisMJ wrote:minuteHi Chris, Many thanks for your prompt response. I was getting 10 messages in anottherefore 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 willlatersend any more messge. Actually upgrade linux is not possible immediately. I can work on itsoon. Phpinfo.php is giving this info. Can you you tell me an start pointthat i can start to upgrade. MJ PHP Version 4.3.1As 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.System Linux dwb 2.2.16-22smp #1 SMP Tue Aug 22 16:39:21 EDT 2000i686Build 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