Click to See Complete Forum and Search --> : Confused about php installation, almost there...


joelmon
11-27-2001, 06:59 AM
I received great tip on how to install it on my raq 3. I was about to do it

One thing

I can't find apache or its version on it
but the data sheet for this raq 3 says 1.36
appache

So, the question is, how would I know if I must download apache.

And if I ./configure and use 'with' and give path to *existing* mysql, would that NOT keep the databases safe and allow php to connect to mysql the way I do with asp?

When does one have to re-install/download apache?

What prevents erasure/failed connections of prev. installed apache?

Thanks
Ps. The instructins do download/install php are great, I want to use them, just asked this to make sure I Can, not have to modify apache or other method to keep mysql su pport as it's up already, I just don't want to delete tables I use now

EyesWideOpen
11-28-2001, 10:46 AM
Originally posted by joelmon:
<STRONG>I can't find apache or its version</STRONG>

Try running httpd -V as root. That should tell the version of Apache that you are using. If you installed Apache into some non-standard location or want to check the version of multiple Apache servers then you will have to locate each httpd binary and use the -V option on that.

joelmon
11-28-2001, 05:55 PM
[root@www admin]# httpd -V
sh: httpd: command not found
[root@www admin]#

I don't like that

this is strange. I don't even know if I have apache lol

And if I use
with (path to mysql) isn't that how to maintain your db connections and support for mysql in php, not just
with mysql?

Just confirming. But this situation with apache is interesting

EyesWideOpen
11-29-2001, 10:33 AM
Originally posted by joelmon:
<STRONG>[root@www admin]# httpd -V
sh: httpd: command not found
[root@www admin]#

I don't like that

this is strange. I don't even know if I have apache lol</STRONG>

On my Red Hat 7.1 box the httpd binary is installed in /usr/sbin by default. You may want to look there. If it's not there then I suggest you go to the top level directory (cd /) and do a find, as root, to look for the binary (find . -name *httpd* -print). Watch the output to see if anything comes up.

If you don't have Apache and want to install it then I suggest you check Apache's website (http://httpd.apache.org/) for the file to download and documentation.

<STRONG>And if I use
with (path to mysql) isn't that how to maintain your db connections and support for mysql in php, not just
with mysql?

Just confirming. But this situation with apache is interesting</STRONG>

You'll want to use --with-mysql=/path/to/mysql. I believe you can just specify --with-mysql if mysql is installed in the standard location but your better off safe then sorry.

joelmon
11-29-2001, 11:56 AM
Thanks. I might just install the rpm's of the required libraries like gd library and freetype 2 blah blah

the site for rpm's is rpmfinder

it seems reputable and linux users recommend it

I have to also install a new versoin of 'make' so do you guys agree it's a safe place to get rpm's from?

I just don't want to install one and find out a trojan horse is playing with the hard drive and eating it for breakfast later :)

EyesWideOpen
11-29-2001, 12:16 PM
Originally posted by joelmon:
<STRONG>the site for rpm's is rpmfinder
...
I have to also install a new versoin of 'make' so do you guys agree it's a safe place to get rpm's from?</STRONG>

The place that I've heard most-recommended for rpm searching is RPMFind.net (http://rpmfind.net). Another site is RPM pbone.net (http://rpm.pbone.net).

joelmon
11-29-2001, 04:16 PM
there you go, THAT first one you listed is where I was going to download the new 'make' from

I am glad it's a trusted source. I never installed an .rpm before, just .pkg files in the admin center for our raq 3 from cobalt.com

I couldn't find a .pkg there for make so rpm will do :)

Thanks