473,549 Members | 2,588 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1715
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.co m ( 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_mod ule
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.co m ( 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_mod ule
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_mod ule
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.d ll 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
7182
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
3537
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(): Unable to load dynamic library '/usr/lib/php4/20020429/PEAR.so'- /usr/lib/php4/20020429/PEAR.so: cannot open shared object file: No such file or...
7
6637
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 the whole db changed over in 1 hour. Since the upgrade I have been getting the following error message sporadically.
4
2127
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 to Flowchart - automatic code flow chart generator at http://www.fatesoft.com/s2f/ looks great - but costs $180. Does anyone know of anything which...
0
2032
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 build our applications under three different environments (Linux i686, Linux x86_64, Solaris 8 Sparc). This is the first of the three on a RHEL 3...
4
2117
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 as module with Apache2.2.3 I need a educated response from a PEAR developer, if possible My 1st run go-pear died because I exceeded "maximum...
1
13654
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 "C\php\pear\PEAR". I writing a pear front-end GUI and I want to have it installed correctly. It seemed to have some duplication of directories between the lower...
5
2079
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 eagerness" to learn what comes new. Sometime developers thinks that learning Only PHP will help them to get lucrative jobs!! OMG Especially most of the...
3
1700
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 kill. In the meantime... I'm curious if phpdoc block boundaries are 'strict'. In other words, I've only ever heard of phpdoc blocks formatted like...
0
7730
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7971
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7491
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6055
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5101
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3509
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3491
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1068
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.