Professional Web Applications Themes

php upgrade - PHP Development

ikke wrote: > Hi, > > I've just installed php 4.2.3 bit i think something didn't work. > I used the following commandline: > > # ./configure --with-MySql=/usr/include/mysql > > (When I use # ./configure --with-mysql=/usr/include/mysql I get an > error that the myql headers can't be found !?) > > Than I did a make and make install. > > When I do a php -v I get php version 4.2.3 > When I request a phpinfo trough my webserver (phpinfo()) I get > version 4.2.2 > > Can someone tell me what went wrong ? I know for ...

  1. #1

    Default Re: php upgrade

    ikke wrote:
    > Hi,
    >
    > I've just installed php 4.2.3 bit i think something didn't work.
    > I used the following commandline:
    >
    > # ./configure --with-MySql=/usr/include/mysql
    >
    > (When I use # ./configure --with-mysql=/usr/include/mysql I get an
    > error that the myql headers can't be found !?)
    >
    > Than I did a make and make install.
    >
    > When I do a php -v I get php version 4.2.3
    > When I request a phpinfo trough my webserver (phpinfo()) I get
    > version 4.2.2
    >
    > Can someone tell me what went wrong ?
    I know for sure that the hash (#) in your configure line isn't correct, you
    shouldn't write it at all.

    /Andreas
    --
    Registeret Linux user #292411
    Andreas Paasch Guest

  2. #2

    Default Re: php upgrade

    On Mon, 21 Jul 2003 12:26:31 +0200, Andreas Paasch
    <AndreasPaasch.Net> wrote:
    >ikke wrote:
    >
    >> Hi,
    >>
    >> I've just installed php 4.2.3 bit i think something didn't work.
    >> I used the following commandline:
    >>
    >> # ./configure --with-MySql=/usr/include/mysql
    >>
    >> (When I use # ./configure --with-mysql=/usr/include/mysql I get an
    >> error that the myql headers can't be found !?)
    >>
    >> Than I did a make and make install.
    >>
    >> When I do a php -v I get php version 4.2.3
    >> When I request a phpinfo trough my webserver (phpinfo()) I get
    >> version 4.2.2
    >>
    >> Can someone tell me what went wrong ?
    >
    >I know for sure that the hash (#) in your configure line isn't correct, you
    >shouldn't write it at all.
    >
    >/Andreas
    If I wrote the hash, the commandline looks like:
    # #./configure .... etc

    # (hash) means linux command line.

    Ever used linux of unix ?



    ikke Guest

  3. #3

    Default Re: php upgrade

    "ikke" <pleuropkrijgalgenoeg.spam> wrote in message
    news:dfenhv45bch4dp0rh40nddvte2kdo4eagc4ax.com...
    > Hi,
    >
    > I've just installed php 4.2.3 bit i think something didn't work.
    > I used the following commandline:
    >
    > # ./configure --with-MySql=/usr/include/mysql
    >
    > (When I use # ./configure --with-mysql=/usr/include/mysql I get an
    > error that the myql headers can't be found !?)
    >
    > Than I did a make and make install.
    >
    > When I do a php -v I get php version 4.2.3
    > When I request a phpinfo trough my webserver (phpinfo()) I get
    > version 4.2.2
    >
    > Can someone tell me what went wrong ?
    If you get an error during the configure process, don't expect anything to
    compile correctly.

    Also, you posted two different versions of your configure line:
    > # ./configure --with-MySql=/usr/include/mysql
    > # ./configure --with-mysql=/usr/include/mysql
    Which one gave you the error?

    Let's pretend for a moment that everything compiled correctly and php -v is
    reporting the correct version number and phpinfo() is not. You HAVE to
    completely restart your web server:

    /usr/local/apache/bin/apachectl stop
    /usr/local/apache/bin/apachectl start

    (Substitute your path to Apache.) No, "apachectl restart" will not work.

    HTH,
    Zac


    Zac Hester Guest

  4. #4

    Default php upgrade

    can anyone point me to an article on how to upgrade php to version 4.3.3?
    I need to upgrade from the tarball and the server is running apache.

    I can get the server upgraded, so that if I invoke php from the command line
    it reports that it is using 4.3.3 but apache is still reporting it is 4.0.5

    I have tried restarting apache, and still no joy.


    --

    ___________________________________________
    Robert MacLean
    robert at sadev dot co dot za
    Web: [url]http://www.sadev.co.za[/url]

    Robert MacLean Guest

  5. #5

    Default Re: php upgrade

    Robert MacLean wrote:
    > can anyone point me to an article on how to upgrade php to version 4.3.3?
    > I need to upgrade from the tarball and the server is running apache.
    >
    > I can get the server upgraded, so that if I invoke php from the command line
    > it reports that it is using 4.3.3 but apache is still reporting it is 4.0.5
    >
    > I have tried restarting apache, and still no joy.
    Did you do a 'make clean' before the make?
    Try it

    Iky Guest

  6. #6

    Default Re: php upgrade

    hmm, that would mean re-compiling apache as well which is not something I can
    really do (the version of apache is heavily modified). What I need is some how
    to upgrade just the PHP.

    Iky (janee.com) moved some electrons around and created the following:
    > Did you do a 'make clean' before the make?
    > Try it
    --

    ___________________________________________
    Robert MacLean
    robert at sadev dot co dot za
    Web: [url]http://www.sadev.co.za[/url]

    Robert MacLean Guest

  7. #7

    Default Re: php upgrade

    "Robert MacLean" <robertnospam.sadev.co.za> wrote in message
    news:bl1ee3$6no$1newsreader02.ops.uunet.co.za...
    > hmm, that would mean re-compiling apache as well which is not something I
    can
    > really do (the version of apache is heavily modified). What I need is some
    how
    > to upgrade just the PHP.
    If you are using PHP as module you don't have to recompile apache.


    Pertti Kosunen Guest

  8. #8

    Default Re: php upgrade

    Pertti Kosunen wrote:
    > "Robert MacLean" <robertnospam.sadev.co.za> wrote in message
    > news:bl1ee3$6no$1newsreader02.ops.uunet.co.za...
    >
    >>hmm, that would mean re-compiling apache as well which is not something I
    >
    > can
    >
    >>really do (the version of apache is heavily modified). What I need is some
    >
    > how
    >
    >>to upgrade just the PHP.
    >
    >
    > If you are using PHP as module you don't have to recompile apache.
    >
    >
    you are right about that.
    use apx and you can upgrade php without touching apache

    Iky Guest

Similar Threads

  1. Upgrade from 6.1 to 7.0
    By Stu Dowah in forum Coldfusion Server Administration
    Replies: 2
    Last Post: September 20th, 10:43 PM
  2. Why to upgrade to CF MX 7 ?
    By crahier in forum Coldfusion - Getting Started
    Replies: 7
    Last Post: March 19th, 12:26 PM
  3. Upgrade
    By Tony in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 11
    Last Post: September 22nd, 01:40 AM
  4. Can you upgrade using a previous version upgrade disk?
    By Craig Lakey in forum Adobe Photoshop 7, CS, CS2 & CS3
    Replies: 5
    Last Post: August 20th, 04:54 PM
  5. Upgrade to VM
    By critter1013 in forum Windows XP/2000/ME
    Replies: 2
    Last Post: July 1st, 01:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139