Hello again everyone! Merry Christmas!
After getting PHP 7.4 extensions compiled correctly Apache set at it's default mpm_prefork I received a white page processing PHP. I then proceeded to follow a Digital Ocean guide here to setup and configure PHP-FPM (which is the type of configuration I was looking for).
After setting it up; I still am having difficulties processing PHP.
Here are my following logs at the moment:
Apache/2.4.41 - (the mpm_prefork:notice was prior to the configuration and reboot):
PHP-FPM log:
Either way I was receiving a positive "It Works!" ; I am wondering if it has to do with PHP 7.4.
The CLI output for
Any pointers would be extremely helpful! Thanks a bunch everyone!
After getting PHP 7.4 extensions compiled correctly Apache set at it's default mpm_prefork I received a white page processing PHP. I then proceeded to follow a Digital Ocean guide here to setup and configure PHP-FPM (which is the type of configuration I was looking for).
After setting it up; I still am having difficulties processing PHP.
Here are my following logs at the moment:
Apache/2.4.41 - (the mpm_prefork:notice was prior to the configuration and reboot):
Code:
root@sharpenyoursword:/var/log # tail -f httpd-error.log
[Thu Dec 19 08:54:25.299972 2019] [core:notice] [pid 38691] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Fri Dec 20 13:47:08.288471 2019] [mpm_prefork:notice] [pid 38691] AH00169: caught SIGTERM, shutting down
[Fri Dec 20 13:47:08.409077 2019] [mpm_event:notice] [pid 20099:tid 34370666496] AH00489: Apache/2.4.41 (FreeBSD) configured -- resuming normal operations
[Fri Dec 20 13:47:08.409765 2019] [core:notice] [pid 20099:tid 34370666496] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Fri Dec 20 13:56:22.730946 2019] [mpm_event:notice] [pid 20099:tid 34370666496] AH00491: caught SIGTERM, shutting down
[Fri Dec 20 13:56:22.821000 2019] [mpm_event:notice] [pid 33126:tid 34370666496] AH00489: Apache/2.4.41 (FreeBSD) configured -- resuming normal operations
[Fri Dec 20 13:56:22.821442 2019] [core:notice] [pid 33126:tid 34370666496] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Fri Dec 20 13:56:39.228291 2019] [mpm_event:notice] [pid 33126:tid 34370666496] AH00491: caught SIGTERM, shutting down
[Fri Dec 20 13:59:25.214516 2019] [mpm_event:notice] [pid 76006:tid 34370666496] AH00489: Apache/2.4.41 (FreeBSD) configured -- resuming normal operations
[Fri Dec 20 13:59:25.216401 2019] [core:notice] [pid 76006:tid 34370666496] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
Code:
root@sharpenyoursword:/var/log # tail -f php-fpm.log
[20-Dec-2019 13:56:17] NOTICE: configuration file /usr/local/etc/php-fpm.conf test is successful
[20-Dec-2019 13:56:17] NOTICE: fpm is running, pid 27745
[20-Dec-2019 13:56:17] NOTICE: ready to handle connections
[20-Dec-2019 13:56:43] NOTICE: Finishing ...
[20-Dec-2019 13:56:43] NOTICE: exiting, bye-bye!
[20-Dec-2019 13:59:21] NOTICE: configuration file /usr/local/etc/php-fpm.conf test is successful
[20-Dec-2019 13:59:21] NOTICE: fpm is running, pid 6246
[20-Dec-2019 13:59:21] NOTICE: ready to handle connections
The CLI output for
php -v
is the following either way:
Code:
root@sharpenyoursword:/var/log # php -v
PHP 7.4.0 (cli) (built: Dec 14 2019 18:35:13) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.0, Copyright (c), by Zend Technologies
root@sharpenyoursword:/var/log #
Last edited by a moderator: