Re: PHP Upgrade Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05.03.2006 at 16:46:21, Eric Butera <digital.tarsier@xxxxxxxxx> wrote:

> On 5/3/06, Tom Ray <lists@xxxxxxxxxxxxxxxx> wrote:
> >
> > Hey all-
> >
> > I'm running a SuSE 9.1 box that was built from the RPMs from the CD with
> > Apache2.0 and PHP 4.3.4. I've made modifications to the server over the
> > last
> > year without using the CD's and justing installing from the source.
> > However, I
> > just installed PHP 4.4.2 and I used all the same path calls as the build
> > of
> > 4.3.4 and it seems to have upgraded without an issue.
> >
> > When I type /usr/bin/php -v I get the following:
> > PHP 4.4.2 (cgi) (built: May  3 2006 16:34:27)
> > Copyright (c) 1997-2006 The PHP Group
> > Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
> >
> > However, when I restart the web server and I run my phpinfo() script, I
> am
> > still seeing the 4.3.4 build information.
> >
> > Did I miss something with this? I've updated other servers but they were
> > all
> > built using source only, no rpms...
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> > Just a stab in the dark, but are you sure you built it the way you
> meant?
> Your php says cgi.  Did you mean to compile as cgi or with apxs?  That
> might
> be the problem.  But I could be very wrong.  Appologies if I am.

Ok so I can't find apxs on the server at all, even though the 4.3.4 phpinfo
claims to have been configured with --with-apxs2=/usr/sbin/apxs2-prefork. I did
some search via google and I reconfigured using --enable-cli and --disable-cgi
but I still had to use --with-apache2=/usr/sbin/httpd2 because I need to have
that correct? Since all the builds I done with PHP call on a Apache source in
some way. It still compiled with it's SAPI choice being cgi then I ran 'make
install-cli' and now when I do a /usr/bin/php -v I get:

PHP 4.4.2 (cli) (built: May  3 2006 18:36:11)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

But when I restart apache I'm still seeing 4.3.4 in the phpinfo() information.
I've even restarted the server with no luck.

Can someone tell me what I missing? It seems SuSE compiled PHP with the
--disable-session call in the configuration and we need Sessions enable to
support Zencart and phpOpenChat for some clients.


> Another thing to consider is if you built it, you could easily have
> different versions installed on the machine.  Issuing a locate /bin/php
> might prove that or not.
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux