php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71210 Documentation is wrong for PHP7
Submitted: 2015-12-24 05:46 UTC Modified: 2016-01-08 23:27 UTC
Votes:5
Avg. Score:4.0 ± 0.9
Reproduced:3 of 4 (75.0%)
Same Version:2 (66.7%)
Same OS:1 (33.3%)
From: geowil11 at gmail dot com Assigned:
Status: Verified Package: *Web Server problem
PHP Version: 7.0.1 OS: Windows 8.1
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2015-12-24 05:46 UTC] geowil11 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/install.windows.apache2
---
# 
LoadModule php5_module "c:/php/php5apache2.dll"
AddHandler application/x-httpd-php .php

# configure the path to php.ini
PHPIniDir "C:/php"

Expected result:
----------------
Apache2 server should start

Actual result:
--------------
Fails with error message:
httpd.exe: Syntax error on line 522 of C:/Apache24/conf/httpd.conf: Can't locate API module structure `php5_module' in file C:/PHP_7.01/php7apache2_4.dll: No error   

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-24 07:00 UTC] requinix@php.net
-Status: Open +Status: Verified -Package: Apache2 related +Package: *Web Server problem
 [2015-12-24 15:10 UTC] cmb@php.net
> http://php.net/manual/en/install.windows.manual.php
> http://php.net/manual/en/install.windows.apache2.php

The information on these pages is at least partially identical to
install.txt[1] which already has been updated for PHP 7 (although
it still needs more careful review).

> Are these servers still supported?

Support for NSAPI (Sun/Oracle)[2] and ISAPI (required for
Sambar)[3] has been dropped as of PHP 7. Xitami might still be
supported by PHP 7, but it seems that the Xitami development
has been ceased[4].

[1] <https://github.com/php/php-src/blob/master/win32/install.txt>
[2] <https://marc.info/?l=php-internals&m=143228457212923&w=2>
[3] <https://wiki.php.net/rfc/removal_of_dead_sapis_and_exts#sapiisapi>
[4] <http://www.xitami.com/main:start>
 [2016-01-08 23:27 UTC] tpunt@php.net
Related to: Bug #53445
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 02:01:28 2024 UTC