`ExecCGI` not mentioned in section 'Running PHP under FastCGI'
Nobody has claimed this yet.
- Dominant language
- XML
- Stars
- 596
- Forks
- 890
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 55
Description
From manual page: https://php.net/install.windows.apache2
In the section 'Running PHP under FastCGI' a crucial information is missing IMO. To execute .php files by the PHP FastCGI wrapper, it is necessary to put ExecCGI in the document root folder options directive. It is even mentioned in the comments of the httpd.conf file (of Apache 2.4.57). Like so:
<Directory "_path_to_document_root_">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks ExecCGI
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>
If ExecCGI is not stated as an option, Apache will return a 403 for .php files.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the Windows Apache 2 manual page and locate the section titled “Running PHP under FastCGI.” Review the surrounding configuration guidance, then document that the document-root Options directive needs ExecCGI for PHP files to be executed; the section should clearly explain this requirement and its effect on 403 responses.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- apache, php
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 72/100