php upgrade not being applied - please help!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts

  • Louis-Philippe Huberdeau
    Guest replied
    Re: php upgrade not being applied - please help!

    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:[color=blue]
    > 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[/color]

    Leave a comment:


  • Dan Foster
    Guest replied
    Re: php upgrade not being applied - please help!

    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

    Leave a comment:


  • Zac Hester
    Guest replied
    Re: php upgrade not being applied - please help!

    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:150af09c.0 307100706.5f858 eda@posting.goo gle.com...[color=blue]
    > 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[/color]


    Leave a comment:


  • Ruben van Engelenburg
    Guest replied
    Re: php upgrade not being applied - please help!

    Steve Robbins wrote:

    [snip]
    [color=blue]
    > 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.[/color]

    It's a lot more convenient to use a module. Saves you from recompiling
    Apache everytime you upgrade PHP.

    Regards,
    Ruben.

    Leave a comment:


  • Steve Robbins
    Guest replied
    Re: php upgrade not being applied - please help!

    On 10 Jul 2003 08:06:06 -0700, Dan Foster <df@melbourne.u k.net> wrote:[color=blue]
    >
    > 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?[/color]

    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.

    Leave a comment:


  • Dan Foster
    Guest started a topic php upgrade not being applied - please help!

    php upgrade not being applied - please help!

    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
Working...