php: not found

UASECO is a fork of the XAseco2/1.03 controller for Trackmania and has been overhauled to support the Modescript Gamemodes of Trackmania².

Moderators: undef.de, NADEO

Post Reply
silentheal
Posts: 8
Joined: 04 Jun 2018, 15:10

php: not found

Post by silentheal »

Hi
I tryed to install Uaseco on my dédicated Maniaplanet server but when i try to run Uaseco i have "php: not found"
I'am on Debian with PHP 7.1
Sorry for my bad egnlish and thanks for your help.
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: php: not found

Post by undef.de »

Try

Code: Select all

sudo apt-get install php7.1-cli
EDIT: Changed 7 to 7.1
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
silentheal
Posts: 8
Joined: 04 Jun 2018, 15:10

Re: php: not found

Post by silentheal »

Hi and thx in install PHP 7.2 now i don't have php not found.
But i have that in logs file

Code: Select all

PHP Fatal error:  Uncaught Error: Call to undefined function mb_internal_encoding() in /home/TM2/Uaseco/uaseco.php:74
Stack trace:
#0 {main}
  thrown in /home/TM2/Uaseco/uaseco.php on line 74
Last edited by undef.de on 04 Jun 2018, 16:18, edited 1 time in total.
Reason: Use code tags for code
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: php: not found

Post by undef.de »

As you can see at https://www.uaseco.org/documentation/in ... quirements you need some extensions for PHP.

You can try

Code: Select all

sudo apt-get install php7.1-common php7.1-mysql php7.1-curl php7.1-gd php7.1-json php7.1-mbstring php7.1-xml php7.1-ftp php7.1-iconv
that should install all requirements.

EDIT: PHP/7.2 don't have the mbstrings extension anymore, so currently max. PHP/7.1 is supported.
EDIT: Or was it mcrypt? ...unsure about it.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
silentheal
Posts: 8
Joined: 04 Jun 2018, 15:10

Re: php: not found

Post by silentheal »

Thx i'll try
silentheal
Posts: 8
Joined: 04 Jun 2018, 15:10

Re: php: not found

Post by silentheal »

I did what you said i Downgrade php 7.2 to 7.1 but now i have:

Code: Select all

PHP Warning:  Declaration of Database::query($sql) should be compatible with mysqli::query($query, $resultmode = NULL) in /home/TM2/Uaseco/includes/core/database.class.php on line 431
thx again for you help
Last edited by undef.de on 04 Jun 2018, 20:32, edited 1 time in total.
Reason: Use code tags for code/logs
silentheal
Posts: 8
Joined: 04 Jun 2018, 15:10

Re: php: not found

Post by silentheal »

I reinstall all PHP and Mysqli and now it's work fine.
Thx for help
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: php: not found

Post by undef.de »

For PHP/7.1 you should use the current development version 0.9.6 from github, which has been changed to support PHP/7.x.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
Post Reply

Return to “UASECO”

Who is online

Users browsing this forum: No registered users and 1 guest