Find the answer to your Linux question:
Results 1 to 7 of 7
can someone tell me how to install php 5.0.4 on mandrake 10.1. i'm currently running 4.3.8. i already tried the php manual, but there isn't much info about it thx...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    13

    installing php 5.0.4


    can someone tell me how to install php 5.0.4 on mandrake 10.1. i'm currently running 4.3.8. i already tried the php manual, but there isn't much info about it

    thx

  2. #2
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    I don't know of any Mandrake rpms for php 5, so I guess you'd have to compile it. That could get a bit dicey if the installed version you have has put libs and binaries anywhere non-standard.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  3. #3
    Just Joined!
    Join Date
    Mar 2005
    Posts
    13
    i've got the tar.gz file from php.net. i think every thing is standard, i instaled in together with mandrake. how do i compile it??

  4. #4
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    when you unzip it
    Code:
    tar -xvzf <filename>
    enter the directory and look about. There should be a README or INSTALL file that will outline any steps you need to take...I doubt it will be as simple as a standard ./configure && make && make install.
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  5. #5
    Just Joined!
    Join Date
    Mar 2005
    Posts
    13
    there is an install file, but it's the same as on the internet, and i'm nothing with it

    *EDIT*
    I don't know of any Mandrake rpms for php 5
    i have found a .rpm file for mandrake, how do i use that?


    thx

  6. #6
    Linux Engineer
    Join Date
    Nov 2004
    Location
    home
    Posts
    796
    Here's how to compile php

    First, uninstall the old version.

    Pass the --help option to configure, see all the options, pick the ones you like.
    ./configure --help

    Pass all the options you like to configure
    ./configure --with-something --enable-something-else

    Compile it
    make

    And install it
    make install

    If you use Apache or another web server, check the manual because there may be more complex instructions for you.

  7. #7
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    i have found a .rpm file for mandrake, how do i use that?
    rpm -Uvh <packagename>
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

Posting Permissions

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