2016-07-07 6 views
0

Ich installiere Phabricator auf Ubuntu 16.04.Phabricator Instalation Error

Ich habe PHP 7.0.8-3 installiert.

ich im Abschnitt Setup bin https://secure.phabricator.com/book/phabricator/article/configuration_guide/

Als ich auf meiner Website gehen erhalte ich den Fehler

1045: Access denied for user 'root'@'localhost' (using password: NO)

Ich habe versucht, den Befehl

phabricator/ $ ./bin/storage upgrade --user <user> --password <password> 

Aber ich nur laufen den folgenden Fehler erhalten:

[2016-07-07 17:15:54] EXCEPTION: (Error) Call to undefined function mysql_real_escape_string() at [/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnection.php:12] arcanist(head=master, ref.master=4d4d16f25985), phabricator(head=master, ref.master=ef13b0e52b46), phutil(head=master, ref.master=32c56dc20b39) #0 AphrontMySQLDatabaseConnection::escapeBinaryString(string) called at [/src/aphront/storage/connection/mysql/AphrontMySQLDatabaseConnection.php:8] #1 AphrontMySQLDatabaseConnection::escapeUTF8String(string) called at [/src/xsprintf/qsprintf.php:178] #2 xsprintf_query(AphrontMySQLDatabaseConnection, string, integer, string, integer) called at [/src/xsprintf/xsprintf.php:70] #3 xsprintf(string, AphrontMySQLDatabaseConnection, array) called at [/src/xsprintf/qsprintf.php:64] #4 qsprintf(AphrontMySQLDatabaseConnection, string, string, string, string) called at [/src/xsprintf/queryfx.php:5] #5 queryfx(AphrontMySQLDatabaseConnection, string, string, string, string) called at [/src/xsprintf/queryfx.php:11] #6 queryfx_all(AphrontMySQLDatabaseConnection, string, string, string, string) called at [/src/aphront/storage/connection/AphrontDatabaseConnection.php:26] #7 AphrontDatabaseConnection::queryData(string, string, string, string) called at [/src/infrastructure/storage/lisk/LiskDAO.php:535] #8 LiskDAO::loadRawDataWhere(string, string) called at [/src/infrastructure/storage/lisk/LiskDAO.php:476] #9 LiskDAO::loadAllWhere(string, string) called at [/src/infrastructure/env/PhabricatorConfigDatabaseSource.php:18] #10 PhabricatorConfigDatabaseSource::loadConfig(string) called at [/src/infrastructure/env/PhabricatorConfigDatabaseSource.php:7] #11 PhabricatorConfigDatabaseSource::construct(string) called at [/src/infrastructure/env/PhabricatorEnv.php:232] #12 PhabricatorEnv::buildConfigurationSourceStack() called at [/src/infrastructure/env/PhabricatorEnv.php:95] #13 PhabricatorEnv::initializeCommonEnvironment() called at [/src/infrastructure/env/PhabricatorEnv.php:75] #14 PhabricatorEnv::initializeScriptEnvironment() called at [/scripts/__init_script.php:21] #15 init_phabricator_script() called at [/scripts/init_script.php:24] #16 require_once(string) called at [/scripts/sql/manage_storage.php:5]

Antwort

0

Sie müssen die php7 MySQL-Erweiterungen

installiert

sudo apt-get install php7.0-mysql

+0

Wir unterstützen derzeit php7 nicht (Funktionen fehlen, die in 7.1 vorhanden sind) –

1

Phabricator derzeit nicht PHP7 unterstützen. Bitte installieren Sie eine unterstützte Version von PHP wie 5.6, und stellen Sie sicher, dass mysql-Erweiterungen auch dort sind.

Verwandte Themen