Author Topic: Ubuntu 16.04 - 18 LTS upgrade PHP error  (Read 892 times)

Offline stiflermt

  • Decent Indexer
  • ***
  • Posts: 50
  • Helpful: +4/-0
Ubuntu 16.04 - 18 LTS upgrade PHP error
« on: 2018-05-01, 09:10:28 AM »
After upgrading to Ubuntu 18LTS from 16 LTS I am receiving the below error when trying to launch tmux.

PHP Fatal error:  Cannot use 'Object' as class name as it is reserved in /var/www/nZEDb/libraries/lithium/core/Object.php on line 37

Any idea what could be causing this?

Offline stiflermt

  • Decent Indexer
  • ***
  • Posts: 50
  • Helpful: +4/-0
Re: Ubuntu 16.04 - 18 LTS upgrade PHP error
« Reply #1 on: 2018-05-01, 09:20:26 AM »
php -m output

[PHP Modules]
calendar
Core
ctype
date
exif
fileinfo
filter
ftp
gettext
hash
iconv
imagick
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
Zend OPcache
zlib

[Zend Modules]
Zend OPcache

Offline Darius

  • Enforcer
  • *****
  • Posts: 120
  • Helpful: +7/-1
Re: Ubuntu 16.04 - 18 LTS upgrade PHP error
« Reply #2 on: 2018-05-02, 01:26:32 PM »
That is because Lithium framework (li3) that nZEDb uses does not support php 7.2. Downgrade PHP to 7.1 or even 7.0 so nZEDb can work.