php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #2151 PHP is not CGI
Submitted: 1999-08-25 13:55 UTC Modified: 1999-08-25 14:52 UTC
From: alan dot krzywicki at compaq dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0.12 OS: Linux
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
18 + 24 = ?
Subscribe to this entry?

 
 [1999-08-25 13:55 UTC] alan dot krzywicki at compaq dot com
The documentation should state (in the Introduction) the
following:

"Since PHP is not CGI you should not put it in the CGI
directory, otherwise the Apache server will try and execute
the PHP script not interpret it."

or something like that ...

The documentation compares PHP to CGI but forgets to
mention this.  This is VERY important or more people like
me will put the PHP files in the CGI directory and spend
two days tracking this down.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-25 14:52 UTC] eschmid at cvs dot php dot net
It is explaint in the installation procedere that there is a CGI-variant and a
Apache-module. You are the first who will put HTML- and PHP3-files in
a cgi-bin directory. If you don't agree make another bug report.

-Egon
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 23:01:27 2024 UTC