{"id":1151,"date":"2026-11-23T03:00:00","date_gmt":"2026-11-23T03:00:00","guid":{"rendered":"https:\/\/vpslake.com\/blog\/?p=1151"},"modified":"2026-11-23T03:00:00","modified_gmt":"2026-11-23T03:00:00","slug":"install-humhub-lamp-almalinux-8","status":"publish","type":"post","link":"https:\/\/vpslake.com\/blog\/2026\/11\/23\/install-humhub-lamp-almalinux-8\/","title":{"rendered":"How to Install HumHub with LAMP Stack on AlmaLinux 8"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Install HumHub with LAMP Stack on AlmaLinux 8 by placing the current packaged release behind Apache, PHP-FPM, and MariaDB. With DNS ready, the server setup and browser wizard take about 20\u201330 minutes on a fresh VPS.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li>AlmaLinux 8.10, fully updated and reachable over SSH.<\/li>\n\n\n<li>Root access or a sudo-enabled user; the commands below use <code>sudo<\/code>.<\/li>\n\n\n<li>At least 2 GB of RAM and 10 GB of free disk space for HumHub, the database, uploads, and logs.<\/li>\n\n\n<li>A domain such as <code>YOUR_DOMAIN<\/code> with an A record pointing to the VPS; ports 80 and 443 must be reachable.<\/li>\n\n\n<li>A Linux server from <a href=\"https:\/\/vpslake.com\/buy-vps\">VPSLake<\/a> with a public IPv4 address.<\/li>\n\n\n<li>A unique database password, HumHub administrator password, and email address for certificate notices.<\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">HumHub\u2019s current requirements call for Apache 2.4, PHP 8.2 or newer, and MariaDB 10.11 or newer. This guide uses PHP 8.3 and MariaDB 10.11, then follows HumHub\u2019s <a href=\"https:\/\/docs.humhub.org\/docs\/admin\/requirements\/\" target=\"_blank\" rel=\"noopener\">official system requirements<\/a> for the required PHP extensions and writable directories.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1: Install Apache, PHP-FPM, MariaDB, and system tools<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Remi repository provides PHP 8.3 for AlmaLinux 8, while MariaDB 10.11 is installed from MariaDB\u2019s own repository because HumHub needs that database generation.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf update -y\nsudo dnf install -y epel-release dnf-plugins-core firewalld httpd mod_ssl curl tar unzip policycoreutils-python-utils\nsudo dnf install -y https:\/\/rpms.remirepo.net\/enterprise\/remi-release-8.rpm\nsudo dnf module reset php -y\nsudo dnf module enable php:remi-8.3 -y\nsudo dnf module disable mariadb -y\nsudo tee \/etc\/yum.repos.d\/mariadb.repo &gt; \/dev\/null &lt;&lt;'REPO'\n[mariadb]\nname=MariaDB 10.11\nbaseurl=https:\/\/rpm.mariadb.org\/10.11\/rhel\/8\/$basearch\ngpgkey=https:\/\/rpm.mariadb.org\/RPM-GPG-KEY-MariaDB\ngpgcheck=1\nenabled=1\nmodule_hotfixes=1\nREPO\nsudo dnf install -y MariaDB-server MariaDB-client php php-cli php-fpm php-mysqlnd php-curl php-gd php-intl php-mbstring php-opcache php-process php-xml php-zip cronie\nsudo tee \/etc\/php.d\/99-humhub.ini &gt; \/dev\/null &lt;&lt;'INI'\nmemory_limit = 256M\nupload_max_filesize = 64M\npost_max_size = 64M\nmax_execution_time = 120\nINI\nsudo systemctl enable --now firewalld httpd mariadb php-fpm crond<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Check the versions and service state before you configure the application.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php -v\nmariadb --version\nsudo systemctl is-active httpd mariadb php-fpm firewalld<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>PHP 8.3.x (cli) ...\nmariadb  Ver 15.1 Distrib 10.11.x-MariaDB ...\nactive\nactive\nactive\nactive<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2: Open the firewall and prepare MariaDB<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Only SSH and web traffic need to enter the VPS; HumHub connects to MariaDB locally, so port 3306 stays closed.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo firewall-cmd --permanent --zone=public --add-service=ssh\nsudo firewall-cmd --permanent --zone=public --add-service=http\nsudo firewall-cmd --permanent --zone=public --add-service=https\nsudo firewall-cmd --reload\nsudo firewall-cmd --list-services<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh dhcpv6-client http https<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Run MariaDB\u2019s hardening wizard and remove anonymous accounts, remote root access, and the test database when prompted.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mariadb-secure-installation<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Create a database dedicated to HumHub. Replace <code>YOUR_DB_PASSWORD<\/code> with a long random value before running the block; do not use your SSH or HumHub administrator password here.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mariadb &lt;&lt;'SQL'\nCREATE DATABASE humhub CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;\nCREATE USER 'humhub'@'localhost' IDENTIFIED BY 'YOUR_DB_PASSWORD';\nGRANT ALL PRIVILEGES ON humhub.* TO 'humhub'@'localhost';\nFLUSH PRIVILEGES;\nSQL\nsudo mariadb -e \"SHOW DATABASES LIKE 'humhub';\"<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Database (humhub)\nhumhub<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3: Download HumHub and apply SELinux-safe permissions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The packaged archive includes HumHub\u2019s production dependencies, so you do not need Composer on the server. This guide pins the current stable 1.18.6 package rather than an obsolete older release. HumHub\u2019s <a href=\"https:\/\/docs.humhub.org\/docs\/admin\/installation\/\" target=\"_blank\" rel=\"noopener\">official setup documentation<\/a> explains the same packaged-release layout.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>HUMHUB_VERSION=1.18.6\ncd \/tmp\ncurl -fL -o \"humhub-${HUMHUB_VERSION}.tar.gz\" \"https:\/\/download.humhub.com\/downloads\/install\/humhub-${HUMHUB_VERSION}.tar.gz\"\nsudo mkdir -p \/var\/www\nsudo tar -xzf \"humhub-${HUMHUB_VERSION}.tar.gz\" -C \/var\/www\nsudo mv \"\/var\/www\/humhub-${HUMHUB_VERSION}\" \/var\/www\/humhub\nsudo cp \/var\/www\/humhub\/.htaccess.dist \/var\/www\/humhub\/.htaccess<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Keep the application code owned by root, while giving PHP-FPM write access only to the directories HumHub needs for configuration, cache, modules, assets, and uploads.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo chown -R root:apache \/var\/www\/humhub\nsudo find \/var\/www\/humhub -type d -exec chmod 0750 {} \\;\nsudo find \/var\/www\/humhub -type f -exec chmod 0640 {} \\;\nsudo chown -R apache:apache \/var\/www\/humhub\/assets \/var\/www\/humhub\/protected\/config \/var\/www\/humhub\/protected\/modules \/var\/www\/humhub\/protected\/runtime \/var\/www\/humhub\/uploads\nsudo semanage fcontext -a -t httpd_sys_content_t '\/var\/www\/humhub(\/.*)?'\nsudo semanage fcontext -a -t httpd_sys_rw_content_t '\/var\/www\/humhub\/assets(\/.*)?'\nsudo semanage fcontext -a -t httpd_sys_rw_content_t '\/var\/www\/humhub\/protected\/config(\/.*)?'\nsudo semanage fcontext -a -t httpd_sys_rw_content_t '\/var\/www\/humhub\/protected\/modules(\/.*)?'\nsudo semanage fcontext -a -t httpd_sys_rw_content_t '\/var\/www\/humhub\/protected\/runtime(\/.*)?'\nsudo semanage fcontext -a -t httpd_sys_rw_content_t '\/var\/www\/humhub\/uploads(\/.*)?'\nsudo restorecon -Rv \/var\/www\/humhub<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The persistent SELinux rules let Apache write to HumHub\u2019s runtime paths without disabling enforcement or making the entire web root writable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4: Configure the Apache virtual host<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Apache serves HumHub\u2019s document root, allows its supplied rewrite file, and passes PHP requests to the PHP-FPM socket.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>YOUR_DOMAIN<\/code> in this block before running it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo tee \/etc\/httpd\/conf.d\/YOUR_DOMAIN.conf &gt; \/dev\/null &lt;&lt;'APACHE'\n&lt;VirtualHost *:80&gt;\n    ServerName YOUR_DOMAIN\n    DocumentRoot \/var\/www\/humhub\n\n    &lt;Directory \/var\/www\/humhub&gt;\n        Options -Indexes +FollowSymLinks\n        AllowOverride All\n        Require all granted\n    &lt;\/Directory&gt;\n\n    &lt;Directory \/var\/www\/humhub\/protected&gt;\n        Require all denied\n    &lt;\/Directory&gt;\n\n    &lt;Directory \/var\/www\/humhub\/uploads\/file&gt;\n        Require all denied\n    &lt;\/Directory&gt;\n\n    &lt;DirectoryMatch \"^\/var\/www\/humhub\/themes\/[^\/]+\/views\"&gt;\n        Require all denied\n    &lt;\/DirectoryMatch&gt;\n\n    &lt;FilesMatch \"^\\.\"&gt;\n        Require all denied\n    &lt;\/FilesMatch&gt;\n\n    &lt;FilesMatch \\.php$&gt;\n        SetHandler \"proxy:unix:\/run\/php-fpm\/www.sock|fcgi:\/\/localhost\"\n    &lt;\/FilesMatch&gt;\n\n    DirectoryIndex index.php\n    ErrorLog \/var\/log\/httpd\/YOUR_DOMAIN-error.log\n    CustomLog \/var\/log\/httpd\/YOUR_DOMAIN-access.log combined\n&lt;\/VirtualHost&gt;\nAPACHE\nsudo apachectl configtest\nsudo systemctl reload httpd<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Syntax OK<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>&lt;Directory&gt;<\/code> restrictions prevent direct access to HumHub\u2019s protected code, uploaded private files, and theme views. <code>AllowOverride All<\/code> is needed for the packaged <code>.htaccess<\/code> rewrite rules.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5: Enable HTTPS with Let\u2019s Encrypt<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">TLS protects logins, posts, file uploads, and session cookies. Run Certbot only after <code>YOUR_DOMAIN<\/code> resolves to this VPS and port 80 is reachable from the internet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Replace <code>ADMIN_EMAIL<\/code> with an address that receives renewal notices.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo dnf install -y certbot python3-certbot-apache\nsudo certbot --apache --redirect --agree-tos --no-eff-email -m ADMIN_EMAIL -d YOUR_DOMAIN\nsudo certbot renew --dry-run<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Congratulations, all simulated renewals succeeded<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Certbot adds the HTTPS virtual host and redirects HTTP requests. It also installs the renewal timer used by <code>certbot renew<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6: Finish the HumHub browser installation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The web installer checks PHP, writes the dynamic configuration, creates HumHub\u2019s tables, and sets the first administrator account.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Open <code>https:\/\/YOUR_DOMAIN\/<\/code> and complete the wizard. Use these database values when the database page appears:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li>Database type: MySQL or MariaDB<\/li>\n\n\n<li>Database host: <code>localhost<\/code><\/li>\n\n\n<li>Database name: <code>humhub<\/code><\/li>\n\n\n<li>Database user: <code>humhub<\/code><\/li>\n\n\n<li>Database password: the value used for <code>YOUR_DB_PASSWORD<\/code><\/li>\n\n\n<li>Database port: <code>3306<\/code><\/li>\n\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Set a separate long password for the first administrator. The installer should report that the system checks passed and finish at the sign-in page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 7: Schedule HumHub background jobs<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">HumHub uses its queue and cron commands for notifications, cleanup, and other delayed work. Running both commands every minute keeps those jobs independent of a user\u2019s browser request.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo tee \/etc\/cron.d\/humhub &gt; \/dev\/null &lt;&lt;'CRON'\nSHELL=\/bin\/bash\nPATH=\/sbin:\/bin:\/usr\/sbin:\/usr\/bin\n\n* * * * * apache \/usr\/bin\/php \/var\/www\/humhub\/protected\/yii queue\/run &gt;\/dev\/null 2&gt;&amp;1\n* * * * * apache \/usr\/bin\/php \/var\/www\/humhub\/protected\/yii cron\/run &gt;\/dev\/null 2&gt;&amp;1\nCRON\nsudo chmod 0644 \/etc\/cron.d\/humhub\nsudo systemctl restart crond<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The <code>apache<\/code> user matches PHP-FPM, so scheduled commands create files with the same ownership as web requests. In HumHub, open <strong>Administration \u2192 Information \u2192 Background jobs<\/strong> after a few minutes to confirm the jobs are being processed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Verify the HumHub installation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Run these checks from SSH, then sign in and load the dashboard. They confirm the services, PHP modules, database, rewrite configuration, cron commands, and public HTTPS response.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl is-active httpd php-fpm mariadb firewalld crond\nphp -m | grep -E 'curl|exif|fileinfo|gd|iconv|intl|mbstring|mysqli|pdo_mysql|zip'\nsudo mariadb -e \"SHOW TABLES FROM humhub;\"\nsudo -u apache \/usr\/bin\/php \/var\/www\/humhub\/protected\/yii help &gt;\/dev\/null &amp;&amp; echo 'HumHub CLI OK'\ncurl -fsSI https:\/\/YOUR_DOMAIN\/<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>active\nactive\nactive\nactive\nactive\nHumHub CLI OK\nHTTP\/2 200<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The module order may differ, and the browser may return a redirect after login. The important results are active services, a non-empty HumHub database, a successful CLI check, and an HTTPS response without a certificate warning.<\/p>\n\n\n\n<aside class=\"vl-element vl-cta-banner\" aria-label=\"Host your HumHub community\">\n\t<div class=\"vl-cta-banner__content\">\n\t\t<p class=\"vl-cta-banner__eyebrow\">AlmaLinux VPS<\/p>\n\t\t<h3 class=\"vl-cta-banner__title\">Host your HumHub community<\/h3>\n\t\t<p class=\"vl-cta-banner__text\">Run a secure Apache, MariaDB, and PHP social network on a Linux VPS.<\/p>\n\t<\/div>\n\t<a class=\"vl-cta-banner__button\" href=\"\/buy-vps\" aria-label=\"View Linux VPS plans\">View Linux VPS plans<\/a>\n<\/aside>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">The installer reports a missing PHP extension<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The PHP CLI and PHP-FPM must use the same enabled stream, and the extension package must be installed. Check the loaded modules, install the missing package, and restart PHP-FPM.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php -v\nphp -m\nsudo dnf install -y php-curl php-gd php-intl php-mbstring php-mysqlnd php-xml php-zip\nsudo systemctl restart php-fpm httpd<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Apache returns <code>503 Service Unavailable<\/code> or <code>502 Bad Gateway<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Apache cannot reach the PHP-FPM socket when the service is stopped or the socket path differs from the virtual host. Confirm the socket and restart both services.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl status php-fpm --no-pager\nsudo ls -l \/run\/php-fpm\/www.sock\nsudo apachectl configtest\nsudo systemctl restart php-fpm httpd<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><code>SQLSTATE[HY000] [1045] Access denied<\/code><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The database password in the installer does not match the local MariaDB account, or the host was entered as <code>127.0.0.1<\/code> instead of <code>localhost<\/code>. Test the exact account interactively, then reset its password if needed.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mariadb -u humhub -p humhub -e 'SELECT 1;'\nsudo mariadb -e \"ALTER USER 'humhub'@'localhost' IDENTIFIED BY 'NEW_DB_PASSWORD'; FLUSH PRIVILEGES;\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Enter the new value in the installer. Keep the host as <code>localhost<\/code> so MariaDB uses the account created in Step 2.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><code>403 Forbidden<\/code> or <code>Permission denied<\/code> after the installer starts<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Unix owner or SELinux context of a writable directory was changed. Reapply the labels and confirm that the Apache user owns HumHub\u2019s runtime paths.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo restorecon -Rv \/var\/www\/humhub\nsudo chown -R apache:apache \/var\/www\/humhub\/assets \/var\/www\/humhub\/protected\/config \/var\/www\/humhub\/protected\/modules \/var\/www\/humhub\/protected\/runtime \/var\/www\/humhub\/uploads\nsudo ausearch -m AVC -ts recent\nsudo systemctl restart php-fpm httpd<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Hardening and maintenance<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n\n<li>Back up the <code>humhub<\/code> database and <code>\/var\/www\/humhub\/uploads<\/code> before upgrades or module changes.<\/li>\n\n\n<li>Keep MariaDB bound to localhost and expose only SSH, HTTP, and HTTPS through <code>firewalld<\/code>.<\/li>\n\n\n<li>In HumHub, review <strong>Administration \u2192 Settings \u2192 Users<\/strong> and disable anonymous registration or require approval if the network is private.<\/li>\n\n\n<li>Check <strong>Administration \u2192 Information \u2192 Logging<\/strong> and <strong>Administration \u2192 Information \u2192 Background jobs<\/strong> during maintenance.<\/li>\n\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">FAQ<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Can I install HumHub without a domain?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can test Apache over the VPS IP address, but a domain is the practical production setup. Let\u2019s Encrypt validates a DNS name, and the application URL should match the hostname that users visit.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why does this guide install MariaDB 10.11 instead of AlmaLinux\u2019s default?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The current HumHub requirements list MariaDB 10.11 or newer as the minimum supported MariaDB version. AlmaLinux 8\u2019s default stream may be older, so the guide uses MariaDB\u2019s official 10.11 repository.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Which HumHub directories must be writable?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The web process needs write access to <code>assets<\/code>, <code>protected\/config<\/code>, <code>protected\/modules<\/code>, <code>protected\/runtime<\/code>, and <code>uploads<\/code>. This guide grants access only to those paths and keeps the rest of the application owned by root.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why are there two cron entries?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The queue command processes queued tasks, while the cron command handles scheduled maintenance and application events. HumHub documents both jobs, and each runs as the same <code>apache<\/code> user used by PHP-FPM here.<\/p>\n\n\n\n<script type=\"application\/ld+json\">{\"@context\": \"https:\/\/schema.org\", \"@type\": \"FAQPage\", \"mainEntity\": [{\"@type\": \"Question\", \"name\": \"Can I install HumHub without a domain?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"You can test Apache over the VPS IP address, but a domain is the practical production setup. Let\u2019s Encrypt validates a DNS name, and the application URL should match the hostname that users visit.\"}}, {\"@type\": \"Question\", \"name\": \"Why does this guide install MariaDB 10.11 instead of AlmaLinux\u2019s default?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"The current HumHub requirements list MariaDB 10.11 or newer as the minimum supported MariaDB version. AlmaLinux 8\u2019s default stream may be older, so the guide uses MariaDB\u2019s official 10.11 repository.\"}}, {\"@type\": \"Question\", \"name\": \"Which HumHub directories must be writable?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"The web process needs write access to `assets`, `protected\/config`, `protected\/modules`, `protected\/runtime`, and `uploads`. This guide grants access only to those paths and keeps the rest of the application owned by root.\"}}, {\"@type\": \"Question\", \"name\": \"Why are there two cron entries?\", \"acceptedAnswer\": {\"@type\": \"Answer\", \"text\": \"The queue command processes queued tasks, while the cron command handles scheduled maintenance and application events. HumHub documents both jobs, and each runs as the same `apache` user used by PHP-FPM here.\"}}]}<\/script>\n\n","protected":false},"excerpt":{"rendered":"Install HumHub with LAMP Stack on AlmaLinux 8 using Apache, PHP 8.3, MariaDB 10.11, HTTPS, and SELinux-safe permissions with a guided browser setup.","protected":false},"author":1,"featured_media":1152,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_singular_sidebar":"","csco_page_header_type":"","csco_page_load_nextpost":"","footnotes":""},"categories":[5,9],"tags":[94,71,149,117,73],"class_list":["post-1151","post","type-post","status-publish","format-standard","has-post-thumbnail","category-guides","category-vps-hosting","tag-almalinux-8","tag-apache","tag-humhub","tag-lamp-stack","tag-mariadb","cs-entry"],"_links":{"self":[{"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/posts\/1151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/comments?post=1151"}],"version-history":[{"count":1,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/posts\/1151\/revisions"}],"predecessor-version":[{"id":4169,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/posts\/1151\/revisions\/4169"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/media\/1152"}],"wp:attachment":[{"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/media?parent=1151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/categories?post=1151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vpslake.com\/blog\/wp-json\/wp\/v2\/tags?post=1151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}