Knowledgebase

Viewing articles tagged 'php'

403 Forbidden The server refused to serve the request.WHAT IT MEANSAccess denied. Either permissions, a rule,... 500 Internal Server Error The server encountered something it could not handle.WHAT IT MEANSA general failure. The specific... 502 Bad Gateway The server received an invalid response from an upstream process.WHAT IT MEANSSomething between... A Complete Migration Checklist Every step, in order.BEFORERegistrar access confirmed Current host access confirmed Full backup... A Developer's Monthly Routine Maintenance across the projects you look after.FOR EACH PROJECTApply available updates, having... A Developer's Pre-Launch Checklist Before a site goes live.TECHNICALPHP version current and supported Required extensions... A Failed Update Broke the Site The most common reason to need a backup.IMMEDIATE ACTIONIf you took a backup before updating,... A Speed Improvement Plan What to do, in order.STEP ONE: MEASURERun a speed test on three pages. Note the page size and the... A Store Health Check to Run Quarterly Ninety minutes, four times a year.TECHNICALWooCommerce > Status, and clear every warning PHP... Adding a Contact Form to Your WordPress Site Publishing your email address invites spam. A contact form is safer and easier for visitors.... Adjusting PHP Settings with MultiPHP INI Editor This tool changes PHP limits per domain without editing files by hand.BASIC MODEIn cPanel open... Application Maintenance Routine What to do, and how often.WEEKLYApply available updates, having backed up Check the site loads... Application Requirements Reference What to check before installing anything.PHP VERSIONEach application states a minimum and a... Application Update Failed An update that did not complete.WHAT USUALLY HAPPENSThe update downloads, begins, and fails... Assessing Legacy PHP Code Judging what you have.WHAT TO LOOK FORThe PHP version required Whether queries are parameterised... Backing Up a WordPress Site Completely Everything a WordPress site needs.WHAT MUST BE INCLUDEDThe database, which holds posts, pages,... Backup Strategy for a VPS On a VPS, backups are entirely your responsibility unless you have bought them.WHAT TO BACK... Bidding in Domain Auctions Buying by auction.WHEREzillionkinghost.com/billing/index.php?m=domain_auctionHOW IT WORKSDomains... Blank White Page Nothing displays at all.WHAT IT MEANSPHP stopped and errors are not being displayed, which is... Blocking Bad Traffic at the Application Level Reducing load from requests you do not want.IDENTIFYING ITThe access log. Extracting and counting... Blocking Brute-Force Attacks on wp-login.php Automated bots hammer /wp-login.php and /xmlrpc.php on every WordPress site on the internet. Even... Blocking Execution in Upload Directories A single measure that prevents a class of attack.THE ATTACKAn attacker finds a way to upload a... Blocking Unwanted IP Addresses with IP Blocker IP Blocker stops specific addresses or ranges from reaching your sites at all.BLOCKING AN... Brute-Force Attacks and How to Stop Them Brute forcing means trying password after password against a login page. Bots do this against... Building a Simple Security Routine Security is maintenance, not a project you finish. A short routine beats an occasional large... Building an API on Shared Hosting Practical considerations.WHAT WORKSA PHP API using any framework, or none. This is ordinary web... Building Services on Google Platforms Commercial considerations.WHAT BUILDING ON THESE PLATFORMS PROVIDESCapability you could not build... Buying an Established Domain From the Domain Market Purchasing a domain someone else owns.WHAT IT ISA marketplace of registered domains listed for... Caching as the First Answer Why it fixes most resource problems.WHAT IT DOESServes a stored copy instead of building the... Caching Explained Caching stores the result of work already done so it does not have to be repeated. It is the... Caching on a VPS Multiple layers, each solving a different problem.OPCODE CACHINGOPcache stores compiled PHP so it... Caching Plugins and Performance Tools Making applications fast.ON OUR SERVERSWe run LiteSpeed, so the LiteSpeed Cache plugin uses... Caching Strategies for Developers Making an application fast.THE LAYERSOpcode caching: OPcache, which removes PHP recompilation.... Cannot modify header information in wp-config or functions Whitespace before or after the PHP tags.WHAT IT MEANSOutput was sent before WordPress could set... Cart Emptying or Not Updating Items disappear from the cart, or the cart count is wrong.THE USUAL CAUSECaching. The cart is... Changing Your PHP Version How to do it safely.BEFORE ANYTHINGTake a full backup.CHECK COMPATIBILITYConfirm your... Changing Your PHP Version for WordPress Newer PHP versions are faster and more secure. Older ones are eventually retired and stop... Changing Your PHP Version with MultiPHP Manager Different sites on one account can run different PHP versions.CHANGING THE VERSIONIn cPanel open... Checking Whether a Domain Is Available Before you commit to a name.THE SEARCHVisit... Checking Whether an Application Will Run on Your Plan Before you commit time to something.WHAT TO CHECKPHP version required, against what your plan... Checking Your PHP Version Finding out what you are running.IN CPANELThe PHP selector shows the current version for your... Checkout Errors and Failures When customers cannot complete a purchase.FIRST, REPRODUCE ITBuy something yourself, as a guest,... Choosing a Language for a Project Making the decision.WHAT TO ASSESSWhat the project actually requires What your team knows What... Choosing a Stack for Your Project Matching the technology to the hosting.WHAT RUNS EASILY ON SHARED HOSTINGPHP applications of any... Choosing Hosting for an Online Store A shop needs more than a brochure site.WHAT MATTERSMemory. Set memory_limit to at least 256M.... Choosing the Right PHP Version PHP runs most websites on our servers, and the version matters for both speed and... Choosing VPS Specifications Sizing a server for what you actually run.START FROM THE WORKLOADA single WordPress site with... Choosing What You Actually Need Avoiding buying the wrong thing.FOR A SIMPLE WEBSITEShared Hosting and a domain name. That is all... Choosing Where to Optimise The order that gives results.THE HONEST ORDERCompress and resize images. Almost always the... Cleaning Up a Bloated WordPress Database Over time the database fills with data no visitor ever sees, which slows queries and inflates... Cleaning Up Database Bloat Reclaiming size and speed.WHERE BLOAT ACCUMULATESPost revisions, one per edit, indefinitely... Cleaning Up WordPress Revisions and Transients The two largest sources of bloat.REVISIONSWordPress stores a copy of a post every time it is... Cloudflare Pages and Static Hosting Hosting a site at Cloudflare itself.WHAT IT ISHosting for static sites, built from a repository... Common PHP Security Failures What actually goes wrong.OUTDATED PHP OR DEPENDENCIESKnown vulnerabilities, publicly documented... Common Questions About ZillionKingHost AI Short answers.CAN IT SEARCH THE INTERNET?Depending on your configuration and plan. Where search... Composer and Dependency Management Using libraries.WHAT COMPOSER ISThe standard tool for managing PHP dependencies.WHAT IT... Configuring PHP for WooCommerce Default PHP limits are set for ordinary websites, not shops.RECOMMENDED VALUEScPanel >... Creating a Cron Job in cPanel Step by step.WHEREcPanel, Advanced, Cron Jobs.WHAT TO ENTERA schedule, using the dropdowns or the... Creating an Account Before Ordering Setting up your client account.WHETHER YOU NEED ONE FIRSTNo. You can create an account during... Creating and Managing Cron Jobs A cron job runs a command automatically on a schedule.CREATING ONEIn cPanel open Cron Jobs under... Cron job not running or producing errors Scheduled tasks failing.FIRST, CONFIRM IT IS SETcPanel > Cron Jobs. Check the entry exists and... Cron Jobs on Shared Hosting A cron job runs a command automatically on a schedule.CREATING ONEcPanel > Cron Jobs. Choose... Cron Jobs: Everything That Matters, Briefly The whole category in one page.THE MOST IMPORTANT POINT ON OUR SERVERSHTTP wp-cron is blocked... Cron Scripts and Scheduled Tasks Running things automatically.CREATING ONEcPanel > Cron Jobs. Set the interval and the command,... Customising Your Shop Without Breaking It How to make changes that survive updates.USE A CHILD THEMEIf you edit theme files directly, the... Database is slow or queries timing out The database is the bottleneck.IDENTIFYING ITA profiling tool shows time spent in database... Dates and Times in PHP Temporal values.WHAT TO USEThe object-based date handling, rather than older function-based... Debugging Laravel Applications Finding problems.WHERE TO LOOK FIRSTThe application log.WHAT IT CONTAINSThe exception, the... Dedicated IPs and Site Speed: No Effect A dedicated IP does not make a website faster.WHY NOTThe address is how traffic is routed to the... Deploying on cPanel: Everything That Matters, Briefly The summary.NEVER UPLOAD A LARAVEL PROJECT INTO THE PUBLIC DIRECTORY AS IT STANDSEverything... Deprecated: Function is deprecated A warning about future breakage.WHAT IT MEANSThe code uses something that still works and will be... Diagnosing 500 Errors The server reporting that something failed.THE FIRST PLACE TO LOOKcPanel > Metrics >... Diagnosing a 500 Internal Server Error The generic error.WHAT IT MEANSSomething failed and the server could not produce a page.It is... Diagnosing a Blank Page The white screen.WHAT IT MEANSA fatal PHP error with error display disabled.The server produced... Diagnosing a White Screen No error, no content, nothing.WHAT IT MEANSPHP stopped and errors are not being displayed, which... Diagnosing Issues After a Migration The site worked before the move.THE COMMON CAUSESDatabase credentials not updated, or the cPanel... Diagnosing Slow PHP Execution When pages take too long.WHAT TO ESTABLISH FIRSTWhether it is all pages or some Whether it... Disabling the WordPress Theme and Plugin File Editor The built-in editor under Appearance and Plugins lets anyone with administrator access write PHP... Disabling XML-RPC on WordPress xmlrpc.php allows remote applications to talk to WordPress. It is also routinely abused for... Do You Actually Need a VPS? Most people asking do not, and some genuinely do.YOU PROBABLY DO IFYou need root access or custom... Drupal Database Notes Working with a Drupal installation.THE CONFIGURATIONsettings.php holds the database credentials,... Drupal: Common Problems Frequent issues and their causes.WHITE SCREENEnable error display temporarily in settings.php, or... Drupal: Installation and First Steps Powerful, and more demanding than most alternatives.WHO IT SUITSComplex content structures, many... Editing Files from the Command Line Making changes without a file manager.THE EDITORSnano is simple. Controls are shown at the bottom... Editing Files Safely Making changes without breaking things.THE RULECopy before you edit. Always.Name the copy... Enabling Debug Logging Getting errors recorded rather than hidden.WHYA live site should not display errors, because they... Enabling WP_DEBUG and Finding Your Error Logs When something breaks, the log tells you exactly what failed. Guessing is slower. WordPress debug... Entry processes limit reached Too many simultaneous requests.WHAT IT MEANSYour account has a limit on concurrent PHP processes.... Error 520: Unexpected Response From Origin Cloudflare could not understand our reply.WHAT IT MEANSOur server returned something Cloudflare... Error establishing a database connection The application could not reach its database.WHAT IT MEANSThe credentials are wrong, the user... Error Handling in PHP Failing properly.WHAT PHP PRODUCESErrors, at several levels of severity Exceptions, which can be... Errors That Are Not Actually Errors Messages that look alarming and are not.DEPRECATION NOTICESA warning that something will be... Escalating a Network Problem Effectively Getting help.WHAT TO ESTABLISH FIRSTWhat exactly fails When it started Who and what is affected... Evaluating an Application Before You Commit Questions to ask.MAINTENANCEWhen was the last release? Is there active development? How quickly... Every Way to Order, Summarised Routes to placing an order.THROUGH THE WEBSITEzillionkinghost.com, using the navigation... Everything Worked Yesterday The general case of a sudden failure.WHAT CHANGED AT YOUR ENDAn update applied, possibly... Existing Applications: Everything That Matters, Briefly The summary.WHEN INHERITING AN APPLICATIONBack up, change every credential you control, and put... Fatal error: Allowed memory size exhausted The script used more memory than permitted.WHAT IT MEANSPHP reached its memory limit and... Fatal error: Call to undefined function The code called something that does not exist.WHAT IT MEANSA function was called, and PHP could... Fatal error: Maximum execution time exceeded The script ran longer than permitted.WHAT IT MEANSPHP stopped a script that exceeded its time... Finding PHP Errors Where the information is.THE ERROR LOGcPanel, Errors. Or the error log file in your account.That... Finding What Is Using Disk Space or Memory Diagnosing resource consumption.DISK SPACEdf -h shows usage by filesystem, which tells you... Finding Which Database Belongs to Which Site Untangling a multi-site account.THE RELIABLE METHODRead each site's configuration file.WordPress:... Finding Your Login Details After Ordering Where everything is.YOUR WELCOME EMAILSent after your service is set up. It contains:Your cPanel... Fixing "Allowed Memory Size Exhausted" PHP ran out of memory mid-request. It appears as a white screen, a partially rendered page, or an... Fixing "Briefly Unavailable for Scheduled Maintenance" WordPress creates a file named .maintenance in the root while it updates, and deletes it when... Fixing "Error Establishing a Database Connection" WordPress cannot reach or authenticate to its database. There are four realistic causes. 1. Wrong... Fixing "Sorry, This File Type Is Not Permitted for Security Reasons" WordPress only allows a fixed list of file types in the media library. Option 1 — use an allowed... Fixing 404 Errors on Every Page Except the Homepage If the homepage loads but every other page returns "Page not found", the rewrite rules are... Fixing 502 and 504 Gateway Timeout Errors The web server waited too long for PHP to respond. The request was too slow, not necessarily... Fixing a 500 Internal Server Error A 500 error is the web server reporting that something failed without saying what. Work through... Fixing Image Upload Errors in WordPress "Unable to create directory", "The uploaded file could not be moved" and HTTP errors during... Fixing the WordPress Login Page Refresh Loop You enter correct credentials, the page reloads, and you are back at the login form with no... Fixing the WordPress Site URL in the Database When you cannot reach the admin.WHEN YOU NEED THISAfter a migration, where the site redirects to... Fixing the WordPress White Screen of Death A completely blank page with no error message almost always means a PHP fatal error with error... Forms on a Static Site Collecting submissions without a server.THE PROBLEMA static site has nothing to process a form... Forums and Community Software Running a discussion community.THE OPTIONSphpBB: free, mature, widely used, straightforward to... Frequently Asked Questions About ZillionKingHost AI The common ones.IS IT ACCURATE?It produces plausible text. Verify anything factual, particularly... Getting Development Support from Us What we cover, and what is yours.WHAT WE HELP WITHServer configuration questions PHP versions and... Getting Help With the Marketplace Support.WHAT SUPPORT CAN HELP WITHAccount and access problems A sale that has stalled A payment... Getting Help With Your Migration What we can do.WHAT WE CAN HELP WITHPerforming the transfer, in many cases Advising on the... Getting Help With ZillionKingHost AI Where to ask.FOR ACCOUNT AND BILLING QUESTIONSOpen a ticket at... Getting Started With ZillionKingHost AI Your first session.BEFORE YOU STARTYou need a ZillionKingHost account. Register at... Getting Support for Third-Party Applications Who helps with what.WHAT WE COVERServer configuration: PHP versions, extensions, limitsDatabase... Handling File Uploads Securely One of the most exploited features in any application.THE RULESValidate the file type on the... Handling High Traffic on Shared Hosting Getting the most from a constrained environment.THE PRINCIPLEServe as many requests as possible... Handling Passwords Correctly Authentication storage.WHAT TO NEVER DOStore passwords in readable form Use general-purpose... Handling Reviews and User Support Responding to users.WHAT REVIEWS PROVIDEFeedback you did not solicit A signal to prospective... Handling Sessions and State Where user state lives.DEFAULT BEHAVIOURPHP stores session data in files on the server by... Handling Traffic with a Reverse Proxy Nginx in front of an application server.WHAT IT DOESReceives requests, serves static files... Handling Uploads Safely in PHP Accepting files.WHAT TO VALIDATEThat a file was actually uploaded Its size Its type, determined... Helping Clients with WordPress Problems Most reseller clients run WordPress, and most of their problems are the same few.WHITE... Hidden Files and Why They Matter Files you cannot see by default.WHAT THEY AREFiles whose names begin with a full stop.The most... Hiding Configuration and Sensitive Files Files that must never be publicly reachable.WHAT MUST NOT BE PUBLICConfiguration files containing... Hiding Sensitive Files from Public Access Anything inside public_html is reachable by anyone who guesses the URL, whether or not you linked... Hosting a Static Site The simplest case.WHAT YOU NEEDHosting that serves files. Any plan.HOW TO PUBLISHUpload the files... How a PHP Request Is Handled The request lifecycle.WHAT HAPPENSA request arrives at the web server The server passes it to PHP... How to Buy a .com.ng Domain The standard Nigerian extension.WHY CHOOSE ITWidely understood by Nigerian customers as a local... How to Buy a .ng Domain The shorter Nigerian extension.WHAT IT ISThe top-level Nigerian extension, shorter than... How to Buy a Domain Without Hosting Registering a name only.WHEN THIS APPLIESSecuring a name before you build anything A defensive... How to Buy an SSL Certificate Ordering a certificate.FIRST, CONSIDER WHETHER YOU NEED ONEFree certificates through AutoSSL are... How to Buy at ZillionKingHost: The Short Version Everything essential.WHERE TO STARTzillionkinghost.com, or the store at... How to Buy CodeGuard Website Backup Automated off-site backups.WHAT IT DOESTakes automatic backups of your website files and... How to Buy Hosting for Multiple Websites Several sites, one account.THE OPTIONSOne hosting plan with enough addon domains for all your... How to Buy Scripts and Addons Additional software and services.WHAT IS AVAILABLEzillionkinghost.com/billing/cart.php?gid=4A... How to Buy SiteLock Website Security Malware scanning and protection.WHAT IT DOESScans your website for malware and vulnerabilities,... How to Buy the Website Builder Building a site without a developer.WHAT IT ISA drag-and-drop tool for building a website without... How to Buy When You Are Not Technical Ordering without technical knowledge.WHAT YOU ACTUALLY NEED TO DECIDEWhat the website is for... How to Buy ZillionKingHost Academy Access Learning materials.WHAT IT ISCourses and learning materials covering hosting, website building... How to Contact Us Before or After Buying Reaching us.SUPPORT TICKETzillionkinghost.com/billing/submitticket.phpThe best route for anything... How to Find and Read an Error Message Getting the actual text before anything else.WHY THE EXACT TEXT MATTERS"My site is broken" has... How to Register a New Domain Name Buying a domain from us.THE DIRECT ROUTEVisit... How to Speed Up WordPress on Shared Hosting Most slow WordPress sites are slow for the same handful of reasons. Work through these in order... How Your Website Connects to Its Database The configuration that makes it work.THE FOUR VALUESDatabase name Username Password HostAll four... I Ordered the Wrong Thing Correcting an order.CONTACT US QUICKLYOpen a ticket at... Identifying What Is Consuming Resources Finding the cause.CHECK THE OBVIOUS FIRSTIs caching enabled and working What PHP version How many... Import has exceeded the maximum execution time A database or content import stopped partway.WHAT IT MEANSThe import took longer than PHP permits... Importing and Exporting Databases Efficiently Moving data without timeouts.EXPORTINGmysqldump produces a SQL file containing structure and... Improving Legacy Code Safely Change without breaking.WHAT TO DO BEFORE ANY CHANGEVersion control A copy to work on A record of... Improving Your Site's Speed Practical steps in order.MEASURE FIRSTTest with a performance tool, on mobile. Look at what is... Increasing Execution Time When scripts take too long.THE SYMPTOMA process stops partway: an import, a backup, a bulk... Increasing PHP Memory Limit The most commonly adjusted setting.THE SYMPTOMA fatal error stating that allowed memory size was... Increasing the Upload Size, Memory Limit and Execution Time "The uploaded file exceeds the upload_max_filesize directive", "Allowed memory size exhausted"... Increasing Upload File Size Uploading larger files.THE SYMPTOMAn upload fails, or the interface states a maximum smaller than... Information to Include When Asking for Help Getting resolved faster.WHAT TO INCLUDE ALWAYSYour account username or domain Exactly what... Installing a Third-Party PHP Script Small utilities and custom tools.BEFORE INSTALLING ANYTHINGWhere did it come from? Only install... Installing Dependencies on Your Hosting Composer in a hosting environment.WHERE TO RUN ITThrough terminal access in cPanel, where... Installing Laravel Getting a project started.WHAT YOU NEEDA supported PHP version Composer The required PHP... Installing PHP and Required Extensions Getting the application runtime in place.CHOOSING A VERSIONUse the newest version your... Integrating Payment Gateways Taking money.WHAT TO USEAn established gateway with a maintained PHP library.WHAT TO NEVER... Isolating Client Sites on a VPS Hosting for other people on a server you manage.WHY ISOLATION MATTERS MORE HEREYou are... Isolating Sites and Applications Preventing one compromise becoming several.THE PROBLEMIf every site on your server runs as the... Isolating the Cause by Elimination Finding what is responsible.THE METHODRemove possible causes one at a time until the problem... Joomla Database Notes Working with a Joomla installation.THE CONFIGURATIONconfiguration.php holds the database name,... Joomla: Common Problems What goes wrong and how to fix it.BLANK PAGE OR 500 ERROREnable error reporting in... Joomla: Installation and First Steps A capable alternative to WordPress.INSTALLINGAvailable in Softaculous, or download from the... Keeping Skills and Projects Current Maintenance that is not about any single site.WHAT GOES STALEPHP versions, which reach end of... Keeping Software Patched on a VPS The discipline that prevents most compromises.WHAT NEEDS PATCHINGThe operating system and its... Keeping Staging and Production in Step A staging environment only helps if it resembles production.WHAT MUST MATCHPHP version and... Keeping Your Site Fast Over Time Preventing regression.WHAT MAKES A SITE SLOW AGAINImages uploaded without preparation Plugins... Keeping Your Website Software Updated Out-of-date software is the leading cause of hacked websites on shared hosting. Attacks are... Keeping Your Website Updated Maintenance that prevents problems.WHAT NEEDS UPDATINGThe platform itself Themes Plugins and... Knowing When to Escalate to Us Working with your host.WHEN TO ESCALATEServer-level problems affecting several accounts Anything... Learning Management Systems Running courses online.MOODLEThe established open source option. Capable, widely used in... Logging In to WordPress and Resetting a Lost Admin Password Your WordPress dashboard is separate from cPanel and from your ZillionKingHost billing account.... Maintaining Client Sites Ongoing work after launch.WHAT MAINTENANCE ACTUALLY INVOLVESApplying core, plugin and theme... Managing Environment Configuration Keeping settings out of your code.THE PRINCIPLECode is the same in every environment.... Managing Frontend Assets Styles and scripts.WHAT LARAVEL PROVIDESA build tool configuration for compiling styles and... Managing Memory and Swap The resource that most often causes trouble.WHY MEMORY MATTERS MOSTWhen memory is exhausted, the... Matomo and Self-Hosted Analytics Analytics you control.WHY SELF-HOSTData stays on your own hosting rather than with a third party,... Measuring Your Site Speed Properly Speed testing is easy to misread, and people frequently optimise the wrong thing as a result.THE... Messages sent but never arriving No bounce, no delivery.FIRST, CONFIRM IT LEFTcPanel > Track Delivery. Search for the recipient... Migrating a Custom Application Moving something you built yourself.WHAT TO MOVEApplication code The database Uploaded files and... Migrating an Existing WordPress Site to ZillionKingHost You can move an existing site to us yourself in under an hour, or request our free migration... Migrating Between PHP Versions Upgrading without breaking the site.BEFORE CHANGINGCheck your application's stated compatibility... Modern PHP Practices How the language is written now.WHAT TO ADOPTStrict types, declared per file Type declarations on... Moodle: Setup and Requirements The established learning platform.BEFORE INSTALLINGCheck requirements carefully. Moodle needs... Moving a WordPress Site to a New Domain Name Changing domain means updating the URLs stored throughout the database, not just the files. 1.... Moving From a VPS Back to Shared Hosting Sometimes the right decision.WHEN IT MAKES SENSEThe maintenance burden exceeds the benefit You... Moving WordPress from a Subfolder to the Root Domain If you installed into a folder such as /wp and your site now loads at yourdomain.com/wp, here is... My Cron Job Is Not Running Diagnosis.CHECK THE PATHThe most common cause. A wrong or relative path means nothing runs.Use... My Cron Job Runs but Nothing Happens The job fires and has no effect.WHAT THIS USUALLY MEANSThe command runs and the script fails, or... My Payment Went Through but the Invoice Is Unpaid Payment not recorded.WHAT HAPPENEDThe gateway took the payment and the confirmation did not reach... My Site Was Hacked Recovering from a compromise.THE ORDEROpen a ticket so we can check the account server-side.Take... Nextcloud: Setup and Practical Limits Self-hosted file storage.BEFORE INSTALLINGNextcloud is demanding. It needs substantial memory,... Offering Performance Optimisation Selling speed as a service.WHAT IT INVOLVESMeasuring the current state Enabling and configuring... OpenCart: Setup Notes A lighter shop platform.WHO IT SUITSShops wanting something simpler than PrestaShop or Magento,... Optimising Laravel for Production Performance settings.WHAT TO CACHEConfiguration Routes Events Compiled templatesWHYIt removes... Order confirmation emails not being sent Customers not notified.THE FIRST CHECKcPanel > Track Delivery. Search for a recent customer... Ordering as a New Customer Versus an Existing One Two paths at checkout.NEW CUSTOMERAt checkout, choose the New Customer option and enter your... Out of Memory Errors and Process Kills When the kernel starts killing things.WHAT HAPPENSWhen memory is exhausted, the kernel selects a... Page Builder Problems Common issues.PAGES LOAD SLOWLYExpected. See the performance article.Reduce what the builder... Page Speed and Why It Matters Visitors leave slow sites.THE REALITYOn a mobile connection, a page taking several seconds loses... Parse error: syntax error, unexpected A file contains invalid PHP.WHAT IT MEANSPHP could not read the file at all. Nothing runs.The... Password-Protecting a Folder with Directory Privacy Directory Privacy puts a browser password prompt in front of a folder, handled by the web server... Per-Directory PHP Versions Different versions for different sites.WHAT IT ALLOWSRunning one version on your main site and a... PHP and Laravel: Everything That Matters, Briefly The whole category in one page.RUN A SUPPORTED PHP VERSION AND A SUPPORTED FRAMEWORK... PHP and Memory Exhaustion Running out of memory.THE ERRORAllowed memory size exhausted, naming the limit and the file.WHAT... PHP as a Backend Language Today The current state.WHAT HAS CHANGEDSubstantially improved performanceModern language features:... PHP as a Language Characteristics and use.WHAT IT ISA dynamically typed, interpreted language designed for the... PHP Configuration: Everything That Matters, Briefly The whole category in one page.THE VERSIONUse a current supported one. Newer is faster and... PHP Extensions Additional functionality.WHAT THEY AREModules adding capability: image processing, encryption,... PHP Frameworks: Everything That Matters, Briefly The summary.PHP RUNS ON ESSENTIALLY ALL SHARED HOSTING, WHICH MATTERS WHERE THAT IS THE... PHP Fundamentals: Everything That Matters, Briefly The summary.RUN A SUPPORTED VERSIONUnsupported versions receive no security fixes, which is a... PHP Security: Everything That Matters, Briefly The summary.PARAMETERISE EVERY QUERYWithout exception. Dynamic column and table names cannot be... PHP Settings for Other Applications Beyond WordPress.THE GENERAL APPROACHCheck the application's requirements page.It states the PHP... PHP Settings for WooCommerce Shops need more.WHY SHOPS NEED MOREMore plugins, more data, larger operations.Imports, exports... PHP Settings for WordPress Common requirements.WHAT WORDPRESS TYPICALLY NEEDSA current PHP version Sufficient memory for... phpBB: Setup and Running a Forum The established free forum platform.INSTALLINGAvailable in Softaculous, or manually from the... Planning for Long-Term Maintenance What you are committing to.WHAT EVERY INSTALLED APPLICATION REQUIRESRegular updates, indefinitely... Playbook: The Site Is Slow Performance complaints.ESTABLISH FIRSTSlow for them, or for everyone? All pages or specific ones?... Pre-Sales Questions: What to Ask Ask before ordering. It is much easier than unpicking a wrong order.WORTH ASKINGWhether a plan... Preparing a Laravel Application for Shared Hosting What to establish first.WHAT TO CHECKThe PHP version available, against the framework's... PrestaShop and Other Shop Platforms Alternatives to WooCommerce.PRESTASHOPA dedicated ecommerce platform rather than a plugin on a... PrestaShop: Setup Notes A dedicated ecommerce platform.INSTALLINGSoftaculous or manually. Requires a supported PHP... Preventing Abuse of wp-cron.php and xmlrpc.php Two WordPress files are routinely abused to generate load and to test passwords at high speed.... Preventing Malicious File Uploads Where attacks get in.THE RISKA form allowing file uploads, exploited to upload an executable... Preventing SQL Injection in PHP The most damaging vulnerability.WHAT IT ISUser input interpreted as part of a database query.WHAT... Protecting Configuration Files Files containing credentials.WHAT THEY AREwp-config.php for WordPress Similar files for other... Protecting wp-admin with cPanel Directory Privacy Directory Privacy adds a server-level password prompt in front of a folder. Placing it on... Questions to Ask Before You Buy Getting it right first time.ABOUT HOSTINGWill this plan handle what I want to run? How many... Reading and Fixing PHP Errors Interpreting what the log tells you.THE TYPESParse error: a syntax mistake. The file will not run... Reading Error Logs and Raw Access Logs When something breaks, the logs say what happened. This is faster than guessing.ERROR LOGcPanel... Reading Logs from the Command Line Finding what went wrong.WHERE THEY AREError and access logs are available in your home directory... Recovering a Site You Cannot Log Into Regaining access without the admin interface.FOR WORDPRESSWP-CLI creates a user, resets a... Recovering After a Failed Server Migration When a move between servers went wrong.THE SITUATIONFiles or data did not transfer completely, or... Reducing High CPU and Resource Usage on Your Account If your site is throttled, returns 508 errors, or you receive a resource limit notice from us,... Reference: Laravel Problems and Where to Look Quick lookup.BLANK PAGEApplication log, then server error log.CHANGES NOT APPEARINGConfiguration... Reference: PHP and Laravel Terms Vocabulary.COMPOSERThe dependency manager for PHP.AUTOLOADINGLoading classes automatically when... Reporting a Problem Getting it looked at.WHAT TO REPORTA listing you believe is fraudulent A name listed by someone... Reselling Microsoft Services Offering Microsoft 365 to customers.WHAT THE PARTNER ARRANGEMENT PROVIDESThe ability to sell... Resource Sharing Between Sites in One Account One account, several sites.WHAT IS SHAREDDisk space Bandwidth CPU and memory limits Inode count... Restoring Your WordPress Site from a Backup Restoring reverses the backup method you used. Take a fresh copy of the current broken state... Running Artisan Commands on Your Hosting The command-line tool in production.WHERE TO RUN ITTerminal access in cPanel.WHAT TO SPECIFYThe... Running Custom PHP Code Safely Code you or a developer wrote.THE ESSENTIALSParameterise every database query. Never concatenate... Running Multiple Applications on One Account Several pieces of software, one hosting plan.WHAT TO PLANEach application needs its own database... Running Node.js, Python and Other Applications Shared hosting is designed around PHP, but other runtimes may be available depending on the... Scanning Applications for Malware Finding what should not be there.IMUNIFYAVcPanel > ImunifyAV. Scan the full home directory... Scanning for Malware with ImunifyAV in cPanel ImunifyAV scans your hosting account for malware, backdoors and injected code at the server... Scanning Your Account for Malware ImunifyAV in cPanel scans your entire hosting account, independently of anything installed inside... Scanning Your Account for Malware with ImunifyAV ImunifyAV scans your whole hosting account for malware, backdoors and injected code,... Scheduled Database Maintenance with Cron Automating cleanup.WHAT TO AUTOMATEClearing expired transients Removing old revisions Deleting... Scheduled posts missed schedule Scheduled content did not publish.WHAT IT MEANSWordPress cron did not run when the post was... Scheduling Recurring Tasks Work that runs on a timetable.WHAT THE FRAMEWORK PROVIDESA scheduler defined in code, listing... Securing a Laravel or Custom PHP Application Frameworks are secure by default in most respects, but deployment mistakes undo that.DOCUMENT... Securing File Uploads Where attacks get in.THE RISKA form accepting files, exploited to upload something... Securing File Uploads on Your Website A form that lets visitors upload files is one of the most commonly exploited features on any... Securing PHP Applications Framework-level protections.WHAT FRAMEWORKS PROVIDE BY DEFAULTEscaping in templates Cross-site... Securing Your Database Practical protection.THE ESSENTIALSA strong generated password, different for every database user... Securing Your Web Applications on a VPS The server is only as secure as what runs on it.WHY THIS MATTERS MORE ON A VPSOn shared hosting,... Selecting a Backend Stack Making the decision.WHAT TO ASSESSWhat the application actually requires What the team knows What... Selling a Domain Through ZillionKingHost Listing a domain you own.WHEREzillionkinghost.com/billing/index.php?m=domain_auctionWHAT YOU CAN... Separating Logic From Presentation Structure that scales.THE PROBLEMPHP allows mixing logic and markup freely.WHAT THAT... Setting Correct File and Folder Permissions for WordPress Permissions that are too loose let other processes write to your files; permissions that are too... Setting File and Folder Permissions in cPanel Permissions decide who can read, write and execute a file. Wrong values cause both 403 errors and... Setting Safe File Permissions Permissions control who may read, write and execute each file. Loose permissions let one... Setting Up a Local Development Environment Working on your own machine.THE OPTIONSA packaged stack such as XAMPP, MAMP or Laragon, which... Setting Up a Staging Site A copy for testing.WHYTesting changes on a live site is how sites break publicly.HOWCreate a... Setting Up Cron for WooCommerce This one is specific to our servers and matters more for shops than for anything else.WHY IT... Setting Up Custom Error Pages What visitors see when something is not found.WHY BOTHERThe default server error page is bare,... Setting Up LiteSpeed Cache on WordPress Our servers run LiteSpeed, so the LiteSpeed Cache plugin can use full server-level page caching —... Setting Up Staging on Your VPS Testing before production.THE OPTIONSA subdomain on the same server, with its own document root,... Setting Up the Scheduler and Queues Background work on cPanel.WHAT THE SCHEDULER NEEDSA single cron entry, running every minute,... Setting Up Virtual Hosts for Multiple Sites Running several websites on one server.THE CONCEPTThe web server uses the hostname in each... Setting Up WordPress Cron Correctly The two steps.STEP ONE: DISABLE THE HTTP METHODEdit wp-config.php and add a line disabling WP... Showing Hidden Files (Dotfiles) in File Manager Files whose names begin with a dot are hidden by default. These include several of the most... Signs That Your Website Has Been Hacked Compromises are often quiet by design. These are the signals worth watching for.VISIBLE SIGNSYour... Site is slow but no error appears Working, and too slowly.MEASURE FIRSTLoad a plain static file. If that is fast while pages are... Site works but images and links point to the old domain URLs still referencing the previous address.WHAT IT MEANSAbsolute URLs stored in the database... Softaculous installation failed The one-click installer did not complete.THE COMMON CAUSESThe target directory already contains... Sorry, you are not allowed to access this page A permissions error inside WordPress.WHAT IT MEANSYour user account does not have the capability... Speeding Up Your Online Store Shops are slower than brochure sites by nature, and most of the difference is fixable.THE ORDER... Spotting Files That Should Not Be There Recognising compromise.WHAT TO LOOK FORPHP files in directories that should contain only images... Starting With AI in a Nigerian Small Business A realistic first month.WEEK ONEChoose one task: replying to enquiries, most likely.Draft three... Static Site Generators and Static Hosting Sites with no application at all.WHAT THEY ARETools that build plain HTML files from templates... Static Sites and Frameworks: Everything That Matters, Briefly The whole category in one page.WHAT STATIC MEANSThe server sends an existing file. Fast, secure,... Store Slow Only at Checkout Browsing is fast, checkout is slow. A specific problem with a specific cause.WHY IT HAPPENSCart... Supported PHP Versions and Extensions We run multiple PHP versions side by side, selectable per domain.CHOOSING A VERSIONcPanel >... Symptom: A White or Blank Page Nothing but white.WHAT IT MEANSA fatal error occurred and the error message is not being... Symptom: Changes Cause Errors or Vanish Settings that will not save.WHAT IT USUALLY ISmax_input_vars being exceeded.WHAT THAT... Symptom: Images Not Displaying Broken image placeholders.WHAT TO CHECKWhether the file exists at the path requested Whether the... Symptom: Internal Server Error The 500 error.WHAT IT MEANSThe server could not complete the request.Deliberately vague, so the... Symptom: The Site Is Very Slow Loading takes too long.WHAT TO ESTABLISHSlow for everyone, or only for you? All pages or specific... Taking Over an Existing PHP Application Inheriting code.WHAT TO ESTABLISH FIRSTWhat it doesWhat it runs on: PHP version, framework,... Taking Over Someone Else's Project Inheriting code you did not write.BEFORE COMMITTINGLook at it first. Quote after you have seen... Testing PHP Changes Safely Not breaking your live site.BEFORE ANY CHANGEBack up.For a version change, that is not... The Application Installed but Will Not Load Setup completed, site does not work.BLANK PAGEEnable error logging and reproduce. The log names... The Application Is Slow Diagnosing performance.MEASURE FIRSTLoad a static file. If that is fast while pages are slow, the... The Application Will Not Install Failures during setup.DATABASE CONNECTION FAILSThe most common cause. Check the database name and... The Error Is Not Listed Here Diagnosing something unfamiliar.READ IT PROPERLYErrors usually name a file, a line, and a... The Site Ahead Contains Malware A browser or search engine security warning.WHAT IT MEANSMalicious content was detected on your... The Site Does Not Work After Migration Common causes.A DATABASE CONNECTION ERRORThe configuration file has the wrong database name, user... The site is experiencing technical difficulties The older wording of the WordPress fatal error page.WHAT IT MEANSThe same as the critical error... The WordPress Database Structure What each table holds.THE CORE TABLESwp_posts: posts, pages, products, revisions, attachments,... There has been a critical error on this website WordPress caught a fatal error.WHAT IT MEANSA PHP fatal error occurred. WordPress shows this... Timezones and Date Storage Why times appear wrong.THE COMMON CONFUSIONTimes displaying offset by hours from what you... Too few arguments to function A function was called incorrectly.WHAT IT MEANSThe code called a function without supplying... Transferring a Domain to ZillionKingHost Moving a domain from another registrar.BEFORE STARTINGAt the current registrar:Unlock the domain... Transferring Databases Moving the data.EXPORTINGFrom phpMyAdmin on the old host, or a command-line export.Export as SQL,... Troubleshooting HTTPS on WordPress Specifically The common WordPress-specific issues.SITE ADDRESS MISMATCHSettings > General must show https... Troubleshooting Laravel on Shared Hosting Common failures.BLANK PAGE OR SERVER ERRORRead the log first, then the server error log.Debug... Tuning Your Web Server Configuration that matches your resources.APACHEThe main tuning is the process or thread model... Uncaught Error: Class not found The code referenced a class that does not exist.WHAT IT MEANSPHP could not find the class being... Understanding Backdoors and Web Shells A backdoor is code left behind so an attacker can return without needing the original... Understanding CPU Limits Processor time.WHAT IT MEASURESHow much processor time your account uses.WHAT CONSUMES ITEvery... Understanding Entry Processes Simultaneous requests.WHAT IT MEASURESHow many requests your account is processing at the same... Understanding Environments Development, staging and production.WHAT ENVIRONMENTS ARESeparate copies of a system, for... Understanding Laravel The dominant PHP framework.WHAT IT PROVIDESRouting An ORM Migrations and seeding Validation... Understanding Memory Limits How much memory your account may use.TWO DIFFERENT LIMITSPHP memory limit: how much one script... Understanding PHP Error Types What each means.FATAL ERRORExecution stops. The page does not render.Usually a missing function,... Understanding PHP Limits What constrains your application.MEMORY LIMITHow much memory one script may use.Exceeded: a fatal... Understanding PHP Versions Which version to run.WHY IT MATTERSEach version brings performance improvements, new features,... Understanding Symfony Components and structure.WHAT IT ISA framework, and a set of independent components used widely... Understanding What IT Support Can and Cannot Do Realistic expectations.WHAT A HOSTING PROVIDER HANDLESThe server and its services Account-level... Understanding WHM and How It Relates to cPanel Two control panels, two levels.WHM (WEB HOST MANAGER)Your panel. From here you create cPanel... Updating WordPress Core, Themes and Plugins Safely Out-of-date WordPress installations are the leading cause of hacked sites on shared hosting.... Updating Your PHP Version Frequently the easiest gain available.WHY IT MATTERSNewer PHP versions are substantially faster... Updating Your Site URL After Enabling HTTPS The application must agree with the server.WHY IT MATTERSApplications generate links and... Upload failed or file too large File transfers refused.THROUGH THE APPLICATIONRaise upload_max_filesize and post_max_size in... Uploading Your Website Files public_html is the folder served to visitors. A file at public_html/about.html is reachable at... Uploading Your Website Files to public_html public_html is the folder served to visitors. A file at public_html/index.html appears at... URL Rewriting and Pretty URLs Making URLs readable and stable.WHY IT MATTERSReadable URLs are easier to share, better for... Useful Queries for WordPress Sites Common tasks.BEFORE ANY OF THESEExport the affected table.CHECKING THE SITE URLSELECT * FROM... Using .htaccess Effectively The per-directory configuration file.WHAT IT CONTROLSURL rewriting Redirects Access restrictions... Using AI to Fix Website Problems Diagnosis assistance.HOW TO DESCRIBE A PROBLEMThe exact error message, copied not paraphrased... Using Composer on Shared Hosting Managing PHP dependencies.AVAILABILITYComposer is available on most accounts with SSH access.... Using File Manager to Upload, Edit and Manage Files File Manager is the built-in file browser for your hosting account. It handles everything FTP... Using phpMyAdmin to Manage Your Database phpMyAdmin is a browser interface for viewing and editing your databases directly.OPENING... Using SMTP for Transactional Email Making your site's own messages arrive.WHY THIS MATTERSOrder confirmations, password resets and... Using Subdomains for Different Applications Separating systems.COMMON USESshop.yourdomain.com for a separate shop platform... Using WP-CLI on Your Account Managing WordPress from the command line.WHYMany tasks are faster and more reliable than through... Using ZillionKingHost AI for Web Development Building sites.WHERE IT HELPSExplaining HTML, CSS and JavaScript Producing components Debugging... Variables, Types and Arrays The basics.WHAT A VARIABLE ISA name holding a value, marked with a leading symbol.WHAT TYPES... Views and Frontend: Everything That Matters, Briefly The summary.VERSIONED ASSET FILENAMESWithout them, browsers serve cached styles and a change... Warning: Cannot modify header information Output was sent before headers.WHAT IT MEANSPHP tried to set a header after content had already... Web Languages: Everything That Matters, Briefly The summary.JAVASCRIPT IS THE ONLY LANGUAGE BROWSERS EXECUTE NATIVELYEverything else compiles to... Web Technology Terms The underlying pieces.HTMLThe markup describing a page's structure and content.CSSThe rules... Website Speed: Everything That Matters, Briefly The whole category in one page.THE THREE THINGS THAT PRODUCE MOST OF THE GAINImages: resize, then... What .htaccess Does The configuration file that controls a great deal.WHAT IT CONTROLSURL rewriting, including... What a Customer Is Responsible For The division of duties.WHAT THE FACILITY PROVIDESPower, cooling, connectivity, physical security,... What a Static Site Is Pages without a database.WHAT IT MEANSThe server sends a file that already exists, rather than... What an Addon Domain Is Hosting a second website.WHAT IT DOESLets a separate domain serve a separate website from the... What Breaks When You Change PHP Version Common problems.REMOVED FUNCTIONSOlder code calling functions removed in newer versions produces... What Changed? The Most Useful Question Errors follow changes.THE QUESTIONWhat was different immediately before this started?Almost every... What Cron Jobs Can and Cannot Do The boundaries.WHAT THEY CAN DORun a PHP script Run a shell command Trigger a URL, where that is... What Is Included and What Is Extra Knowing the boundary before you order prevents disappointment afterwards.INCLUDED WITH... What PHP Is and Where It Runs An introduction.WHAT IT ISA programming language designed for building websites and web... What PHP Is and Why Your Site Needs It The language behind most websites.WHAT IT DOESRuns on the server, generates the page, sends the... What Shared Hosting Can and Cannot Run Understanding the boundary.WHAT IT RUNSStatic files, always PHP applications Anything using a... What to Do If Your WordPress Site Is Hacked Work through these steps in order. Do not skip step 1 — cleaning a site while it is still serving... What You Need Before Migrating Gathering access.FROM YOUR CURRENT HOSTControl panel access, or a full backup FTP or file access... When to Ask Us About PHP Where we can help.WHAT WE CAN DOTell you which versions are available Enable an extension not... When to Ask Your Host for Help What we can do.WHAT WE CAN DOCheck server-side logs Identify whether other accounts are affected... When to Get Help With Speed Knowing your limit.WHAT YOU CAN DO YOURSELFResize and compress images Enable caching Update PHP... When to Move from Shared Hosting to a VPS Shared hosting suits most websites. These are the signs it no longer suits yours.GENUINE... When to Upgrade Your Reseller Plan Upgrade before capacity becomes a problem, not after.CLEAR SIGNALSDisk or inode usage... When to Use a Dedicated Sending Provider Instead For volume, a sending provider beats a dedicated IP on hosting.WHEN THIS APPLIESYou send... Where to Find Error Logs Every place errors are recorded.CPANEL ERROR LOGcPanel > Metrics > Errors. The most recent... Where Website Slowness Actually Comes From The real causes, ranked.IMAGESThe largest cause by a wide margin. Uncompressed photographs... Which Languages to Learn for Employment Practical choices.WHAT DETERMINES EMPLOYABILITYDemand in your market Depth, rather than a list of... Why Website Speed Matters The commercial case.WHAT SLOW COSTS YOUVisitors who leave before the page loads Customers who... Why WordPress Needs a Real Cron Job Here An important difference on our servers.HOW WORDPRESS NORMALLY SCHEDULES WORKBy default it... Why wp-cron.php Is Blocked on Our Servers and How to Set Up a Real Cron Job For stability reasons, HTTP requests to /wp-cron.php are blocked across the ZillionKingHost... Why You Should Never Use Nulled Themes and Plugins "Nulled", "cracked" or "GPL-free" copies of premium plugins are widely advertised as a way to... Why You Should Use a Current PHP Version Two reasons that matter.SPEEDNewer versions execute substantially faster.The difference on a busy... Why Your Website Is Slow Slow sites almost always come down to the same handful of causes, and the server is rarely one of... WordPress Security Hardening Checklist Work through this list on every site you host with us. Most compromises we see come from skipping... Working With Collections Handling sets of data.WHAT A COLLECTION ISA wrapper around an array with a large set of... Working with Cron Jobs as a Developer Scheduled tasks on hosting.CREATING ONEcPanel > Cron Jobs. Set the interval and the... Working With Text in PHP Strings.COMMON OPERATIONSJoining Splitting Searching Replacing Trimming Changing case Formatting... Working With Your Host After an Incident What we can help with.WHEN TO CONTACT USSpam sent from your account Your site compromised or... Writing Modern PHP Current practice.WHAT TO DECLAREStrict types, at the top of every file.WHYOtherwise values are... Writing the Cron Command Correctly Getting the command right.THE STRUCTUREThe interpreter, then the script path, then any... Your PHP installation appears to be missing the MySQL extension WordPress cannot find the database driver.WHAT IT MEANSThe PHP extension WordPress uses to talk...
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot