Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#253 2020-06-09 11:26:57

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Textpattern CMS demo site

Announcing the arrival of PHP 7.4.7 to release-demo, beta-demo and dev-demo sites.
Demo server tech stack (current as of post timestamp):

Site Textpattern HTTP Database PHP
Release Demo Textpattern 4.8.1 Nginx 1.19.0 Percona Server 8.0 PHP 7.4.7 (PHP-FPM)
Beta Demo Textpattern 4.8.0-beta.3 Nginx 1.19.0 Percona Server 8.0 PHP 7.4.7 (PHP-FPM)
Prev Demo Textpattern 4.7.3 Nginx 1.19.0 Percona Server 8.0 PHP 7.3.19 (PHP-FPM)
Dev Demo GitHub dev branch Nginx 1.19.0 Percona Server 8.0 PHP 7.4.7 (PHP-FPM)

PS: I tried to make the table more legible with rowspan but I lost patience trying to make it look pretty in Textile. Story of my life.

Offline

#254 2020-06-11 08:30:37

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Textpattern CMS demo site

The first alpha release of PHP 8.0 is due later this month, with GA scheduled for late November 2020. Here’s the current roadmap / timeline: wiki.php.net/todo/php80

Accordingly, I intend to set up a PHP 8.0 demo server for the active dev builds (dev and the latest 4.8 maintenance branch). I appreciate that many of you will have no interest in these bleeding-edge builds of software, and I have no intentions of further congesting the demo server landing page, so from next month I will split the various demos into two sections: one set of demos for releases (e.g. Textpattern 4.8, Textpattern 4.7), the other set for ‘work in progress’ stuff (everything else).

Offline

#255 2020-06-11 11:29:24

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Textpattern CMS demo site

Hi Pete, did you also consider to have a stable demo working on the min system requirements? This could be very useful to those who are considering adopting txp and want to install it on normal shared servers.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#256 2020-06-11 13:16:59

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Textpattern CMS demo site

colak wrote #323698:

Hi Pete, did you also consider to have a stable demo working on the min system requirements?

I considered it, yes. I decided against it on the grounds of PHP 5 being considerably slower than PHP 7, which might incorrectly translate as “Textpattern is slow” to a newbie, and also the minimum listed PHP (5.5.0) is riddled with vulnerabilities compared to newer versions, so I would genuinely worry about the welfare of the server.

When you get to any recent-ish PHP 7 version, performance is way better than anything PHP 5 could offer, and since pretty much everything works on PHP 5 and PHP 7, performance becomes the most obvious difference a user would experience, assuming they don’t care for security vulnerabilities etc.

See kinsta.com/blog/php-benchmarks/ for side-by-side comparisons and lots of graphs. No Textpattern mention, nor would I honestly expect it to be, but the graphs follow a similar trend: newer = faster, with the exception of Magento (hello, darkness) and a couple of framework version bumps.

Offline

#257 2020-06-11 15:45:49

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Textpattern CMS demo site

I see, and I fully agree with you re the vulnerabilities and performance. The reason I mentioned it is because 47.3% of websites use php 5.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#258 2020-06-11 16:19:12

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Textpattern CMS demo site

colak wrote #323701:

I see, and I fully agree with you re the vulnerabilities and performance. The reason I mentioned it is because 47.3% of websites use php 5.

Respectful nitpick: 47.3% of websites that use PHP are still on PHP 5. According to this PHP is used by 78.9% of all the websites, PHP 5 is used by 37.4% of all the websites. I dare not think how many abandoned PHP CMS have just gathered dust and then become part of an unwilling botnet.

Admittedly my interest in this stuff is far more than the average webmeister, and I’m very happy PHP 5 has been left behind after so many years. I think the arrival of PHP 8 will help the PHP 5 hold outs move on to PHP 7, since they’re not running the latest ‘big’ version of PHP, they can be on the late adopter part of the bell curve.

Consumer web hosting organisations offer it for as long as they have to and can justify the expense of maintenance. Automattic start their Wordpress system requirements with “here’s what we recommend” (i.e. PHP 7.3, current ‘medium’ version minus one) upfront, and “here’s what you can scrape by with” (i.e. PHP 5.6.20+, from 2016) further down the list with appropriate comments on security etc.

I quietly hope that with the arrival of Textpattern 4.9 (or maybe sooner) we can rewrite our requirements to be much more weighted toward recommendations first, and bury the minimum spec lede waaaaay down the page. When we get unit testing sorted out, it’ll make benchmarking easier, too – and that opens up a whole new demographic of peformance nerds people who like that kind of thing. Step at a time, of course.

Edit: missing words.

Last edited by gaekwad (2020-06-11 16:31:59)

Offline

#259 2020-06-11 16:20:07

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,271
Website GitHub

Re: Textpattern CMS demo site

colak wrote #323701:

The reason I mentioned it is because 47.3% of websites use php 5.

Sheesh, has that website been updated since 1998? Mmmm, design.

Anyway, if we’re to trust the numbers (which I suspect are inaccurate as it’s rather difficult to gauge accurately), when you click through you see the breakdown. 5.5 isn’t even mentioned, and 5.7 was eclipsed by the jump to PHP 7. The majority of that chart is dominated by 5.6. Our minimum spec is 5.5, yet I wouldn’t want our server running that version, regardless of what we state is the minimum. It’s too risky.

EDIT: I don’t care for minimum specs either. Since when did anyone think twice because they bought a knock-down laptop for £200, with Windows 10 pre-installed? The bare minimum is 2GB and it’ll seem fine for a couple of weeks but after that, you’ll feel the pinch and wish you’d bought decent hardware. Recommended is best. Minimum below the fold.

Last edited by Bloke (2020-06-11 16:26:21)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Online

#260 2020-06-11 16:22:30

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Textpattern CMS demo site

Speaking of Wordpress, this is really useful make.wordpress.org/hosting/handbook/handbook/server-environment/

Offline

#261 2020-06-11 16:25:26

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Textpattern CMS demo site

Bloke wrote #323703:

Our minimum spec is 5.5, yet I wouldn’t want our server running that, regardless of what we state is the minimum. It’s too risky.

…and since nobody asked, our Textpattern sites are running PHP 7.4, the FluxBB forum runs on PHP 7.3.

Offline

#262 2020-06-11 16:33:46

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Textpattern CMS demo site

Bloke wrote #323703:

Recommended is best. Minimum below the fold.

Well said.

Offline

#263 2020-06-11 16:34:02

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Textpattern CMS demo site

Fair enough. The only reason I mentioned it was to attract more users. My sites run on php 7.2 and admittedly I am happy with the speeds.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#264 2020-06-11 16:36:59

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: Textpattern CMS demo site

Yiannis, please don’t take any sniping from me as a sleight on you, absolutely nothing you’ve said or done. My frustrations are with old software, not you!

Offline

Board footer

Powered by FluxBB