Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.php Subject: Re: phpdoc not work Date: Thu, 30 Jun 2022 10:43:22 +0200 Lines: 40 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net XZlUyQM07rn787/vMu9yZQMrGDN4h7o8zumVHcgTSgYjRRGXIO Cancel-Lock: sha1:WRz3eSItqHUXRkZJOM99C5Wir+Y= Content-Language: de-DE In-Reply-To: Xref: csiph.com comp.lang.php:19005 Flash: > $ php ~/Scaricati/phpDocumentor.phar --version > > Fatal error: Uncaught RuntimeException: Unable to find vendor directory > for phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor in > phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor/AutoloaderLocator.php > on line 75 > > RuntimeException: Unable to find vendor directory for > phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor in > phar:///home/rino/Scaricati/phpDocumentor.phar/src/phpDocumentor/AutoloaderLocator.php > on line 75 > > Why? Works for me: 1) Download phar from () 2) Make it executable chmod +x phpDocumentor.phar 3) Test it ./phpDocumentor.phar --version Result: phpDocumentor v3.3.1 -- Arno Welzel https://arnowelzel.de