standalone PHP installation

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

    standalone PHP installation

    Hi,

    I have never installed PHP before. It's always been set up for me. I have
    a client whose site is hosted as a virtual server. I'm trying to set up
    ecom for him, but the mhash library is not installed. So I use fopen to
    open a script on my website that hashes the variables. Obviously, this is
    not ideal because if my site goes down his ecom will too. I asked the tech
    people at his hosting company to set that up, but they said they don't do
    custom compilations.

    "As per compiling PHP with --with-mhash=[DIR] this is how that works: any
    custom compilations, custom applications, etc. are up to the user to compile
    and install. Use gcc/etc. to compile PHP with the options that you like.
    The php.ini in /etc is available for your customization as well. If you
    compile your own binary of PHP, you can place it where you like (or leave it
    at the default) and get the paths updated to use it, or you can obviously
    use it directly if necessary."

    I was planning on compiling a new, minimalist version of PHP (with just
    mhash) in a different directory, but I'm hesitant to do it in case I get
    unexpected results (I don't want to take the rest of his site down). Can
    anyone tell me if this sounds feasible? What kind of pitfalls can I expect?
    And can anyone recommend a tutorial? Most of the tutorials I've found
    assume you have root access and/or are compiling PHP/Apache together.

    I was also wondering if it would be possible to just compile the mhash
    library and add it to php.ini? That seems to be the simplest thing, though
    I don't know if it would work...

    Thanks,
    Shawn
    --
    Shawn Wilson
    shawn@glassgian t.com



Working...