473,324 Members | 2,501 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Upgrade Methods, php, pear, phpdoc

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 ?

Aug 11 '06 #1
5 1707
awebguynow wrote:
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-)
Aug 11 '06 #2
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)
>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.

Aug 15 '06 #3
awebguynow wrote:
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)
>>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-)
Aug 15 '06 #4

awebguynow wrote:
~~~~~~~
I am a bit concerned with this (and so are webhosts)
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.

Aug 15 '06 #5
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.

Aug 15 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: point | last post by:
Anyone knows of a good and easy program or script which generates doc file from a phpdoc style comments???? PhpEdit has something like that but I need a standalone one... respect....
3
by: Sandro Dentella | last post by:
I need to use a class to handle mbox files that uses PEAR. Since I'm using Debian (both woody and, I simply apt-get(ed) php4-pear but I can't use it becouse I get the error: Warning: dl():...
7
by: Abdul-Wahid Paterson | last post by:
Hi, I have had a site working for the last 2 years and have had no problems until at the weekend I replace my database server with a newer one. The database migration went like a dream and I had...
4
by: Baron Samedi | last post by:
hi, I would like to auto-doc some existing code, mostly so I can understand it. I am slowly adding PhpDoc comments, but I miss some tools which I have for C/c++. For instance, the Code Visual...
0
by: bwhitehd | last post by:
I'm having a problem installing php. The compile seems to go fine, but when it gets to the install step I get the following errors. Does anyone have an idea of what might be the problem? We...
4
by: awebguynow | last post by:
Re: only got "pear.old_bat" I had a previous post ".. Upgrade Methods ..." and so far I've gotten around most thorny issues, including patching php5.1.4 with php5apache2_2.dll so I can run it...
1
by: IchBin | last post by:
I remember having problems with pear when I first installed it but got it running some time ago. This is on a windoze XP SP OS. I did not think it was correct because it pointed to...
5
by: Hasin Hayder | last post by:
I have been working with PHP for more than 3yrs (I believe still I am beginner in this category) - I was present in several interview board. Which things disappointed me most is the "lack of...
3
pbmods
by: pbmods | last post by:
Nobody I know actually uses phpdoc, but some of the staff where I work use IDEs that can parse phpdoc blocks, so I try to be accommodating. Plus I might just use it someday if I have some time to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.