Guides tagged “php”
Step-by-step MdmHost guides about php, sorted A-Z.
69 guides · page 1 of 4
Change PHP limits with the cPanel MultiPHP INI Editor
Raise memory_limit, upload_max_filesize, post_max_size and max_execution_time in cPanel or WHM with the MultiPHP INI Editor, per PHP version or per domain.
Change PHP settings (php.ini) and extensions in DirectAdmin
Raise memory_limit, upload size and execution time in DirectAdmin using the PHP settings page, .user.ini or the admin-level php.ini, and enable PHP extensions as admin.
Change PHP settings in Plesk: memory_limit, upload size and more
Raise memory_limit, upload_max_filesize, post_max_size and max_execution_time per domain in Plesk, choose PHP-FPM handlers and add custom php.ini directives.
Change the PHP version and PHP settings per domain in Plesk
Change the PHP version for one domain in Plesk and edit its php.ini values, including memory_limit, upload_max_filesize and max_execution_time.
Change the PHP version per domain with cPanel MultiPHP Manager
Set a different PHP version for each domain in cPanel MultiPHP Manager, check compatibility before upgrading, and know when to use Select PHP Version instead.
Choose and change the PHP version for WordPress
Pick a supported PHP version for WordPress, check plugin and theme compatibility, switch versions in cPanel with Select PHP Version or MultiPHP and roll back if needed.
CloudLinux hardened PHP explained: are old PHP versions safe?
What CloudLinux hardened PHP (alt-php) is, how it backports security fixes to end-of-life PHP versions, its limits, and why you should still plan an upgrade.
CloudLinux memory limit (PMEM) errors: causes and fixes
Fix 500 and 503 errors caused by the CloudLinux physical memory limit: find memory faults, tell them apart from PHP memory_limit errors, and reduce memory use.
CloudLinux PHP Selector vs cPanel MultiPHP Manager: which one to use
The difference between CloudLinux Select PHP Version and cPanel MultiPHP Manager, which one controls your site's PHP on MdmHost, and how to avoid conflicts.
Configure CloudLinux PHP Selector as root: versions, defaults and extensions
Set up CloudLinux PHP Selector for your users as root: install alt-php versions, choose the default version, default extensions and options, and fix selector issues.
Configuring PHP-FPM process manager settings for specific RAM constraints
Calculate safe PHP-FPM process manager values from real memory use, then set pm.max_children and related pool limits so PHP stops exhausting RAM on your Linux VPS.
cPanel cron job not running? Troubleshooting and correct command formats
Fix cron jobs in cPanel that do not run or fail silently: correct PHP paths, absolute file paths, output emails, URL-based crons, timing syntax and logging.
Create cron jobs in DirectAdmin
Schedule commands and PHP scripts with DirectAdmin Cron Jobs, write correct cron times, choose the right PHP binary, log output and stop unwanted emails.
Customise WHMCS safely with hooks
Learn how WHMCS hooks work, where hook files live, write a simple hook for client area or invoice events, debug it, and keep custom code upgrade-safe.
CyberPanel PHP versions and LiteSpeed Cache per site
Install extra lsphp builds in CyberPanel, choose the PHP version for each website, and enable LiteSpeed Cache for WordPress with checks that prove it is working.
Deploy a Laravel app on cPanel hosting
Host a Laravel application on cPanel: upload or clone the code, point the domain to the public folder, run Composer, set .env, migrate the database and schedule tasks.
DirectAdmin: switch PHP versions per domain
Set the PHP version for one domain in DirectAdmin and edit that domain's php.ini limits, then verify the change with phpinfo and PHP-FPM.
Docker Compose for WordPress: Nginx, PHP-FPM and MariaDB
Build a WordPress stack with Docker Compose using separate Nginx, PHP-FPM and MariaDB containers, a persistent wp-content volume and a free Let's Encrypt certificate.
EasyApache 4 guide: profiles, modules and PHP versions
Use EasyApache 4 in WHM to add Apache modules and PHP versions, save your setup as a custom profile, and roll back to a known good profile after a bad change.
Enable and tune PHP-FPM in cPanel
Turn on PHP-FPM per domain in WHM, size the pool with Max Children and Max Requests to fit your RAM, and fix "max_children reached" warnings.
Browse by topic
- Getting startedYour first hour with a new server: access, logins and basics.69 guides
- cPanelFiles, databases, email, domains and every cPanel tool, step by step.37 guides
- WHM & resellingWHM, packages, reseller accounts, WHMReseller and running a hosting brand.49 guides
- WordPressInstall, secure, speed up, migrate and fix WordPress sites.40 guides
- Email & webmailMailboxes, webmail, forwarders, spam filters and email delivery.37 guides
- DomainsRegistering, transferring and managing domains and nameservers.20 guides
- SSL certificatesFree AutoSSL, Let's Encrypt, paid certificates and HTTPS.19 guides
- CloudLinuxCloudLinux setup and use: LVE limits, CloudLinux Manager, CageFS and PHP/Node.js selectors.31 guides
- LiteSpeedLiteSpeed Web Server, LSCache and the LiteSpeed Cache plugin: install, settings and tuning.30 guides
- Imunify360Malware scanning, firewall and proactive defence with Imunify360.23 guides
- SoftaculousInstall, update, clone and back up apps with Softaculous.23 guides
- WP SquaredcPanel's WordPress platform: sites, plugins, staging and backups.9 guides
- SitePadBuild and publish websites with the SitePad builder.9 guides
- SitejetDesign, edit and publish sites with the Sitejet builder.9 guides
- WHMResellerAlpha and master resellers with WHMReseller: install, setup and use.12 guides
- VirtFusionInstall, set up and manage VirtFusion: hypervisors, packages, servers and WHMCS integration.7 guides
- VirtualizorManage your VPS with Virtualizor: power, OS reinstall, VNC, IPs and backups.30 guides
- PleskWebsites, email, databases and settings in the Plesk panel.52 guides
- DirectAdminUsers, domains, email and reseller tools in DirectAdmin.40 guides
- WHMCSBilling, automation, products and client management with WHMCS.51 guides
- Control panelscPanel & WHM, Plesk, DirectAdmin and other panels on your VPS.106 guides
- SecurityKeys, passwords, firewalls and keeping a server patched.115 guides
- Networking & DNSIP addresses, reverse DNS, ports and traffic.34 guides
- Websites & appsWeb servers, WordPress, PHP, Node.js, SSL and app hosting.52 guides
- DatabasesMySQL, MariaDB, PostgreSQL, Redis and MongoDB on a VPS.64 guides
- Billing & accountInvoices, renewals, the client area and your account.9 guides
- TroubleshootingWhen something is not working: checks and fixes.68 guides
- Linux VPSSSH, packages, services and everyday Linux administration.70 guides
- Windows VPS & RDPRemote Desktop, Windows Server settings and Admin RDP tips.58 guides
- Docker & DevOpsContainers, Git deploys, automation, monitoring and backups.58 guides
Still stuck?
Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.
