Guides tagged “php”
Step-by-step MdmHost guides about php, sorted A-Z.
69 guides · page 2 of 4
Enable ionCube or SourceGuardian loader with CloudLinux PHP Selector
Fix "requires the ionCube PHP Loader" errors on cPanel by enabling ionCube or SourceGuardian in CloudLinux PHP Selector, choosing a compatible PHP version and testing.
Enable PHP extensions and change PHP options in CloudLinux PHP Selector
Turn PHP extensions such as imagick, intl and ionCube on or off and change memory_limit, upload_max_filesize and max_execution_time with CloudLinux PHP Selector.
Enable WordPress debug mode and read the debug log
Turn on WP_DEBUG safely to find the plugin or theme behind an error: log to a private file, read debug.log, check PHP error logs in cPanel and switch it off.
Find and fix PHP errors using error_log on cPanel hosting
Locate PHP errors in error_log files and cPanel Errors, read fatal errors and warnings correctly, enable safe debugging and fix the most common PHP messages.
Find website errors with the Plesk Log Browser
Use the Plesk Log Browser to read Apache, Nginx and PHP error logs, filter by status code, watch logs in real time and diagnose 500, 502, 503 and 404 errors.
Find why a WordPress site is slow with CloudLinux X-Ray
Use CloudLinux X-Ray to trace slow PHP requests: see which plugins, database queries and external calls take time, and turn the findings into concrete fixes.
Fix "503 Service Unavailable" on LiteSpeed hosting
Find and fix 503 Service Unavailable errors on LiteSpeed cPanel hosting: PHP processes failing to start, resource limits, crashed PHP extensions, and timeouts in long scripts.
Fix "HTTP error" and failed image uploads in WordPress
Fix WordPress media uploads that fail with "HTTP error", "exceeds the maximum upload size" or "unable to create directory": limits, permissions, image libraries and plugins.
Fix 504 Gateway Timeout in Nginx
A 504 Gateway Timeout means PHP or your app took longer to answer than Nginx was willing to wait. Find the slow request, raise the right timeouts consistently, and fix the root cause.
Fix a 500 Internal Server Error in WordPress
Troubleshoot a WordPress 500 Internal Server Error on cPanel: check error logs, reset .htaccess, fix PHP settings and permissions, and isolate plugins or the theme.
Fix a 500 Internal Server Error on cPanel hosting
Find and fix the cause of a 500 Internal Server Error on any cPanel site: broken .htaccess rules, wrong permissions, PHP version or memory problems and script errors.
Fix file upload size errors on cPanel (upload_max_filesize, 413)
Fix 'file exceeds upload_max_filesize', 413 Request Entity Too Large and failed uploads on cPanel by raising PHP limits correctly, or using FTP for very large files.
Fix Nginx 413 Request Entity Too Large
Nginx returns 413 Request Entity Too Large when an upload is bigger than client_max_body_size. Raise the limit for one site or the whole server, match PHP's limits, and test.
Fix PHP "Allowed memory size exhausted" fatal error
PHP stops a script when it tries to allocate more memory than memory_limit allows. Find the script that hit the limit, raise the limit in the right place, and fix the cause.
Fix the WordPress white screen of death
Fix a blank white WordPress page step by step: find the error in the logs, disable plugins and the theme from File Manager, raise memory and restore if needed.
Host a Laravel application with Plesk Laravel Toolkit
Install the Laravel Toolkit in Plesk, deploy a Laravel app from Git, set the public document root and .env, run Composer, migrations, the scheduler and queues.
How to change the PHP version in OpenLiteSpeed (LSPHP)
Switch an OpenLiteSpeed server or a single site to a newer PHP version by installing the matching LSPHP packages, pointing the external app at the new binary, adding extensions and editing the right php.ini.
How to change the PHP version with CloudLinux PHP Selector in cPanel
Switch your website to a newer or older PHP version with Select PHP Version in cPanel on CloudLinux, test the site and fix errors after an upgrade.
How to fix 500 Internal Server Error on Apache
Track down an Apache 500 Internal Server Error by reading error.log, then fix bad.htaccess directives, missing modules, PHP fatal errors and permission problems.
Imunify360 Proactive Defense explained
How Imunify360 Proactive Defense watches PHP scripts as they run, blocks malicious behaviour from unknown malware, the modes it uses and what to do if it blocks your app.
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.
