470,870 Members | 1,435 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,870 developers. It's quick & easy.

standalone PHP installation


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

Shawn Wilson
Jul 17 '05 #1
0 1808

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Lonnie, SRC employee | last post: by
2 posts views Thread by Sandeep Gupta | last post: by
6 posts views Thread by uri bushey | last post: by
5 posts views Thread by James Lattanzio | last post: by
10 posts views Thread by Richard Arthur | last post: by
7 posts views Thread by tah | last post: by
9 posts views Thread by eric | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.