Solved AH00052: child pid 96403 exit signal Segmentation fault (11) apache24

Hi,
Server basically is used for cacti. Not used very much. When trying to go to the site firefox will display The connection was reset access attempts to port 80 and if going to port 443 it will display Error code: SSL_ERROR_RX_RECORD_TOO_LONG

Figuring the self-signed certificate was too old, create new self-signed certificate and restarted apache24. Exact same results.

Looked at /var/log/www/http-error.log it has
Code:
[Thu May 12 01:19:07.552068 2022] [core:notice] [pid 96379] AH00052: child pid 96403 exit signal Segmentation fault (11)

Removing cacti and php80 and subsequently installing cacti and php80 either by pkg install or by portmaster it doesn't make a difference as the the page doesn't load.
Created a simple phpinfo.php page and a <VirtualHost :80> just to test, the result is the same. Segmentation fault.
Server is running 12.3-RELEASE-p1 FreeBSD 12.3-RELEASE-p1 GENERIC amd64

Any idea of what might be causing this?


Thanks.
 
Simplify things - comment out PHP and see if you can get Apache to deliver HTML over port 80 and then 443.

Then work on PHP.

You don’t say if using mod_php or php-fpm.

Base OpenSSL or ports or LibreSSL?

It might be a mismatch between pkgs and ports if you’ve mixed them. If building from ports you might need to rebuild Apache and php and php-fpm but that all really depends on what you are doing and how.

So make it simpler and start with getting Apache to deliver static content on port 80 then try 443.

If that works you know Apache and SSL are OK so move up to the PHP layer.
 
Hi,
If going to that server for plain :80 the default index.html loads ... 'It Works' is displayed in firefox.
Going to same index.html page with :443 also works and displays 'It Works'

So I did earlier pkg remove php80 and then tried installing using portmaster --packages. Obviously that did not help.

Thanks.
 
Back
Top