Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
PHP functions missing
Hi
I’m getting this error on the diagnostics tab
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_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority,
The info link sends me to this faq
which gives a 404
I’m installing on Ubuntu 16.04 – PHP 7.0.13
Is it okay to install TXP with PHP 7.0 ?
Sorry posted in the wrong forum – found this post
which says they aren’t needed. It would be much better if the diagnostics didn’t report an error for this.
I’m still getting a clean URL error.
Last edited by geoff777 (2017-01-22 09:28:11)
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: PHP functions missing
Please post full diagnostics.
Diagnostics doesn’t say the disabled functions are an error. It just reports that they are disabled. There’s a chance plugins need them.
Offline
Re: PHP functions missing
Yes it says disabled but may be needed – in the same colour text as the other errors
PHP version: 7.0.13-0ubuntu0.16.04.1
GD Graphics Library: 2.1.1; supported formats: GIF, JPG, PNG.
Server TZ: UTC
Server local time: 2017-01-22 09:59:48
Daylight Saving Time enabled?: 0
Automatically adjust Daylight Saving Time setting?: 0
Time zone (GMT offset in seconds): Europe/London (+0)
MySQL: 5.7.17-0ubuntu0.16.04.1
Database server time: 2017-01-22 09:59:48
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-57-generic
Active plugins: glz_custom_fields-1.4.0-beta1
Admin-side theme: classic 4.6.2
Pre-flight check:
------------------------
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_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority,
------------------------
.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>
#php_value register_globals 0
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
</IfModule>
# END Textpattern
------------------------
Charset (default/config): latin1/utf8mb4
character_set_client: utf8mb4
character_set_connection: utf8mb4
character_set_database: utf8
character_set_filesystem: binary
character_set_results: utf8mb4
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
17 Tables: OK
10 Custom fields: custom_1, custom_2, custom_3, custom_4, custom_5, custom_6, custom_7, custom_8, custom_9, custom_10 (10)
PHP extensions: Core/7.0.13-0ubuntu0.16.04.1, date/7.0.13-0ubuntu0.16.04.1, libxml/7.0.13-0ubuntu0.16.04.1, openssl/7.0.13-0ubuntu0.16.04.1, pcre/7.0.13-0ubuntu0.16.04.1, zlib/7.0.13-0ubuntu0.16.04.1, filter/7.0.13-0ubuntu0.16.04.1, hash/1.0, Reflection/7.0.13-0ubuntu0.16.04.1, SPL/7.0.13-0ubuntu0.16.04.1, session/7.0.13-0ubuntu0.16.04.1, standard/7.0.13-0ubuntu0.16.04.1, apache2handler, mysqlnd/mysqlnd 5.0.12-dev - 20150407 - $Id: 241ae00989d1995ffcbbf63d579943635faf9972 $, PDO/7.0.13-0ubuntu0.16.04.1, xml/7.0.13-0ubuntu0.16.04.1, bz2/7.0.13-0ubuntu0.16.04.1, calendar/7.0.13-0ubuntu0.16.04.1, ctype/7.0.13-0ubuntu0.16.04.1, curl/7.0.13-0ubuntu0.16.04.1, dom/20031129, mbstring/7.0.13-0ubuntu0.16.04.1, fileinfo/1.0.5, ftp/7.0.13-0ubuntu0.16.04.1, gd/7.0.13-0ubuntu0.16.04.1, gettext/7.0.13-0ubuntu0.16.04.1, iconv/7.0.13-0ubuntu0.16.04.1, json/1.4.0, exif/1.4 $Id: 8bdc0c8f27c2c9dd1f7551f1f9fe3ab57a06a4b1 $, mcrypt/7.0.13-0ubuntu0.16.04.1, mysqli/7.0.13-0ubuntu0.16.04.1, pdo_mysql/7.0.13-0ubuntu0.16.04.1, Phar/2.0.2, posix/7.0.13-0ubuntu0.16.04.1, readline/7.0.13-0ubuntu0.16.04.1, shmop/7.0.13-0ubuntu0.16.04.1, SimpleXML/7.0.13-0ubuntu0.16.04.1, sockets/7.0.13-0ubuntu0.16.04.1, sysvmsg/7.0.13-0ubuntu0.16.04.1, sysvsem/7.0.13-0ubuntu0.16.04.1, sysvshm/7.0.13-0ubuntu0.16.04.1, tokenizer/7.0.13-0ubuntu0.16.04.1, wddx/7.0.13-0ubuntu0.16.04.1, xmlreader/7.0.13-0ubuntu0.16.04.1, xmlwriter/7.0.13-0ubuntu0.16.04.1, xsl/7.0.13-0ubuntu0.16.04.1, zip/1.13.5, Zend OPcache/7.0.13-0ubuntu0.16.04.1
Apache modules: core, mod_so, mod_watchdog, http_core, mod_log_config, mod_logio, mod_version, mod_unixd, mod_access_compat, mod_alias, mod_auth_basic, mod_authn_core, mod_authn_file, mod_authz_core, mod_authz_host, mod_authz_user, mod_autoindex, mod_deflate, mod_dir, mod_env, mod_filter, mod_mime, prefork, mod_negotiation, mod_php7, mod_rewrite, mod_setenvif, mod_socache_shmcb, mod_ssl, mod_status
Last edited by philwareham (2017-01-22 18:13:36)
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: PHP functions missing
I don’t see anything about clean URLs in the diagnostics.
Are clean URLs not working or do you get a message about it in diagnostics somewhere?
Offline
Re: PHP functions missing
I switched back to messy so I could work on the site.
It says – Clean URL test failed.
Article URL pattern: section_id_title
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: PHP functions missing
Deleted <txp> needs to work “out of the box” on a stable Ubuntu 16.04 server. Bog-standard LAMP.
Wasted hours when I just needed a fast website putting together.
Last edited by geoff777 (2017-01-23 15:51:45)
There are 10 types of people in the world: those who understand binary, and those who don’t.
Offline
Re: PHP functions missing
geoff777 wrote #303647:
The info link sends me to this faq which gives a 404
Thanks for the report. We’ll fix this ASAP Phil just fixed it. It got missed as we’re shuffling the FAQ stuff around and deleting cruft. In the meantime, this is the intended link.
If anyone spots any duff links from pophelp content or elsewhere, please raise an issue so we can get it fixed.
Last edited by Bloke (2017-01-23 17:33:52)
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
Pages: 1