Connecting Tech Pros Worldwide Help | Site Map

Upgrade Methods, php, pear, phpdoc

awebguynow
Guest
 
Posts: n/a
#1: Aug 11 '06
I want to upgrade my version of PHP and with it, to be consistent PECL.
I'm assuming, I'll also need to install Pear from scratch
Maybe I'll go all the way and upgrade my Apache2 webserver

from my current phpinfo() Apache Version Apache/2.0.54 (Win32)
PHP/5.0.4
from Apache's website: Apache 2.2.3 Released

I think it would be hard to install over my current installation at
C:\php
I'll probably save my .ini/cfg files (Apache also), rename the
directory and start from scratch.
Since I don't know what Pear does in its installation process, I
envision a nightmare, if I tried to move things over manually.
Starting from scratch has to be the cleaner, simpler way to go. Any
comments ?

IchBin
Guest
 
Posts: n/a
#2: Aug 11 '06

re: Upgrade Methods, php, pear, phpdoc


awebguynow wrote:
Quote:
I want to upgrade my version of PHP and with it, to be consistent PECL.
I'm assuming, I'll also need to install Pear from scratch
Maybe I'll go all the way and upgrade my Apache2 webserver
>
from my current phpinfo() Apache Version Apache/2.0.54 (Win32)
PHP/5.0.4
from Apache's website: Apache 2.2.3 Released
>
I think it would be hard to install over my current installation at
C:\php
I'll probably save my .ini/cfg files (Apache also), rename the
directory and start from scratch.
Since I don't know what Pear does in its installation process, I
envision a nightmare, if I tried to move things over manually.
Starting from scratch has to be the cleaner, simpler way to go. Any
comments ?
>
I always unstall and then reinstall. For apache, under windows, he keeps
registry entries and YOU HAVE TO uninstall it BEFORE installing a
different version. Else you will be having major problems. I think the
current version of Apache is 2.0.55 so you are not far off this version..

For PEAR it sound like you are not using it. So I would not worry about
it. You may want to look at the PEAR packages. The install is simple and
is in the Docs. Same goes for PECL.

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________ ________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
awebguynow
Guest
 
Posts: n/a
#3: Aug 15 '06

re: Upgrade Methods, php, pear, phpdoc


I note from the Apache website:
Apache 2.2.3 Released

I also note that Apache comes in an MSI form, while PHP just needs to
be unzipped.
I took a glance at apachelounge.com ( Apache2 on Windows ) and it's
notes may help.

Pecl seems very straightforward on Windows, just make sure .ini
setting, "extension_dir" is correct and then add line
"extension=???.dll"

~~~~~~~
I am a bit concerned with this (and so are webhosts)
Quote:
>From php 5.1.4 Install notes:
"We do not recommend using a threaded MPM in production with Apache2.
......"

So (if I was running production Server) is the solution to use
non-threading Prefork ??
Module Identifier: mpm_prefork_module
Source File: prefork.c

I haven't heard too much comment on this but it seems like saying,
you can have dinner, you just can't have a fork.
~~~~~~~

Finally, the lastest Pear 1.4.3 looks very cool, and can even help your
sync your Shared Host Pear modules up to the latest version, without
asking your host to provide support system wide.

IchBin
Guest
 
Posts: n/a
#4: Aug 15 '06

re: Upgrade Methods, php, pear, phpdoc


awebguynow wrote:
Quote:
I note from the Apache website:
Apache 2.2.3 Released
>
I also note that Apache comes in an MSI form, while PHP just needs to
be unzipped.
I took a glance at apachelounge.com ( Apache2 on Windows ) and it's
notes may help.
>
Pecl seems very straightforward on Windows, just make sure .ini
setting, "extension_dir" is correct and then add line
"extension=???.dll"
>
~~~~~~~
I am a bit concerned with this (and so are webhosts)
Quote:
>>From php 5.1.4 Install notes:
"We do not recommend using a threaded MPM in production with Apache2.
....."
>
So (if I was running production Server) is the solution to use
non-threading Prefork ??
Module Identifier: mpm_prefork_module
Source File: prefork.c
>
I haven't heard too much comment on this but it seems like saying,
you can have dinner, you just can't have a fork.
~~~~~~~
>
Finally, the lastest Pear 1.4.3 looks very cool, and can even help your
sync your Shared Host Pear modules up to the latest version, without
asking your host to provide support system wide.
>
Thanks for the Apache and Pear info... I am not running a production
environment so I am running PHP 5.2.0

Thanks in Advance...
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
__________________________________________________ ________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Richard Levasseur
Guest
 
Posts: n/a
#5: Aug 16 '06

re: Upgrade Methods, php, pear, phpdoc



awebguynow wrote:
Quote:
~~~~~~~
I am a bit concerned with this (and so are webhosts)
Quote:
From php 5.1.4 Install notes:
"We do not recommend using a threaded MPM in production with Apache2.
....."
>
So (if I was running production Server) is the solution to use
non-threading Prefork ??
Module Identifier: mpm_prefork_module
Source File: prefork.c
>
I haven't heard too much comment on this but it seems like saying,
you can have dinner, you just can't have a fork.
~~~~~~~
You shouldn't use a threaded apache server with PHP. PHP isn't thread
safe.

awebguynow
Guest
 
Posts: n/a
#6: Aug 16 '06

re: Upgrade Methods, php, pear, phpdoc


So, where would PHP 5.2.0 be available ?
I sure didn't see it listed on php.net on the front page or under
downloads.

Now I find that PHP 5.1.x and Apache 2.2.x are not compatible. See
article/thread:
http://www.daniweb.com/techtalkforums/thread46812.html (towards end)

which led me to:
http://snaps.php.net/ What exactly is this ?
and why does it appear that there are 5 listings of the same file ?

btw - I did end up using php5apache2_2.dll from the snaps to solve the
problem.
In my WAMP system, Since I had installed php5.1.4 and patched in only
this file
My question is, Does this give me consistency or should I have done a
complete reinstall ?

I'm working, but for others peace of mind, I pose these questions.
TIA.

Closed Thread