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

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



That's the best explanation I've ever been able to find about the two
different ways of installing PHP. 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.

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? How do I install the other way? If this is documented
somewhere and I just haven't found it, please point me in the right
direction!

Thanks!


Daren Cotter
Web Development
Prairie Lakes Internet
(507) 344-1318
darenc@xxxxxxxxxxxxxxxxx
http://web.lakes.com

> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Steven Werby
> Sent: Tuesday, August 01, 2000 11:49 AM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] PHP, Apache, MySQL issue
>
>
> Daren Cotter <darenc@xxxxxxxxxxxxxxxxx> wrote:
> > NOTE: I AM trying to install PHP as a module, because right now it's a
> > standalone...I believe the reason it is (since this is not the
> default way
> > to install)
>
> Actually, the default PHP install method is the standalone (CGI)
> method.  Most
> people don't use the default, though.
>
> > is because ChiliSoft ASP Interpreter is running on the box.
>
> I've never touched ChiliSoft so can't be certain, but I can't think of any
> reason why Chilisoft would care how PHP is installed.  PHP is
> usually installed
> as a standalone b/c the person installing it requires that PHP scripts be
> executed as the user who owns the files instead of as user httpd (the user
> Apache and module PHP run as).  I do install PHP as a standalone
> when I need to
> use PHP to directly modify files owned by root, I want to use PHP to run
> [non-web] scripts from the commandline or I want use cron to schedule PHP
> scripts to be run without sending a request out over the internet from the
> server back to itself (with module PHP you need to do this b/c
> otherwise the PHP
> scripts won't be parsed by Apache before your local browser,
> typically lynx,
> retrieves it).  And PHP module version and PHP standalone version
> can happily
> coexist as long as they are each mapped to different file type
> extensions (like
> .php4 -> module and .php -> CGI).
>
> This probably doesn't help much with your situation, but I just
> wanted to ensure
> that you and everyone else reading are informed.
>
> Steven Werby {steven-lists@xxxxxxxxxxxx}
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>