Thread: PHP

PHP

From
"Julio Cuz, Jr."
Date:
Hi--

I'm currently running 4.0.4pl1 on RedHat 7.0 and I want to upgrade to PHP 4.2.2....is there anything special I have to do BEFORE or AFTER the install?  Or is it just a straight re-install of PHP on top of the current Version?  THANKS!

Julio Cuz, Jr.
jcuz@rccd.cc.ca.us
Information Services
Riverside Community College

Re: PHP

From
Roj Niyogi
Date:
It depends on whether you are doing a compile from source install or with rpms.  If you are going to compile from
source,you may want to save the configure parameters that you used with 4.0.4pl1.  To do this, put <? phpinfo();
?>in a script and run it through your web browser.  You will the configuration parameters at the top.  <br /><br />
-Roj<br/> pgHoster.com - PostgreSQL Web Hosting<br /><a class="moz-txt-link-freetext"
href="http://www.pghoster.com">http://www.pghoster.com</a><br/><br /> Julio Cuz, Jr. wrote:<br /><blockquote
cite="mid5.1.0.14.0.20020814124525.03700560@mail.rccd.cc.ca.us"type="cite">Hi--<br /><br /> I'm currently running <font
size="3">4.0.4pl1on RedHat 7.0 and I want to upgrade to PHP 4.2.2....is there anything special I have to do BEFORE or
AFTERthe install?  Or is it just a straight re-install of PHP on top of the current Version?  THANKS!<br
/></font><p>JulioCuz, Jr.<br /><a class="moz-txt-link-abbreviated"
href="mailto:jcuz@rccd.cc.ca.us">jcuz@rccd.cc.ca.us</a><br/> Information Services<br /> Riverside Community
College</blockquote>

Re: PHP

From
Chris
Date:
Hi,

There have been a few changes.. Check the changelogs to make sure -

http://www.php.net/ChangeLog-4.php

:)


>It depends on whether you are doing a compile from source install or with
>rpms.  If you are going to compile from source, you may want to save the
>configure parameters that you used with 4.0.4pl1.  To do this, put <?
>phpinfo(); ?> in a script and run it through your web browser.  You will
>the configuration parameters at the top.
>
>-Roj
>pgHoster.com - PostgreSQL Web Hosting
><http://www.pghoster.com>http://www.pghoster.com
>
>Julio Cuz, Jr. wrote:
>>Hi--
>>
>>I'm currently running 4.0.4pl1 on RedHat 7.0 and I want to upgrade to PHP
>>4.2.2....is there anything special I have to do BEFORE or AFTER the
>>install?  Or is it just a straight re-install of PHP on top of the
>>current Version?  THANKS!
>>
>>Julio Cuz, Jr.
>><mailto:jcuz@rccd.cc.ca.us>jcuz@rccd.cc.ca.us
>>Information Services
>>Riverside Community College


Re: PHP

From
"scott.marlowe"
Date:
On Wed, 14 Aug 2002, Julio Cuz, Jr. wrote:

> Hi--
>
> I'm currently running 4.0.4pl1 on RedHat 7.0 and I want to upgrade to PHP
> 4.2.2....is there anything special I have to do BEFORE or AFTER the
> install?  Or is it just a straight re-install of PHP on top of the current
> Version?  THANKS!

No special things to do.  One issue you might notice is that global http
vars are turned off by default (you know, the ones that show up at the end
of a get url like:  http://myserver/script.php?var1=hello) and if you have
scripts using them you may need to turn that on in the
/usr/local/lib/php.ini file.

Also, some common function names for postgresql have been deprecated, so
you may need to edit all your pg_* functions in all your scripts.  A
global search and replace utility can handle that.