|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2021-06-19 09:04 UTC] manchokapitancho at gmail dot com
Description: ------------ Tha alpha version of PHP 8.1 doesn't start as an Apache 2 module on Windows. It works perfectly fine via CLI but not when configured to be used as an Apache 2 module. Tried with the latest Apache 2.4.48 (Win64). I used the same configuration and the same php.ini file that work with PHP 8.0.6 and with PHP 8.0.8 RC1. Test script: --------------- 1. Trying to access a resource using Apache 2. Checking the service name Expected result: ---------------- 1. It works 2. The service name is Apache/2.4.48 (Win64) PHP/8.1.0alpha Actual result: -------------- 1. It doesn't work (timeout) 2. The service name is Apache/2.4.48 (Win64) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 20:00:01 2025 UTC |
That is at least something; now we know that a segfault occurs. Please try to request a PHP info page, i.e. <?php phpinfo(); with a minimal php.ini (i.e. without loading any extensions). If that works (it does for me), load additional extensions until the crash occurs again. If the minimal variant crashes right away, please double-check that you load the PHP 8.1.0alpha1 php8apache2_4.dll, and that the PATH is properly set. Also, it might be neccessary to update your MSVCRT. If nothing helps, try to get a stack backtrace[1]. Also, do you use the x64 or the x86 build? [1] <https://bugs.php.net/bugs-generating-backtrace-win32.php>