Slackware 15.0 PHP INOP
Hello,
I'm bringing up a new server with Slackware 15.0. It's meant to replace a 14.2 server that is showing its age. There's a LOT of stuff to get working. Right now, attempting to get phpmyadmin up.
I installed phpmyadmin with the slackBuild. When I try to run it, I get the following:
-------------- snip ------------------
PHP 7.2.5+ is required.
Currently installed version is: ' . PHP_VERSION . '
'); } // phpcs:disable PSR1.Files.SideEffects define('PHPMYADMIN', true); // phpcs:enable require_once ROOT_PATH . 'libraries/constants.php'; /** * Activate autoloader */ if (! @is_readable(AUTOLOAD_FILE)) { die( '
File ' . AUTOLOAD_FILE . ' missing or not readable.
' . '
Most likely you did not run Composer to ' . '' . 'install library files.
' ); } require AUTOLOAD_FILE; global $route, $containerBuilder, $request; Common::run(); $dispatcher = Routing::getDispatcher(); Routing::callControllerForRoute($request, $route, $dispatcher, $containerBuilder);
-------------- endsnip ---------------
If I say "php --version" from the CLI, I get
--------------- snip -----------------
PHP 7.4.27 (cli) (built: Dec 16 2021 13:00:17) ( ZTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.27, Copyright (c), by Zend Technologies
--------------- endsnip --------------
...So php does work. Yet the first snip shows php not functioning
at all. Instead of displaying the php version, it says "PHP_VERSION" -
some sort of text substitution that's not working.
I wrote a little tiny program:
-------------- snip ---------------
<?php
phpinfo();
?>
-------------- endsnip ------------
When I run that by aiming my browser at it, the http server segfaults.
------------ snip -----------------
[Fri Feb 02 14:12:25.789621 2024] [core:notice] [pid 1313:tid 139928041453504] AH00052: child pid 26009 exit signal Segmentation fault (11)
[Fri Feb 02 14:12:25.789715 2024] [core:notice] [pid 1313:tid 139928041453504] AH00052: child pid 26064 exit signal Segmentation fault (11)
[Fri Feb 02 14:12:25.789775 2024] [core:notice] [pid 1313:tid 139928041453504] AH00052: child pid 26065 exit signal Segmentation fault (11)
[Fri Feb 02 14:12:25.789860 2024] [core:notice] [pid 1313:tid 139928041453504] AH00052: child pid 26073 exit signal Segmentation fault (11)
[Fri Feb 02 14:12:25.789936 2024] [core:notice] [pid 1313:tid 139928041453504] AH00052: child pid 26089 exit signal Segmentation fault (11)
[Fri Feb 02 14:12:27.794510 2024] [core:notice] [pid 1313:tid 139928041453504] AH00052: child pid 26179 exit signal Segmentation fault (11)
[Fri Feb 02 14:12:28.799836 2024] [core:notice] [pid 1313:tid 139928041453504] AH00052: child pid 26207 exit signal Segmentation fault (11)
[Fri Feb 02 14:12:28.800082 2024] [core:notice] [pid 1313:tid 139928041453504] AH00052: child pid 26208 exit signal Segmentation fault (11)
[Fri Feb 02 14:12:29.812812 2024] [core:notice] [pid 1313:tid 139928041453504] AH00052: child pid 26267 exit signal Segmentation fault (11)
[Fri Feb 02 14:12:29.813102 2024] [core:notice] [pid 1313:tid 139928041453504] AH00052: child pid 26282 exit signal Segmentation fault (11)
------------ endsnip --------------
I did enable mod_php by uncommenting the line in /etc/httpd/httpd.conf that includes mod_php.conf.
Anybody have a clue?
- Jerryk
|