From: jurgen.defurne@philips.com
Cc: cygwin@cygwin.com
Subject: Re: Apache/PHP installation puzzle
Date: Mon, 15 Sep 2003 06:12:00 -0000 [thread overview]
Message-ID: <OFE1F613CC.52D72E8E-ONC1256DA2.00210292-C1256DA2.002220A1@diamond.philips.com> (raw)
Dave,
Do you run PHP as CGI or as php_mod ?
If CGI, then you should place your PHP scripts in /cgi-bin/,
prepend '#!/usr/bin/php' or whatever, and make your
scripts executable. Also control your php.ini file.
If you run PHP as php_mod, then you must add the
following lines to your apache httpd.conf file :
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php3
for whatever file extensions you need.
After this, check again your php.ini file.
I think it should be installed, I have it here on my system,
installed from standard cygwin. It doesn't run here, but
for other reasons, so I use the CGI, which I compiled
from scratch. I do not need the performance, only the
functionality.
Regards,
Jurgen
<dave_d@boltblue.com>
Sent by:
cygwin-owner@cygwin.com
09/13/2003 02:25 PM
To: <cygwin@cygwin.com>
cc: (bcc: Jurgen Defurne/BRG/CE/PHILIPS)
Subject: Apache/PHP installation puzzle
Classification:
Fellow Cygwinners!
Now I fully expect to be told to RTFM --- but here goes anyway!
I've installed Cygwin on a W2K workstation primarily for the purpose of
running
Postgres and for this it works admirably. All installations have worked
flawlessly.
Encouraged by the performance of Cygwin I decided that I would replace the
local Windows IIS 'Personal Web Server' with Apache +PHP. I started the
Setup
program, selected Apache and the PHP library and initiated the
installation.
The installation reported complete with no errors or warnings. I started
the
Apache server and accessing 'localhost/index.html' produced the desired
result -
Apache is up and running. I then wrote the approved php test script ( <?
phpinfo()?> ) and pointed the browser to 'localhost/tester.php'. No PHP!!
I
checked the /etc/postinstall directory and the presence of
apache-php-sh.done
rather indicates that installation was OK. To check I deleted this file,
re-
installed the PHP library alone and, again, installation appears OK with
no
errors. I checked in the setup logs - again, no errors. However, nowhere
on
the system is the a libphp4 of any description to be found and so I can't
see
how I can add the LoadModule line to the httpd.conf file.
I've spent a couple of hours Googling and searching the mail archives but
have
not seen this problem refered to anywhere else. I would appreciate a nudge
in
the right direction,
Regards,
Dave.
--------------------------------------------------------------
Sent with "Me-Mail", Boltblue's FREE mobile messaging service.
http://www.boltblue.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
next reply other threads:[~2003-09-15 6:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-15 6:12 jurgen.defurne [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-09-15 12:04 jurgen.defurne
2003-09-15 12:18 ` Jason Tishler
2003-09-15 9:20 jurgen.defurne
2003-09-15 9:15 dave_d
2003-09-15 9:34 ` dave_d
2003-09-15 16:32 ` Igor Pechtchanski
2003-09-15 11:56 ` Jason Tishler
2003-09-15 15:30 ` dave_d
2003-09-15 15:48 ` Jason Tishler
2003-09-13 12:25 dave_d
2003-09-15 9:10 ` Stipe Tolj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=OFE1F613CC.52D72E8E-ONC1256DA2.00210292-C1256DA2.002220A1@diamond.philips.com \
--to=jurgen.defurne@philips.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).