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.

No, you're not. I tried to build with apxs because that is what the phpinfo
file calls on --with-apxs2=/usr/sbin/apxs2-prefork but apxs2-prefork doesn't
exist there or within the apache2 directory structure. I ended up using
--with-httpd2=/usr/sbin/httpd2 because thats the closest I found. It also had
--without-cli in the phpinfo so that's what I used in the new configuration. 

Perhaps that is the problem?

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

Only one version installed on the server.

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