WebGee DocsDocs
Development
Free migration + 30-day money-backSee how

Development

PHP versions and limits, application frameworks, SSH and error logs.

PHP versions and limits, application frameworks, SSH and error logs.

Change your PHP version and settings

Switch PHP versions and adjust values like memory_limit from cPanel, or with a .user.ini file if your site runs on Bolt-Cache.

Connect over SSH

Enable SSH on your cPanel account, connect from macOS, Linux or Windows, and set up key authentication instead of a password.

Serve Laravel from the public directory

Point your domain at Laravel's /public folder using .htaccess, so visitors reach example.com rather than example.com/public.

Magento reports the wrong memory limit

Magento's readiness check reads the CLI PHP settings, not your web settings — so raising memory_limit in .user.ini appears to do nothing.

Run PHP inside .html files

Make the server execute PHP in files with a .html or .htm extension, using the correct handler for WebGee's LiteSpeed setup.

MultiPHP vs Select PHP Version

Two tools that both set the PHP version. Which one to use, and what happens when you use both.

Why PHP-FPM is not available

WebGee runs LiteSpeed with mod_lsapi rather than PHP-FPM. What that means for you, and why the substitution is not a downgrade.

Find your error log

Where PHP and Apache errors are written, and how to read them when a page returns a blank screen or a 500.

Set up a Node.js application

Deploy a Node.js app in cPanel — creating the application, installing dependencies, and the restart that most changes require.

Deploy a Node.js app from the Websites hub

Deploy a Node.js application to a domain from a Git repository, a ZIP file or an AI agent, and set its Node version, build output and environment variables.

Use Git over SSH

Git is installed on WebGee servers but is not on your PATH. The full path to use, and how to make it permanent.

Set the PHP timezone

Set date.timezone so PHP dates match your local time, and what to do when the Selector value appears not to apply.

Diagnose a PHP 500 error

A 500 error tells you nothing on its own. Read the log first — and whether it is constant or intermittent points at two different causes.

Understanding PHP memory limits

Why the default memory_limit is conservative, when raising it is right, and why a site needing 1GB has a different problem.

Enable error logging in PHP

Turn on error reporting to diagnose a blank page — to a log file, never to the browser on a live site.

Use SSH keys with PuTTY on Windows

Generate a key with PuTTYgen, authorise it on your account, and connect — including the format conversion that catches people out.

Enter a Python or Node.js virtual environment

Applications created with the Selectors run in their own environment. Enter it before running npm, pip or gem, or you use the wrong interpreter.

Install PEAR packages

Add PEAR packages through cPanel's PHP PEAR Packages interface, and know that PEAR is largely superseded by Composer.

On this page

No Headings

Hosted elsewhere?

Cloud Hosting

cPanel on NVMe storage, with LiteSpeed, free SSL and daily backups included.

See plansFree migration