[vz-dev] [volkszaehler/volkszaehler.org] Update composer.json (#531) (efb1213)

Daniel Lauckner vz at jahp.de
Tue Dec 13 19:54:51 CET 2016


Hallo Andreas,


am Montag, 12. Dezember 2016 um 14:47 hast du geschrieben:
> Würde mich über Tests der MW freuen- Doku siehe
> https://github.com/volkszaehler/volkszaehler.org/tree/master/misc/tools#ppm

Soweit ich das verstehe läuft das doch auch ohne Apache?
Hintergrund: Apache und MySQL laufen auf meinem Raspi derzeit nicht.


Hab neu aus dem Git gecloned und composer install ausgeführt. Dann
meine volkszaehler.conf.php eingesetzt.

Das Nachinstallieren der Module hat funktioniert:
pi at volkszaehler:~/volkszaehler.org $ composer require php-pm/php-pm:dev-master php-pm/httpkernel-adapter:dev-master
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Installing monolog/monolog (1.22.0)
    Downloading: 100%

  - Installing symfony/process (v3.2.1)
    Downloading: 100%

  - Installing mkraemer/react-pcntl (v2.0.0)
    Downloading: 100%

  - Installing php-pm/php-pm (dev-master 7d30b65)
    Cloning 7d30b6566990e49be79010c2e7ccf0468b7b6dc5

  - Installing php-pm/httpkernel-adapter (dev-master 7d24719)
    Cloning 7d247190e9b78ee55176e8a9184c2cd1dfce3d89

monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
php-pm/php-pm suggests installing php-pm/zend-adapter (Zend application framework adapter)
php-pm/php-pm suggests installing ext-libevent (Allows for use of a more performant event-loop implementation.)
php-pm/php-pm suggests installing ext-libev (Allows for use of a more performant event-loop implementation.)
php-pm/php-pm suggests installing ext-event (Allows for use of a more performant event-loop implementation.)
Package guzzle/common is abandoned, you should avoid using it. Use guzzle/guzzle instead.
Package guzzle/stream is abandoned, you should avoid using it. Use guzzle/guzzle instead.
Package guzzle/parser is abandoned, you should avoid using it. Use guzzle/guzzle instead.
Package guzzle/http is abandoned, you should avoid using it. Use guzzle/guzzle instead.
Writing lock file
Generating autoload files

Kurz nachm Starten bekomm ich Fehlermeldung:
pi at volkszaehler:~/volkszaehler.org $ vendor/bin/ppm -c etc/ppm.json start &
[1] 10791
pi at volkszaehler:~/volkszaehler.org $
  [Symfony\Component\Console\Exception\CommandNotFoundException]
  Command "etc/ppm.json" is not defined.
^C
[1]+  Exit 1                  vendor/bin/ppm -c ./etc/ppm.json start


Soweit ich das sehe gibts die Option -c gar nicht.

Also ausgeschrieben:
pi at volkszaehler:~/volkszaehler.org $ vendor/bin/ppm start --host=0.0.0.0 --port=8080 --workers=8 --static=false --bridge=HttpKernel --bootstrap=Volkszaehler\\Server\\PPMBootstrapAdapter &
[2] 11404
pi at volkszaehler:~/volkszaehler.org $ PPM could find a php-cgi path. Please specify by --cgi-path=
^C
[2]+  Exit 1                  vendor/bin/ppm start --host=0.0.0.0 --port=8080 --workers=8 --static=false --bridge=HttpKernel --bootstrap=Volkszaehler\\Server\\PPMBootstrapAdapter


Ich brech an der Stelle mal ab, php5-cgi ist nämlich nicht installiert.
Aber php5 reicht doch, oder? In der Readme.md zu php-pm les ich immer
wieder php7...


mfg Daniel



More information about the volkszaehler-dev mailing list