PDA

View Full Version : [FQuest Notice] PHP 4.3.1 CGI Upgrade


Terra
04-25-2003, 11:43 AM
When: 4/26/2003 (Saturday)
Window: 1:00am - 6:00am EDT
Duration: 2 - 15 minutes

We will be upgrading the PHP CGI Binary core from 4.1.2 ==> 4.3.1...

This upgrade will also include the new PHP PEAR core as well...

Please take a moment to go through any PHP CGI scripts you may be running, and perform any necessary updates that may be required...

The old PHP 4.1.2 binaries will remain online for 1 week, in case you need some extra time to upgrade your scripts to 4.3.1...

Old PHP 4.1.2 binary:
/usr/local/php-cgi-4.1.2/bin/php

However, we can make no assurances that using the new PEAR modules with the old PHP 4.1.2 binary will work as desired... YMMV...


Thank you...

--
Terra
sysAdmin
FutureQuest

freddi
04-25-2003, 01:36 PM
What is "PEAR"?
Anyone know of any side effects of the new "PEAR" code?

Terra
04-25-2003, 02:08 PM
http://pear.php.net

PEAR is to PHP as CPAN is to Perl...

No side effects if you are not using it...

--
Terra
--right now it is sort of a squishy fruit--
FutureQuest

kitchin
04-25-2003, 02:25 PM
I was wondering about that too, and I reached this: What is PEAR?
PEAR is short for "PHP Extension and Application Repository" and is pronounced just like the fruit. The purpose of PEAR is to provide:
* A structured library of open-sourced code for PHP users
* A system for code distribution and package maintenance
* A standard style for code written in PHP, specified here
* The PHP Foundation Classes (PFC), see more below
* The PHP Extension Code Library (PECL), see more below
* A web site, mailing lists and download mirrors to support the PHP/PEAR community
http://pear.php.net/manual/en/introduction.php

And of interest, under PFC: The PHP Foundation Classes is a subset of PEAR that focuses on quality, generality, interoperability and compatibility. If PHP is going to continue bundling PEAR packages beyond the installer, it will bundle the PFC.

Focus on quality means that no packages or releases with less than "stable" quality are accepted in the PFC.

hobbes
04-25-2003, 06:11 PM
And just for clarification, this does not impact the PHP module built into Apache and already upgraded, just the CGI binary. Correct?

Terra
04-25-2003, 07:32 PM
Correct (somewhat)...

Make note that Apache PHP module and PHP CGI binary use the same PEAR core - at least that is the plan... Time will tell if I can pull it off or not...

--
Terra
sysAdmin
FutureQuest

philmel
04-26-2003, 01:07 AM
Hi,
Any idea if this will affect VBulletin?? :o
Thx,
Phil

Arthur
04-26-2003, 04:36 AM
Any idea if this will affect VBulletin?? vBulletin does not use the PHP CGI binary, but instead it uses the Apache PHP module and it also does not make use of the PEAR libraries.

So, in short, vBulletin will not be affected.

Arthur

Terra
04-26-2003, 08:21 AM
The new PHP binaries are in place...

Something I almost forgot to mention...

Both php-cgi and php-cli versons of the binary are available...

CGI type: /usr/local/bin/php-cgi
CLI type: /usr/local/bin/php-cli

/usr/local/bin/php is symlinked to the php-cgi type, to help minimize surprises with existing scripts...

For more information on the differences between the two types, please read:
http://www.php.net/manual/en/features.commandline.php

Bon Appetite

--
Terra
--spent 30 seconds wondering why php -r 'echo "hello world";' wasn't working--
FutureQuest