hi all..

i have an install of 5.2.6 and would like to get up to 5.2.13
the 5.2.6 has extension modules that are build about 2 years ago. if i install the 5.2.13 version on top the 5.2.6 one and use the same ini what is the possibility that the extension modules are not recognized and could not be used with 5.2.13..

i usually build it all together but this was done by somebody else and the modules are build separately...

thanks...

    toshog wrote:

    if i install the 5.2.13 version on top the 5.2.6 one and use the same ini what is the possibility that the extension modules are not recognized and could not be used with 5.2.13

    Since you talked about building things, I'm guessing you're talking about a *nix O/S (e.g. as opposed to Windows)?

    If so, I'm not sure - I've never tried to upgrade PHP without recompiling all of it at once. Is there any reason that you don't want to recompile the extensions as well?

    If I had to guess, I would guess that no, it won't work correctly.

      thanks... it is a bsd machine. so if not all, most of the modules are binary pkgs installed via pkg_add. there are no src files for the extensions to build within php from... it might take a while before i can build every module within php..

        toshog wrote:

        it is a bsd machine. so if not all, most of the modules are binary pkgs installed via pkg_add. there are no src files for the extensions to build within php from

        I might be showing my ignorance of BSD here, but... I don't understand what you mean here.

        The only building I've done is on CentOS (and Fedora, but that's been a while). Sure, there were pre-compiled packages out there I could have installed using yum, but I wanted to compile the latest version of PHP just 'cause.

        All I had to do was download the PHP source, run the "./configure" command with all of the "--with-EXTENSION" lines I wanted, and start installing missing libraries until the configure finally completed successfully.

        Is this not a similar process as to what you'd have to do if compiling a newer version of PHP than what your package manager/repo's have available?

          it's a bsd unix machine. currently the 3 most famous flavors of it are freebsd, openbsd, netbsd... here is more: http://en.wikipedia.org/wiki/BSD_UNIX

          i usually do the ./configure myself except i didn't build this machine originally. so i just need to get the core php up to 5.2.13 ( or anything above 10 really), hoping the modules will be loaded just the same as they were with 5.2.6..

            for the record. it did work.
            the way to do it is to find out off the config.status (or phpinfo() ) what the original options to the ./configure were and compile the new one with those. i didn't have to do anything to the modules. they just loaded as they have been with the previous version.... i had a backup just in case...

            cheers...

              Write a Reply...