If you did not remove the previous versions prior to installing the new ones
then you have probably fudged things up a bit.  More importantly, when you
install or reinstall php you must also make changes to apache.  Depending on
how you install or compile php, you may even have to recompile apache.

My guess is that apache, php and myswl were all installed as redhat rpms
initially.  If that is the case then in order to install a newer rpm of php
you would need to remove the old one and install the new one.  That may or
may not work, depending on whether the rpm scripts do all the correct
updates to apache.

If you want to install php4.11 (or better yet 4.2.0-dev) from source then
you have two choices:

You can remove your apache rpm and install php and apache according the the
directions in the manual with the --with-apache option, or

You can compile php with the --with-apxs option and follow the directions
for getting php to load as a shared module.

Fred

Martin Cloutier <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi gang,
>
> Redhat 7.1 (vanilla)
> PHP-4.0.4pl1-9
> Apache 1.3.19-5
> MYSQL 3.23.36-1
>
> I am trying to upgrade to  PHP 4.1.1
>
> Question 1:
> Is there an RPM for it?
>
> Question 2:
> I have tried to install the following package:
> rpm -ivh PHP-4.0.6-7.src.rpm
> ...without success...phpinfo() still gives me the old version
>
> Question 3:
> I have tried to install the php 4.1.1 using the normal procedure gzip
> and tar..make ...
> ...without success...phpinfo() still gives me the old version
>
> Question 4:
> Did all these tryout affect the system so that the upgrades become
> confused?
>
> Can anyone suggest me an alternate route for installing the package?
> Any help would be greatly appreciated!
>
> Regards
>
> Martin
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to