PyroCMS v3.5 now Available — Here’s how to Install / Upgrade on Ubuntu 16.04 / 18.04 / 18.10

PyroCMS, an open source content management system (CMS) based on  Laravel PHP framework has recently been updated to version 3.5 and this brief tutorial shows students and new users how to install or upgrade to it on Ubuntu 16.04 / 18.04 / 18.10….

This release introduces a new versioning utility, entry modification locks and blocks module for managing your content…

Also included is an improvement for tags and some bug fixes that caused duplicate versions to be saved when entries are first created… If you haven’t upgraded your PyroCMS, you’re encouraged to do so to take advantage of some of the newest features with this release…

For more about this release, please check its changelog pageWhen you’re ready to install or upgrade PyroCMS, follow the steps below:

We’ve covered installing PyroCMS here with support for both Apache2 and Nginx HTTP servers… If you want to learn how to install this CMS, please refer to the links below:

Installing PyroCMS on Ubuntu with Apache2 Support

If you want to install a new environment for PyroCMS with Apahce2 support, then refer to the link below… It shows you how to install PyroCMS with Apache2 and PHP 7.1 support… However, PyroCMS now supports PHP 7.2, so you can use it with this setup…

Install PyroCMS on Ubuntu 16.04 / 17.10 / 18.04 with Apache2, MariaDB and PHP7.1

Installing PyroCMS with Nginx HTTP support with PHP 7.2-FPM

For those who want to run PyroCMS with Nginx server instead, the like should be used… It shows you how to install and configure PyroCMS with Nginx and PHP 7.1-FPM support… But you can use PHP 7.2-FPM here as well….

Setup PyroCMS on Ubuntu 16.04 / 17.10 / 18.04 with Nginx, MariaDB and PHP 7.1 Support

Upgrading PyroCMS

If you already have PyroCMS installed and you wish to upgrade, follow the steps below:

To upgrade simply copy the composer.json requirements from the 3.6 branch’s composer file to your project and update… Lastly mirror the changes in the file below:

/var/www/html/pyrocms/public/public/index.php

highlighted in the file here:

https://github.com/pyrocms/pyrocms/blob/3.6/public/index.php#L50-L60

/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$kernel = \Anomaly\Streams\Platform\Http\CacheKernel::wrap($kernel);
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);

Copy and replace the old lines with the highlighted lines above… Save the file and exit…

No migrations needed….

That’s it!

You may also like the post below:

Setup LEPTON CMS on Ubuntu 16.04 / 18.04 / 18.10 with Nginx, MariaDB and PHP 7.2-FPM

Add a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.