[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] PHP, Apache, MySQL issue



Daren Cotter <darenc@xxxxxxxxxxxxxxxxx> wrote:
> That's the best explanation I've ever been able to find about the two
> different ways of installing PHP.

I'll have to keep it handy to save me typing the next time.  :-)

> I could never figure out why anyone would
> want to install PHP as a standalone...but it makes since about the user
> issue...since any file created by a PHP script would be owned by "httpd"
> instead of the user.

Most people probably never need to write to files or don't mind making those
files world-readable.

> As far as installing...the command:
>
> ./configure --with-mysql --with-apxs
>
> Is the only way I've ever done it, or known how to do it. Which way does
> this install PHP?

As an Apache DSO module.  If you install from source the different options are
described, though the standalone option doesn't go into much detail.

> How do I install the other way?

"./configure" installs as a standalone (of course you'd probably have a few more
options than that).  You can also install PHP within the Apache httpd binary by
doing "./configure --with-apache=../../apache/apache_1.3.11" (did it just
yesterday on a RaQ2, I've never gotten to work on a RaQ3 without breaking SSL).

> If this is documented somewhere and I just haven't found it, please point me
in the right
> direction!

It's probably also covered online in the manual at php.net.  You can also find a
few mailing lists at php.net where you can find out a lot of info. and a few
messageboards at phpbuilder.com that might come in handy.  Hope that helps.

Steven Werby {steven-lists@xxxxxxxxxxxx}