Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-04-14 22:03:51

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

Ubuntu 18.04 LTS release

I test drove beta 2 of Ubuntu 18.04 LTS this evening, which is set to arrive later this month. Ubuntu typically has a strong following in the web server market (as I write this, it’s about 14% market share across all know OSes) market, and I was curious what versions of key libraries will be included from the get-go.

Key points:

  • PHP 7.2
  • Apache 2.4
  • MySQL Server 5.7
  • …on a Linux 4.15 kernel

Here are diagnostics from Textpattern 4.7.0-beta.3 (I used Percona instead of MySQL to get Textpattern going) if you’re interested:

Textpattern version: 4.7.0-beta.3 (d45c8ba2b87d5f2e0b9d924164a50bbd)
Last update: 1970-01-01 00:00:00/2018-04-14 21:50:20
Site URL: 10.1.1.16
Admin URL: 10.1.1.16/textpattern
Document root: /var/www/html
$path_to_site: /var/www/html
Textpattern path: /var/www/html/textpattern
Article URL pattern: messy
Temporary directory path: /tmp
PHP version: 7.2.3-1ubuntu1
GD Graphics Library: 2.2.5; Supported formats: GIF, JPEG, PNG.
Server timezone: UTC
Server local time: 2018-04-14 21:51:38
Daylight Saving Time enabled?: 0
Automatically adjust Daylight Saving Time setting?: 0
Time zone (GMT offset in seconds):  (+0)
MySQL: 5.6.22-71.0 (Percona Server (GPL), Release 71.0, Revision 726) 
Database server time: 2018-04-14 21:51:38
Database server time offset: 0 s
Database server timezone: SYSTEM
Database session timezone: SYSTEM
Locale: C
Web server: Apache/2.4.29 (Ubuntu)
Apache version: Apache/2.4.29 (Ubuntu)
PHP server API: apache2handler
RFC 2616 headers: 
Server OS: Linux 4.15.0-15-generic
Admin-side theme: hive 4.7.0-beta.3

Pre-flight check: 
------------------------

DNS lookup failed: 10.1.1.16.

/var/www/html/textpattern/setup/ still exists.

The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_get_handler, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority, pcntl_async_signals.

Image directory is not writable: /var/www/html/images.
File directory path is not writable: /var/www/html/files.
Theme directory is not writable: /var/www/html/themes.
------------------------

.htaccess file contents: 
------------------------
# BEGIN Textpattern
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<IfModule mod_rewrite.c>
    RewriteEngine On
    #RewriteBase /relative/web/path/

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^(.+) - [PT,L]

    RewriteCond %{REQUEST_URI} !=/favicon.ico
    RewriteRule ^(.*) index.php

    RewriteCond %{HTTP:Authorization}  !^$
    RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

<IfModule mod_mime.c>
    AddType image/svg+xml  svg svgz
    AddEncoding gzip       svgz
</IfModule>
# END Textpattern

------------------------

This is beta 2 of the server OS, and so things may change before the final release, but embracing PHP 7.2 from the start line is a big deal. Interesting times ahead.

For what it’s worth, Textpattern on PHP7.2 and MySQL 5.6 seemed to work A-OK!

Last edited by gaekwad (2018-04-19 11:08:41)

Offline

Board footer

Powered by FluxBB