Bug #81172 [Fbk->Csd]: PHP 8.1alpha doesn't start as an Apache 2 module on Windows

From: Date: Sat, 19 Jun 2021 10:30:10 +0000
Subject: Bug #81172 [Fbk->Csd]: PHP 8.1alpha doesn't start as an Apache 2 module on Windows
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234500@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81172&edit=1

 ID:                 81172
 User updated by:    manchokapitancho at gmail dot com
 Reported by:        manchokapitancho at gmail dot com
 Summary:            PHP 8.1alpha doesn't start as an Apache 2 module on
                     Windows
-Status:             Feedback
+Status:             Closed
 Type:               Bug
 Package:            Apache2 related
 Operating System:   Windows 10
 PHP Version:        8.1.0alpha1
 Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

I think I should close this one despite getting a segfault instead of an error message. 

It seems that it was related to the PATH variable pointing to the wrong (old) PHP folder. Fixing the
path resolved the issue.

Thank you for the hints and sorry for the wrong report!


Previous Comments:
------------------------------------------------------------------------
[2021-06-19 10:12:44] cmb@php.net

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>

------------------------------------------------------------------------
[2021-06-19 09:53:59] manchokapitancho at gmail dot com

This is not my first bug report and I don't see any additional information on the
"how-to-report" page.

The error 
[Sat Jun 19 11:50:51.926123 2021] [mpm_winnt:notice] [pid 8348:tid 900] AH00428: Parent: child
process 13996 exited with status 3221225477 -- Restarting.

is the only thing that is being reported by Apache, if this helps (9 times / request)

------------------------------------------------------------------------
[2021-06-19 09:42:33] cmb@php.net

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

------------------------------------------------------------------------
[2021-06-19 09:04:16] 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)


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=81172&edit=1


Thread (6 messages)

« previous php.bugs (#234500) next »