Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2017-12-29 21:32:38

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

Re: Hello Themes!

Bloke wrote #308480:

I like this. Let’s do it.

Great! Let’s talk versions…broadly speaking, if we follow the current mainline supported versions in each of Apache, NGINX, MySQL and PHP, we’re looking at:

  • Apache httpd 2.4.x
  • NGINX 1.13.x
  • PHP 7.2.x
  • MySQL (Community GPL’d flavour) 5.7.x

How reasonable does that look?

Offline

#38 2017-12-30 06:28:10

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

Re: Hello Themes!

PHP 7.2.x is a newer version than mine.

What about PHP 7+?


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

Offline

#39 2017-12-30 06:54:50

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,196
Website

Re: Hello Themes!

gaekwad wrote #308481:

Great! Let’s talk versions…broadly speaking, if we follow the current mainline supported versions in each of Apache, NGINX, MySQL and PHP, we’re looking at: (…)

Depends on how you word it, but I would loosen your suggestions a little bit (PHP 7.0+ and MySql 5.6.x+). That is the standard (default) for 3 different hosting companies I deal with; only one of them offers PHP 7.1.x as an option.

PS – I run a TXP 4.7dev on Dreamhost with PHP 7.1.something and it works nicely and is very fast (maybe better coding experience on my part helps a little…). It surprised me a bit after upgrading.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#40 2017-12-30 08:50:09

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 310
Website GitHub GitLab Mastodon Twitter

Re: Hello Themes!

gaekwad wrote #308481:

  • Apache httpd 2.4.x
  • NGINX 1.13.x
  • PHP 7.2.x
  • MySQL (Community GPL’d flavour) 5.7.x

  • HTTP: Apache 2.4.x, NginX 1.13.x, Hiawatha 10.7x

While we value Textpattern as the best CMS, despite it is not popular, then we should not ignore the best webserver, because it is not quite popular, too.

Hiawatha is made by PHP, and works fine with MySQL and Textpattern — nothing needs to be improved.

Offline

#41 2017-12-30 09:32:37

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Hello Themes!

Has anyone verified Textpattern on php 7.2 yet? Can we confirm it’s working as expected (I don’t have 7.2 on my local testing machine at the moment).

Offline

#42 2017-12-30 12:23:26

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

Re: Hello Themes!

Can’t see any reason why it wouldn’t work on 7.2 as there doesn’t appear to be much that’s changed that would affect us. But if someone can or has checked it and can report on the success or otherwise, it would be really useful info, thanks.


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

Offline

#43 2017-12-30 13:31:02

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

Re: Hello Themes!

colak wrote #308482:

PHP 7.2.x is a newer version than mine.

What about PHP 7+?

It’s newer than mine (7.0), too…and support for it was dropped earlier this month, according to this it’s security fixes only until the end of the year.

Since I’ve derailed the thread already (should we split this off?), my proposal/idea for looking at the current mainline versions is that, whether we like or not, PHP have their support terms…in real terms this doesn’t mean that Textpattern forum folks will stop answering questions about older PHP versions, but the state of PHP will progress at its own rate.

It’s a subtle branding change. There are no doubt valid reasons for the changes made in 7.0, 7.1, and 7.2. Web hosts will always toe the line with stability and performance, and if Textpattern is seen as being ‘PHP7-friendly’, then it’s one less thing on the obscure LAMP app list that I know some hosting companies maintain internally.

Why do hosting companies offer unsupported PHP versions on their servers? Because clients need/request them. Why do they request them? Because they see the System Requirements and know that their beloved LAMP app needs version so-and-so of M(ySQL) and such-and-such P(HP). A(pache) is usually less important (they have a much longer support period).

…which makes me wonder if overlaying the respective library support terms on a single chart would be interesting.

Offline

#44 2017-12-30 13:31:52

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

Re: Hello Themes!

philwareham wrote #308485:

Has anyone verified Textpattern on php 7.2 yet? Can we confirm it’s working as expected (I don’t have 7.2 on my local testing machine at the moment).

If I have time later today (likely) I’ll spin up a test server and test latest-and-greatest of each.

Offline

#45 2017-12-30 13:50:38

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

Re: Hello Themes!

phiw13 wrote #308483:

Depends on how you word it, but I would loosen your suggestions a little bit (PHP 7.0+ and MySql 5.6.x+). That is the standard (default) for 3 different hosting companies I deal with; only one of them offers PHP 7.1.x as an option.

I totally agree it’s a wording issue. Briefly, here’s what I envisage, a two or three part system requirements:

  • Textpattern runs best (fastest, most responsive, most features, etc – weasel word, perhaps) and recommended to run on the current mainline supported versions of Apache, NGINX, MySQL and PHP.
  • Textpattern also runs on the versions of Apache, NGINX, MySQL and PHP released before that, as long as they newer than…
  • …the minimum, base level requirements where Textpattern will run, but you’re leaving yourself open to known security issues with those packages.

It seems somewhat counter-intuitive to me to see Phil update various build tools and libraries in GitHub commits, keeping things fresh and up-to-date, and then having to factor in whether stuff works with versions of PHP that are old and known to have vulnerabilities.

I’m absolutely not suggesting we need to only run on the latest and greatest, that’s not remotely viable, but a subtle change to the wording and messaging will show that Textpattern is capable, and up-to-date, and evolving, and active, and so forth.

Offline

#46 2017-12-30 15:19:36

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

Re: Hello Themes!

philwareham wrote #308485:

Has anyone verified Textpattern on php 7.2 yet? Can we confirm it’s working as expected (I don’t have 7.2 on my local testing machine at the moment).

After a cursory check on a freshly-built Ubuntu 16.04.3 virtual machine, the current Textpattern 4.7.0-dev seems to work A-OK with Apache 2.4, MySQL 5.7 and — crucially — PHP 7.2 (emphasis mine):

Textpattern version: 4.7.0-dev (1103a204bc8d93fe3a10187de73d2486)
Last update: 2017-12-30 17:13:00/2017-12-29 19:03:24
Site URL: 10.1.1.18/textpattern-dev
Document root: /var/www/html
$path_to_site: /var/www/html/textpattern-dev
Textpattern path: /var/www/html/textpattern-dev/textpattern
Article URL pattern: messy
Temporary directory path: /tmp
PHP version: 7.2.0-2+ubuntu16.04.1+deb.sury.org+2
GD Graphics Library: unavailable
Server TZ: UTC
Server local time: 2017-12-30 17:13:04
Daylight Saving Time enabled?: 0
Automatically adjust Daylight Saving Time setting?: 0
Time zone (GMT offset in seconds):  (+0)
MySQL: 5.7.20-0ubuntu0.16.04.1 ((Ubuntu))
Database server time: 2017-12-30 17:13:04
Database server time offset: 0 s
Database server timezone: SYSTEM
Database session timezone: SYSTEM
Locale: C
Server: Apache/2.4.18 (Ubuntu)
Apache version: Apache/2.4.18 (Ubuntu)
PHP server API: apache2handler
RFC 2616 headers:
Server OS: Linux 4.4.0-104-generic
Admin-side theme: hive 4.7.0-dev

Last edited by gaekwad (2017-12-30 21:07:31)

Offline

#47 2017-12-30 17:52:58

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,634
GitHub Twitter

Re: Hello Themes!

@Phil:

Currently, I’m working on a live website with TXP 4.7 (for my “FOTO” theme) on my server animated with PHP 7.2.0 without any problems ;)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#48 2017-12-30 18:42:13

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,092
Website Mastodon

Re: Hello Themes!

Vienuolis wrote #308484:

Hiawatha is made by PHP, and works fine with MySQL and Textpattern —
nothing needs to be improved.

curious. do you know which hosting provider has Hiawatha?


…. texted postive

Offline

Board footer

Powered by FluxBB