Hi,
this is my first post to this ng, so please be nice to me! :)
ok we're running redhat 7.2 with apache 1.3.26. I had/have php 4.2.1,
i need to use some cms package that needs 4.2.2 or better. so i
thought i'd download the tar'd source for php 4.3.2 to keep him happy.
followed all the instructions to compile and install it, and from the
command prompt a php -v gives me 4.3.2; however phpinfo() from a
webpage still shows the old version. i'm really at a loss for how to
get apache to update itself to see the new version - can anyone tell
me what i'm doing wrong?
many thanks in advance!!
Dan 5 2994
On 10 Jul 2003 08:06:06 -0700, Dan Foster <df@melbourne.u k.net> wrote: ok we're running redhat 7.2 with apache 1.3.26. I had/have php 4.2.1, i need to use some cms package that needs 4.2.2 or better. so i thought i'd download the tar'd source for php 4.3.2 to keep him happy. followed all the instructions to compile and install it, and from the command prompt a php -v gives me 4.3.2; however phpinfo() from a webpage still shows the old version. i'm really at a loss for how to get apache to update itself to see the new version - can anyone tell me what i'm doing wrong?
It has been a while since I last did it, but I believe you compile
libphp4.a into apache. This file is created by each version of PHP. So
my guess would be that you need to recompile Apache to use the new PHP
libraries.
Steve Robbins wrote:
[snip] It has been a while since I last did it, but I believe you compile libphp4.a into apache. This file is created by each version of PHP. So my guess would be that you need to recompile Apache to use the new PHP libraries.
It's a lot more convenient to use a module. Saves you from recompiling
Apache everytime you upgrade PHP.
Regards,
Ruben.
First, make sure you have recompiled Apache (use the same config as you did
before with the --activate-module directive to the configure script).
Second, after Apache has been rebuilt, you will need to do a full shutdown
and restart. The "apachectl restart" will not always work. You have use
"apachectl stop" then "apachectl start" to get it to recheck the image on
the disk instead of just suspending the executable's image in memory and
restarting the main process.
I ran into this problem the first time I upgraded PHP as well.
HTH,
Zac
"Dan Foster" <df@melbourne.u k.net> wrote in message
news:15******** *************** ***@posting.goo gle.com... Hi,
this is my first post to this ng, so please be nice to me! :)
ok we're running redhat 7.2 with apache 1.3.26. I had/have php 4.2.1, i need to use some cms package that needs 4.2.2 or better. so i thought i'd download the tar'd source for php 4.3.2 to keep him happy. followed all the instructions to compile and install it, and from the command prompt a php -v gives me 4.3.2; however phpinfo() from a webpage still shows the old version. i'm really at a loss for how to get apache to update itself to see the new version - can anyone tell me what i'm doing wrong?
many thanks in advance!!
Dan
thanks all for your replies - i appreciate your help!!
i'd actually tried recompiling apache at the same time (infact i
downloaded 1.3.27 (was at 1.3.26) and did the install on this at the
same time.... but even this isnt being picked up.
i do know that the version of redhat on the server is a custom build
by the company that we rent the server from (im not quite sure what
wisdom lead to them doing this - perhaps its because they charge $150
an hour to do this for us?)
i'm really stuck - as none of the updates are being applied. is it
trying to install apache to the wrong dir? where should it be doing
it to? sorry to ask so many questions, but i find some of the
documentation somewhat confusing when you dont have a straightforward
setup!
many thanks
Dan Foster
tryed 'service httpd restart' while logged as root?
If it still does not work, try 'updatedb && locate php' If you notice
PHP installed at two different locations, it's probably because you had
the version installed by RedHat and the one you compiled and during the
install, Apache pointed to the wrong version of PHP. You will have to go
play in the configuration file to point to the right version of PHP
(during one of those LoadModule)
Dan Foster wrote: thanks all for your replies - i appreciate your help!!
i'd actually tried recompiling apache at the same time (infact i downloaded 1.3.27 (was at 1.3.26) and did the install on this at the same time.... but even this isnt being picked up.
i do know that the version of redhat on the server is a custom build by the company that we rent the server from (im not quite sure what wisdom lead to them doing this - perhaps its because they charge $150 an hour to do this for us?)
i'm really stuck - as none of the updates are being applied. is it trying to install apache to the wrong dir? where should it be doing it to? sorry to ask so many questions, but i find some of the documentation somewhat confusing when you dont have a straightforward setup!
many thanks
Dan Foster This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Alan Silver |
last post by:
Hello,
Hope this is not OT, but I'm not sure where to post it.
I have a development box running Windows NT Server 4 SP6a with all the
latest hot fixes and patches. Up until a couple of days ago, it was
running IE5.0 without problems. I upgraded to IE6 SP1 and ever since,
whenever I access the default ASP web site, it takes ages for the first
page to appear. After that subsequent pages load fine.
|
by: timp |
last post by:
HI
We are currently considering to upgrade to .net 2.0 but we are in the
middle of a release face, and I need to here you experience wither other n-
tier solutions based on ASP.Net and some Infragistic web grids etc.
Did you have any issues with the upgrade ? and what issues ?
Regards Tim P
|
by: ship |
last post by:
Hi
We need some advice: We are thinking of upgrading our Access database
from Access 2000 to Access 2004.
How stable is MS Office 2003? (particularly Access 2003).
We are just a small company and this is a big decision for us(!) It's
not just the money it's committing to an new version of Access!
|
by: Donalbane |
last post by:
Hello, does anyone know how to go about getting this upgrade? There is
a phone number on the box of the 5.0 software to you used to be able to
call, but the number is no longer in service. Borland customer support
simply informs me that the product is no longer offered. Is the 5.02
upgrade available for download somewhere?
Don Tucker
Applied Research Laboratories
|
by: Joseph Geretz |
last post by:
I recently upgraded my server to Windows 2003. The first thing I noticed is
that my sample WebService pages no longer worked. The Invoke test button is
missing. This is addresed by the following KB article:
Microsoft Knowledge Base Article - 819267
INFO: HTTP GET and HTTP POST Are Disabled by Default
http://support.microsoft.com/default.aspx?scid=kb;en-us;819267
The article advises that a new block be inserted into Web.config (or into
| |
by: pshindle |
last post by:
We have several machines currently running the DB2 V7 Run-time Client
that we would like to actually be running the App Dev Client. To
'upgrade' (within the same version) this client software can we simply
install the App Dev Client on 'top of' the Run-time Client? Will the
install routine uninstall the Run-time Client under the covers during
the install of the App Dev Client?
Also, is this type of 'upgrade' possible/supported during a...
|
by: gvozdano |
last post by:
I have phpBB forum on my site and I have a problem.
I have some mods applied on it (not done with EasyMOD), but can't
remember exactly which are they.
How can I upgrade that forum and still keep all users info and all
posts?
|
by: =?Utf-8?B?aHVyY29tYmU2?= |
last post by:
i have just upgraded to vista from xp, what i wanted to know was how to do
system recovery if i have any problems in the future,i had recovery discs for
xp,but all i have got for vista is the acer upgrade wizard and the acer vista
upgrade disc,with xp you had acer erecovery but the upgrade removes that,
ihave contacted acer and they said the will not give support now i have
changed from xp to vista and yet the upgrade was all in acer...
|
by: Bob Altman |
last post by:
Hi all,
In my VB 2005 project I create a setting called UpgradeRequired with a
default value of True, and I include the following code that runs when the
project is launched:
If My.Settings.UpgradeRequired Then
My.Settings.Upgrade()
My.Settings.UpgradeRequired = False
My.Settings.Save()
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |