LAMP stack installed comfortably –
PHP 7.2.24 (cli) (built: Oct 22 2019 08:28:36) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.24, Copyright (c) 1999-2018, by Zend Technologies with Xdebug v2.9.7, Copyright (c) 2002-2020, by Derick Rethans
So, credits are available, services running:
systemctl status httpd
● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled) Drop-In: /usr/lib/systemd/system/httpd.service.d └─php-fpm.conf Active: active (running) (thawing) since Sat 2020-09-26 21:22:07 EEST; 17h ago Docs: man:httpd.service(8) Main PID: 82109 (httpd) Status: "Total requests: 5; Idle/Busy workers 100/0;Requests/sec: 7.77e-05; Bytes served/sec: 4 B/sec" Tasks: 278 (limit: 90811) Memory: 39.2M CGroup: /system.slice/httpd.service ├─82109 /usr/sbin/httpd -DFOREGROUND ├─82122 /usr/sbin/httpd -DFOREGROUND ├─82131 /usr/sbin/httpd -DFOREGROUND ├─82142 /usr/sbin/httpd -DFOREGROUND ├─82144 /usr/sbin/httpd -DFOREGROUND └─83493 /usr/sbin/httpd -DFOREGROUND rugs. 26 21:22:07 e565-leopard systemd: Starting The Apache HTTP Server... rugs. 26 21:22:07 e565-leopard systemd: Started The Apache HTTP Server. rugs. 26 21:22:08 e565-leopard httpd: Server configured, listening on: port 80
service mysqld status
● mysqld.service - MySQL 8.0 database server Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled) Active: active (running) since Sat 2020-09-26 20:35:26 EEST; 18h ago Main PID: 72497 (mysqld) Status: "Server is operational" Tasks: 40 (limit: 90811) Memory: 448.3M CGroup: /system.slice/mysqld.service └─72497 /usr/libexec/mysqld --basedir=/usr rugs. 26 20:35:14 e565-leopard systemd: Starting MySQL 8.0 database server... rugs. 26 20:35:15 e565-leopard mysql-prepare-db-dir: Initializing MySQL database rugs. 26 20:35:26 e565-leopard systemd: Started MySQL 8.0 database server.
Connecting to local host is easy and simple:
Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 18 Server version: 8.0.17 Source distribution Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> quit quit
In general, it doesn’t offer too much convenience in terms of PHP versions contrary to XAMPP distribution, allowing to recompile PHP on the run. However, it’s easily solvable by a –prefix=/opt/php-vX setup, meaning that APX and portable HTTPD runtime libraries are present in the system, whereas a PHP recompile isn’t taking too much time nor efforts – in this case.