Hallo liebe Forum'sler ![]()
Jetzt schreib ich auch mal in den längsten Thread..
Wünsche allen ein frohes neues Jahr!
Gruß
Philipp
Hallo liebe Forum'sler ![]()
Jetzt schreib ich auch mal in den längsten Thread..
Wünsche allen ein frohes neues Jahr!
Gruß
Philipp
Okay gemacht, Neustart
leider immer noch diese Fehler im log
und Emails kommen nicht an. Und einloggen kann man sich auch nicht.Wer von euch hat mit Froxlor Mail Server eingerichtet. kann mir jemand sagen wie man da vorgeht.
vielleicht habe ich was Triviales vergessen zu machen.
Ich nutze selbst kein Froxlor, aber was kommt bei raus wenn du die unten stehenden Eingaben tätigst?
Gruß & frohes / gesundes Neues ![]()
Hi @all,
das Problem an sich ist nicht Comoser sondern die PHP Version.
Man kann Composer verwenden, das Problem ist das manche Frameworks wie Laravel ab einer bestimmten Version die PHP Version 5.4 benötigen.
Composer muckiert zwar an das die Abhängigkeiten nicht stimmen, dies kann man auch mit dem Schalter --ignore-platform-reqs umgehen, dennoch kommt es dann beim Ausführen der Installationsskripte zum Fehler (siehe Zeile 116)
wie zu erkennen ist bricht PHP hier ab. Das liegt daran das ab Version 5.4 "short syntax" eingeführt worden ist. Mit "[" öffnet man ein Array hier sieht man das PHP 5.3.3 das nicht versteht.
Man kann zwar die PHP Version im Controlpanel einstellen, aber leider ist die PHP Version auf der Bash noch immer 5.3.3, ich warte auch Händeringend auf ein Update.
Hier ein Beispiel:
bash-4.1$ ./composer.phar install --ignore-platform-reqs
Loading composer repositories with package information
Installing dependencies (including require-dev)
- Removing filp/whoops (1.1.2)
- Installing filp/whoops (1.1.3)
Downloading: 100%
- Removing ircmaxell/password-compat (1.0.3)
- Installing ircmaxell/password-compat (v1.0.4)
Downloading: 100%
- Removing monolog/monolog (1.10.0)
- Installing monolog/monolog (1.11.0)
Downloading: 100%
- Removing nesbot/carbon (1.12.0)
- Installing nesbot/carbon (1.13.0)
Downloading: 100%
- Removing patchwork/utf8 (v1.1.25)
- Installing patchwork/utf8 (v1.1.26)
Downloading: 100%
- Removing phpseclib/phpseclib (0.3.8)
- Installing phpseclib/phpseclib (0.3.9)
Downloading: 100%
- Removing symfony/http-foundation (v2.5.4)
- Installing symfony/http-foundation (v2.5.8)
Downloading: 100%
- Removing symfony/event-dispatcher (v2.5.4)
- Installing symfony/event-dispatcher (v2.6.1)
Downloading: 100%
- Removing symfony/debug (v2.5.4)
- Installing symfony/debug (v2.5.8)
Downloading: 100%
- Removing symfony/http-kernel (v2.5.4)
- Installing symfony/http-kernel (v2.5.8)
Downloading: 100%
- Removing stack/builder (v1.0.2)
- Installing stack/builder (v1.0.3)
Downloading: 100%
- Removing swiftmailer/swiftmailer (v5.2.2)
- Installing swiftmailer/swiftmailer (v5.3.1)
Downloading: 100%
- Removing symfony/dom-crawler (v2.5.4)
- Installing symfony/dom-crawler (v2.5.8)
Downloading: 100%
- Removing symfony/browser-kit (v2.5.4)
- Installing symfony/browser-kit (v2.5.8)
Downloading: 100%
- Removing symfony/console (v2.5.4)
- Installing symfony/console (v2.5.8)
Downloading: 100%
- Removing symfony/css-selector (v2.5.4)
- Installing symfony/css-selector (v2.5.8)
Downloading: 100%
- Removing symfony/finder (v2.5.4)
- Installing symfony/finder (v2.5.8)
Downloading: 100%
- Removing symfony/process (v2.5.4)
- Installing symfony/process (v2.5.8)
Downloading: 100%
- Removing symfony/routing (v2.5.4)
- Installing symfony/routing (v2.5.8)
Downloading: 100%
- Removing symfony/security-core (v2.5.4)
- Installing symfony/security-core (v2.5.8)
Downloading: 100%
- Removing symfony/translation (v2.5.4)
- Installing symfony/translation (v2.5.8)
Downloading: 100%
- Removing symfony/filesystem (v2.5.4)
- Installing symfony/filesystem (v2.6.1)
Downloading: 100%
Writing lock file
Generating autoload files
PHP Parse error: syntax error, unexpected '[' in /httpdocs/foo/vendor/laravel/framework/src/Illuminate/Support/helpers.php on line 411
Script php artisan clear-compiled handling the post-install-cmd event returned with an error
[RuntimeException]
Error Output: PHP Parse error: syntax error, unexpected '[' in /httpdocs/foo/vendor/laravel/framework/src/Illuminate/Support/helpers.php on line 411
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [packages1] ... [packagesN]
Alles anzeigen
Wünsche allen ein paar schöne Festtage! ![]()
Hallo,
ich kann leider bei einem Expert M Tarif kein git finden.
bash-4.1$ ls /usr/bin/
bash chmod curl false groups head ln more mysqldump pwd scp svn touch vi zip
bzip2 convert date ftp gunzip id ls mv nano rm sh tail true vim
cat cp du grep gzip less mkdir mysql php rmdir ssh tar unzip wget
Was kann man machen das es wie oben beschrieben hinzugefügt wird?
Noch zur Info: Der Tarif ist von einem anderen Kunden, dort habe ich aber vollen Zugriff - wenn Daten / Kundennummer benötigt wird sende ich diese gern per PN / Mail zu.
Danke und Gruß
Philipp
Hi,
es ist zwar kein HowTo aber der Beitrag hat mir sehr geholfen, wenn man den Ordner anpasst dann werden auch die php-fpm Sockets richtig abgelegt.
Viel erfolg.
PS. Wenn das läuft, macht man sich danach die nächste Baustelle auf wie man WP oder owncloud ans laufen bekommt
EDIT:
Hat sich erledigt, hatte eine alte php-fpm.conf eingespielt versehendlich und dort war noch nicht die /etc/php-fpm/*.conf verlinkt, in denen die Conf und somit der Link inkl Usergroup und CHMOD für var/run/nginx lagen.
Doppeltes DANKE! Deine Antwort die du dir selber geschrieben hast hat mir weitergeholfen, und das du die Lösung hier veröffentlicht hast! ![]()
Gruß
Philipp