delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/15/02:12:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: jurgen DOT defurne AT philips DOT com
Cc: cygwin AT cygwin DOT com
Subject: Re: Apache/PHP installation puzzle
MIME-Version: 1.0
Message-ID: <OFE1F613CC.52D72E8E-ONC1256DA2.00210292-C1256DA2.002220A1@diamond.philips.com>
Date: Mon, 15 Sep 2003 08:11:01 +0200

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 AT boltblue DOT com>
Sent by: 
cygwin-owner AT cygwin DOT com
09/13/2003 02:25 PM

 
        To:     <cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019