PHP and MySQL hosting with the tools you’d expect

Run your own PHP code on PHP 7.4, 8.0, 8.1, 8.2, 8.3 or 8.4, with MySQL, readable error logs, cron, SSH and Git. It’s £0.99 a month.

  • £0.99 a month, flat
  • No setup fee
  • No VAT or card fees
  • Bring your own domain

In short: Traxio runs PHP and MySQL websites on your own domain, with a choice of PHP version per domain, phpMyAdmin, cron jobs, SSH and email. It isn’t free for good: hosting is £0.99 a month. If your budget is exactly £0, a PHP host that stays free with no end date may suit you better, and the comparison below says where.

The things free PHP hosting often switches off

Free PHP hosting can be fine for a quick test. Real projects tend to hit its limits: functions disabled, no error log, no cron, no choice of PHP version, no outgoing email. On Traxio you get the normal toolkit of shared hosting:

PHP versions 7.4, 8.0, 8.1, 8.2, 8.3 and 8.4, switchable per domain
Settings Memory limit, upload size and execution time in DirectAdmin
Errors Readable PHP error logs
Database MySQL / MariaDB with phpMyAdmin and PDO
Scheduling Cron jobs from one-minute intervals
Shell SSH on port 26628, Git and Composer-friendly workflows
Email Send through SMTP from a mailbox on your domain
Caching Redis object caching and LSCache

There’s no root access, and the server configuration is shared, so you work through .htaccess and per-domain PHP settings rather than editing system files.

Which PHP version? Use PHP 8.4 for new code: it gets security fixes until 31 December 2028. PHP 8.3 is supported until 31 December 2027, PHP 8.2’s security support ends on 31 December 2026, and 7.4, 8.0 and 8.1 no longer get security fixes from the PHP project, so keep those only for older code you can’t update yet. Check compatibility before switching.

Free PHP hosting compared

Traxio InfinityFree ByetHost
Price £0.99 a month Free, no end date Free, no end date
Disk space 3GB NVMe 5GB 5GB NVMe
Control panel DirectAdmin Their own panel VistaPanel (their own panel)
PHP version Your choice per domain: 7.4–8.4 Fixed (PHP 8.4 when checked) Not stated on their free plan page
Cron jobs and SSH Yes Not on the free plan Not stated on their free plan page
Email on your domain One account included Not on the free plan Not stated on their free plan page
Adverts on your site None None None
Inactivity None while the account is paid Suspended after a month with no visitors Not stated on their free plan page

Competitor details checked in October 2026; the InfinityFree and ByetHost comparisons list the sources, including where each beats Traxio. Free plans change, so check the provider’s own site. For static sites and other free options, see the best free hosting options.

What runs well here, and what doesn’t

Runs well

  • PHP applications: WordPress, Joomla, Drupal, forums, wikis, galleries and shops, most installable in one click with Softaculous.
  • Frameworks: Laravel, Symfony, CodeIgniter and Slim, deployed over SSH or SFTP with the code kept outside public_html.
  • Your own PHP: contact forms, small APIs, dashboards, coursework and side projects.
  • Scheduled jobs: anything that can run as a cron job, from every minute to once a month.
  • Small Node.js and Python apps set up in DirectAdmin: Node.js and Python support.

Not a fit

  • Root access or installing server software. The server is shared, so system packages are fixed.
  • Ruby applications.
  • Processes that must run all the time, such as chat bots, queue workers or game servers. Run scripts on a schedule with cron instead.
  • Heavy traffic or big data: busy APIs, large file downloads or databases measured in many gigabytes.
  • Bulk email. Newsletters to large lists belong with an email marketing service.

Databases and file uploads

  • One MySQL / MariaDB database is included, managed with phpMyAdmin. Connect with PDO or mysqli on localhost. Connect PHP to MySQL.
  • Database size counts towards the 3GB of storage. Most application databases are tens of megabytes.
  • Import and export large databases through phpMyAdmin or over SSH: import a large database.
  • Upload limits are set per domain in DirectAdmin’s PHP settings, together with memory and execution time: upload larger files.
  • Keep secrets out of public_html. Put configuration files one level above the web root: keep config out of your repo.

Your first PHP and MySQL page, step by step

  1. Create the database. In DirectAdmin, open Account Manager › MySQL Management › Create new Database. Give it a name such as guestbook and a strong password. DirectAdmin adds your account name in front, so you get something like acme_guestbook for both the database and its user. Create a MySQL database.
  2. Make a table. Open phpMyAdmin from DirectAdmin, choose the database and run:
sql
CREATE TABLE messages (
  id INT AUTO_INCREMENT PRIMARY KEY,
  name VARCHAR(80) NOT NULL,
  body TEXT NOT NULL,
  created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
  1. Keep the password out of the web root. Upload a config.php one level above public_html, so no visitor can ever load it:
php
<?php
return [
    'dsn'  => 'mysql:host=localhost;dbname=acme_guestbook;charset=utf8mb4',
    'user' => 'acme_guestbook',
    'pass' => 'the-password-you-set',
];
  1. Write the page. Save this as public_html/index.php. It uses a prepared statement, so nothing a visitor types can change the SQL:
php
<?php
$c   = require __DIR__ . '/../config.php';
$pdo = new PDO($c['dsn'], $c['user'], $c['pass'], [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]);

if ($_SERVER['REQUEST_METHOD'] === 'POST' && trim($_POST['name'] ?? '') !== '') {
    $stmt = $pdo->prepare('INSERT INTO messages (name, body) VALUES (?, ?)');
    $stmt->execute([trim($_POST['name']), trim($_POST['body'] ?? '')]);
}
$rows = $pdo->query('SELECT name, body FROM messages ORDER BY id DESC LIMIT 20')->fetchAll();
?>
<form method="post">
  <input name="name" placeholder="Your name" required>
  <textarea name="body" placeholder="Message"></textarea>
  <button>Sign the guestbook</button>
</form>
<?php foreach ($rows as $r): ?>
  <p><strong><?= htmlspecialchars($r['name']) ?></strong>: <?= htmlspecialchars($r['body']) ?></p>
<?php endforeach; ?>
  1. Upload and test. Upload with File Manager or SFTP, visit your domain, and sign the guestbook. If you see a blank page or an error, check the error log in DirectAdmin: find PHP errors.

The create a database tutorial walks through the same job with screenshots of each step.

Database users

Every database needs a user with privileges on it. DirectAdmin creates one with the database; you can add more under MySQL Management. Use one user per application with all privileges on its own database, and remove temporary users when a migration is finished. Database users and privileges.

Configuration, security and limits

Configuration

  • PHP version per domain, from 7.4, 8.0, 8.1, 8.2, 8.3 and 8.4, in DirectAdmin. Match it to what your code supports.
  • php.ini settings such as memory limit, upload size and execution time, per domain in DirectAdmin’s PHP settings: PHP settings.
  • .htaccess for redirects, clean URLs and access rules: .htaccess explained.

Security

  • Prepared statements for every query that includes user input, as in the example.
  • Escape output with htmlspecialchars() so visitors can’t inject HTML or scripts.
  • Secrets outside public_html, and never committed to Git.
  • File permissions: 644 for files and 755 for folders; never 777. File permissions.
  • Update frameworks and libraries when security releases come out.

Resource limits

  • 3GB of storage shared by files, databases and email.
  • 100GB of bandwidth a month.
  • Shared CPU and memory under fair use, with a maximum execution time per request, so long jobs belong in cron rather than a web page.
  • One database is included. Several apps can share it with different table prefixes.

Hosting limits explained.

Supported software

Most PHP applications that need PHP 7.4–8.4 and MySQL or MariaDB: WordPress, Joomla, Drupal, SMF, phpBB, MyBB, Laravel and Symfony apps, plus hundreds more in Softaculous. Not supported: Ruby, root access, or anything that must run permanently in the background.

Get your code running

  1. Create a database and connect to it with PDO
  2. Set up SFTP or deploy with Git
  3. Keep your config out of your repo
  4. Schedule tasks with cron
  5. Upgrade PHP versions safely

Running a framework? Deploy a Laravel application shows how to keep the code outside public_html.

Before you go live, work through the website launch checklist. Not sure your project fits in 3GB and 100GB a month? The hosting calculator gives an estimate. Building something other than custom PHP? Everything you can host has a guide for each kind of site.

Learn more

Guides

All php guides

PHP hosting questions

Which PHP version should I use?

The newest one your code supports: PHP 8.4 for new projects, which gets security fixes until the end of 2028. PHP 8.2’s security support ends on 31 December 2026. Check compatibility before switching.

Can I change php.ini settings?

You can change the common ones (memory limit, upload size, execution time) per domain in DirectAdmin. PHP settings.

Which PHP extensions are available?

The usual ones for WordPress, frameworks and forums. What PHP extensions are available?

Is PHP hosting free?

No. Hosting is £0.99 a month, billed every 1, 6 or 12 months at the same monthly rate.

Is there PHP hosting that stays free for good?

Yes. InfinityFree and ByetHost offer free PHP and MySQL hosting with no end date and no adverts, with limits such as their own control panels and, on InfinityFree, no cron, SSH or email on the free plan. Traxio is £0.99 a month. The best free hosting options compares them.

Is there free MySQL hosting?

Not on Traxio. One MySQL database comes with every £0.99 account. It’s managed with phpMyAdmin, and its size counts towards the 3GB of storage.

Can I run Laravel or Symfony?

Yes, deployed with SSH and Git or SFTP, keeping the application code outside public_html as the tutorial shows. Long-running queue workers aren’t supported; run scheduled tasks with cron. Deploy a PHP application.

Can I see PHP errors?

Yes. Error logs are readable in DirectAdmin, and you can turn on display_errors while developing. Find PHP errors.

Get online for 99p a month.

Straightforward web hosting with simple pricing, no setup fee and the same price next year.

  • £0.99 a month
  • No setup fee
  • No hidden fees
  • Cancel any time

Black Friday: 20% off your first year of annual hosting with code BF20 at checkout. New customers, annual plans only. Ends Sunday 29 November. Details

Cyber Monday, today only: 10% off all plans, recurring, with code CB10 at checkout. Details

Up to 50% off your first month: pay £0.50 for your first month on monthly billing with code FIRSTMONTH, then £0.99 a month. Details