Page 1 of 1

Laravel aimeos "php artisan" not working

Posted: 19 Feb 2019, 05:42
by clearmedia
Hello,
I've been having trouble running processes for a few days. It does not even work on a clean installation, can not you tell me somebody? Did anyone have this problem?

After running any command "php artisan" (for example php artisan aimeos:jobs index/rebuild ), write cmd error:

Process (PID "52563") failed with status "11"

thx

Code: Select all

composer show
aimeos/ai-admin-jqadm                 2018.10.14 Aimeos ai-admin-jqadm extension
aimeos/ai-admin-jsonadm               2018.10.4  Aimeos ai-admin-jsonadm extension
aimeos/ai-client-html                 2018.10.15 Aimeos ai-client-html extension
aimeos/ai-client-jsonapi              2018.10.5  Aimeos JSON API extension
aimeos/ai-controller-frontend         2018.10.4  Aimeos ai-controller-frontend extension
aimeos/ai-controller-jobs             2018.10.5  Aimeos ai-controller-jobs extension
aimeos/ai-gettext                     2018.10.3  Aimeos Gettext extension
aimeos/ai-laravel                     2018.10.2  Laravel adapter for Aimeos web shops and e-commerce solutions
aimeos/ai-swiftmailer                 2018.10.1  SwiftMailer adapter for Aimeos web shops and e-commerce solutions
aimeos/aimeos-core                    2018.10.16 Full-featured e-commerce components for high performance online shops
aimeos/aimeos-laravel                 2018.10.3  Full-featured Laravel web shop package and e-commerce solution for high performance shops
beyondcode/laravel-dump-server        1.2.2      Symfony Var-Dump Server for Laravel
composer/installers                   v1.6.0     A multi-framework Composer library installer
dnoegel/php-xdg-base-dir              0.1        implementation of xdg base directory specification for php
doctrine/cache                        v1.8.0     Caching library offering an object-oriented API for many cache backends
doctrine/dbal                         v2.9.2     Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.
doctrine/event-manager                v1.0.0     Doctrine Event Manager component
doctrine/inflector                    v1.3.0     Common String Manipulations with regard to casing and singular/plural rules.
doctrine/instantiator                 1.1.0      A small, lightweight utility to instantiate objects in PHP without invoking their constructors
doctrine/lexer                        v1.0.1     Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
dragonmantank/cron-expression         v2.2.0     CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due
egulias/email-validator               2.1.7      A library for validating emails against several RFCs
erusev/parsedown                      1.7.1      Parser for Markdown.
fideloper/proxy                       4.1.0      Set trusted proxies for Laravel
filp/whoops                           2.3.1      php error handling for cool kids
fzaninotto/faker                      v1.8.0     Faker is a PHP library that generates fake data for you.
guzzlehttp/guzzle                     6.3.3      Guzzle is a PHP HTTP client library
guzzlehttp/promises                   v1.3.1     Guzzle promises library
guzzlehttp/psr7                       1.5.2      PSR-7 message implementation that also provides common utility methods
hamcrest/hamcrest-php                 v2.0.0     This is the PHP port of Hamcrest Matchers
jakub-onderka/php-console-color       v0.2
jakub-onderka/php-console-highlighter v0.4       Highlight PHP code in terminal
laravel/framework                     v5.7.26    The Laravel Framework.
laravel/nexmo-notification-channel    v1.0.1     Nexmo Notification Channel for laravel.
laravel/slack-notification-channel    v1.0.3     Slack Notification Channel for laravel.
laravel/tinker                        v1.0.8     Powerful REPL for the Laravel framework.
lcobucci/jwt                          3.2.5      A simple library to work with JSON Web Token and JSON Web Signature
league/flysystem                      1.0.50     Filesystem abstraction: Many filesystems, one API.
mockery/mockery                       1.2.2      Mockery is a simple yet flexible PHP mock object framework
monolog/monolog                       1.24.0     Sends your logs to files, sockets, inboxes, databases and various web services
myclabs/deep-copy                     1.8.1      Create deep copies (clones) of your objects
nesbot/carbon                         1.36.2     A simple API extension for DateTime.
nexmo/client                          1.6.2      PHP Client for using Nexmo's API.
nikic/php-parser                      v4.2.1     A PHP parser written in PHP
nunomaduro/collision                  v2.1.1     Cli error handling for console/command-line PHP applications.
opis/closure                          3.1.5      A library that can be used to serialize closures (anonymous functions) and arbitrary objects.
paragonie/random_compat               v9.99.99   PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
phar-io/manifest                      1.0.3      Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version                       2.0.1      Library for handling version information and constraints
php-http/guzzle6-adapter              v1.1.1     Guzzle 6 HTTP Adapter
php-http/httplug                      v1.1.0     HTTPlug, the HTTP client abstraction for PHP
php-http/promise                      v1.0.0     Promise used for asynchronous HTTP requests
phpdocumentor/reflection-common       1.0.1      Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock     4.3.0      With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information tha...
phpdocumentor/type-resolver           0.4.0
phpspec/prophecy                      1.8.0      Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage             6.1.4      Library that provides collection, processing, and rendering functionality for PHP code coverage information.
phpunit/php-file-iterator             2.0.2      FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-text-template             1.2.1      Simple template engine.
phpunit/php-timer                     2.0.0      Utility class for timing
phpunit/php-token-stream              3.0.1      Wrapper around PHP's tokenizer extension.
phpunit/phpunit                       7.5.6      The PHP Unit Testing framework.
psr/container                         1.0.0      Common Container Interface (PHP FIG PSR-11)
psr/http-message                      1.0.1      Common interface for HTTP messages
psr/log                               1.1.0      Common interface for logging libraries
psr/simple-cache                      1.0.1      Common interfaces for simple caching
psy/psysh                             v0.9.9     An interactive shell for modern PHP.
ralouphie/getallheaders               2.0.5      A polyfill for getallheaders.
ramsey/uuid                           3.8.0      Formerly rhumsaa/uuid. A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4, and 5 universally unique identifier...
sebastian/code-unit-reverse-lookup    1.0.1      Looks up which function or method a line of code belongs to
sebastian/comparator                  3.0.2      Provides the functionality to compare PHP values for equality
sebastian/diff                        3.0.2      Diff implementation
sebastian/environment                 4.1.0      Provides functionality to handle HHVM/PHP environments
sebastian/exporter                    3.1.0      Provides the functionality to export PHP variables for visualization
sebastian/global-state                2.0.0      Snapshotting of global state
sebastian/object-enumerator           3.0.3      Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector            1.1.1      Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context           3.0.0      Provides functionality to recursively process PHP variables
sebastian/resource-operations         2.0.1      Provides a list of PHP built-in functions that operate on resources
sebastian/version                     2.0.1      Library that helps with managing the version number of Git-hosted PHP projects
swiftmailer/swiftmailer               v6.1.3     Swiftmailer, free feature-rich PHP mailer
symfony/console                       v4.2.3     Symfony Console Component
symfony/contracts                     v1.0.2     A set of abstractions extracted out of the Symfony components
symfony/css-selector                  v4.2.3     Symfony CssSelector Component
symfony/debug                         v4.2.3     Symfony Debug Component
symfony/event-dispatcher              v4.2.3     Symfony EventDispatcher Component
symfony/finder                        v4.2.3     Symfony Finder Component
symfony/http-foundation               v4.2.3     Symfony HttpFoundation Component
symfony/http-kernel                   v4.2.3     Symfony HttpKernel Component
symfony/polyfill-ctype                v1.10.0    Symfony polyfill for ctype functions
symfony/polyfill-mbstring             v1.10.0    Symfony polyfill for the Mbstring extension
symfony/polyfill-php72                v1.10.0    Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions
symfony/process                       v4.2.3     Symfony Process Component
symfony/psr-http-message-bridge       v1.1.0     PSR HTTP message bridge
symfony/routing                       v4.2.3     Symfony Routing Component
symfony/translation                   v4.2.3     Symfony Translation Component
symfony/var-dumper                    v4.2.3     Symfony mechanism for exploring and dumping PHP variables
theseer/tokenizer                     1.1.0      A small library for converting tokenized PHP source code into XML and potentially other formats
tijsverkoyen/css-to-inline-styles     2.2.1      CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTML-pages/files with inline styles. Th...
vlucas/phpdotenv                      v2.6.1     Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
webmozart/assert                      1.4.0      Assertions to validate method input/output with nice error messages.
zendframework/zend-diactoros          1.8.6      PSR HTTP Message implementations

Code: Select all

composer.json
{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "require": {
        "aimeos/aimeos-laravel": "~2018.07",
        "php": "^7.1.3",
        "fideloper/proxy": "^4.0",
        "laravel/framework": "5.7.*",
        "laravel/tinker": "^1.0"
    },
    "require-dev": {
        "beyondcode/laravel-dump-server": "^1.0",
        "filp/whoops": "^2.0",
        "fzaninotto/faker": "^1.4",
        "mockery/mockery": "^1.0",
        "nunomaduro/collision": "^2.0",
        "phpunit/phpunit": "^7.0"
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/"
        },
        "classmap": [
            "database/seeds",
            "database/factories"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi"
        ],
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate --ansi"
        ],
        "post-update-cmd": [
            "php artisan vendor:publish --tag=public --force",
            "php artisan migrate"
        ]
    }
}

Re: Laravel aimeos "php artisan" not working

Posted: 22 Feb 2019, 08:53
by aimeos
Your PHP version produces a segmentation fault. Which PHP version are you using on the command line (php -v)?

Re: Laravel aimeos "php artisan" not working

Posted: 22 Feb 2019, 08:55
by clearmedia
aimeos wrote:Your PHP version produces a segmentation fault. Which PHP version are you using on the command line (php -v)?

oh, PHP 7.3.2 will be in this problem?

Re: Laravel aimeos "php artisan" not working

Posted: 22 Feb 2019, 08:58
by aimeos
Yes, PHP 7.3 is still buggy and doesn't work flawlessly. Use PHP 7.2 instead

Re: Laravel aimeos "php artisan" not working

Posted: 01 Mar 2019, 05:16
by supriyala
Thank you for answer aimeos. I was facing the same problem! Great help. Thank you.

Re: Laravel aimeos "php artisan" not working

Posted: 22 Mar 2019, 11:39
by tocnaza
Thanks for the help!

Re: Laravel aimeos "php artisan" not working

Posted: 19 Apr 2019, 16:20
by cavin12
good to know the update

Re: Laravel aimeos "php artisan" not working

Posted: 02 May 2019, 06:45
by Unmeshatodkar
I got valuable information here. Thanks for such an excellent piece of information.

Re: Laravel aimeos "php artisan" not working

Posted: 04 Oct 2019, 06:19
by sunitapr
Thanks, it is helpful.