note 116571 added to install.windows.apache2
| From: | Anonymous | Date: | Fri, 23 Jan 2015 15:10:11 +0000 |
| Subject: | note 116571 added to install.windows.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201507@lists.php.net to get a copy of this message | ||
With Apache 2.4 in Windows, it seems that PHPIniDir directive must come before LoadModule directive
to be used. Also, name of the DLL file seems to be php5apache2_4.dll, not php5apache2.dll.
This configuration in httpd.conf works for me (Apache 2.4.10, PHP 5.6.5):
PHPIniDir "C:\PHP"
LoadModule php5_module "c:/php/php5apache2_4.dll"
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
----
Server IP: 72.52.91.14
Probable Submitter: 194.89.35.152
----
Manual Page -- http://php.net/manual/en/install.windows.apache2.php
Edit -- https://master.php.net/note/edit/116571
Del: integrated -- https://master.php.net/note/delete/116571/integrated
Del: useless -- https://master.php.net/note/delete/116571/useless
Del: bad code -- https://master.php.net/note/delete/116571/bad+code
Del: spam -- https://master.php.net/note/delete/116571/spam
Del: non-english -- https://master.php.net/note/delete/116571/non-english
Del: in docs -- https://master.php.net/note/delete/116571/in+docs
Del: other reasons-- https://master.php.net/note/delete/116571
Reject -- https://master.php.net/note/reject/116571
Search -- https://master.php.net/manage/user-notes.php