Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #17176 > unrolled thread
| Started by | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| First post | 2016-12-06 09:31 +0100 |
| Last post | 2016-12-09 10:01 +0100 |
| Articles | 15 — 5 participants |
Back to article view | Back to comp.lang.php
phpdoc not work alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-12-06 09:31 +0100
Re: phpdoc not work Arno Welzel <usenet@arnowelzel.de> - 2016-12-06 14:22 +0100
Re: phpdoc not work alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-12-06 18:18 +0100
Re: phpdoc not work alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-12-06 18:59 +0100
Re: phpdoc not work Gregor Kofler <usenet@gregorkofler.com> - 2016-12-07 11:45 +0100
Re: phpdoc not work alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-12-07 13:00 +0100
Re: phpdoc not work "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-12-07 13:16 +0100
Re: phpdoc not work alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-12-07 14:24 +0100
Re: phpdoc not work Gregor Kofler <usenet@gregorkofler.com> - 2016-12-07 14:19 +0100
Re: phpdoc not work alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-12-07 14:29 +0100
Re: phpdoc not work "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-12-07 15:14 +0100
Re: phpdoc not work alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-12-07 16:12 +0100
Re: phpdoc not work Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-12-07 16:53 +0100
Re: phpdoc not work Gregor Kofler <usenet@gregorkofler.com> - 2016-12-08 01:31 +0100
Re: phpdoc not work alex <1j9448a02@lnx159sneakemail.com.invalid> - 2016-12-09 10:01 +0100
| From | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| Date | 2016-12-06 09:31 +0100 |
| Subject | phpdoc not work |
| Message-ID | <o25t1r$14mt$1@gioia.aioe.org> |
$ phpdoc -d src -t docs PHP Fatal error: Uncaught Doctrine\Common\Annotations\AnnotationException: You have to enable opcache.load_comments=1 or zend_optimizerplus.load_comments=1. in /usr/share/php/phpDocumentor/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:193 Because?
[toc] | [next] | [standalone]
| From | Arno Welzel <usenet@arnowelzel.de> |
|---|---|
| Date | 2016-12-06 14:22 +0100 |
| Message-ID | <ceeae34b-99e7-603b-323e-f9e8d506032d@arnowelzel.de> |
| In reply to | #17176 |
alex wrote: > $ phpdoc -d src -t docs > PHP Fatal error: Uncaught > Doctrine\Common\Annotations\AnnotationException: You have to enable > opcache.load_comments=1 or zend_optimizerplus.load_comments=1. in > /usr/share/php/phpDocumentor/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:193 > > Because? <http://stackoverflow.com/questions/34958319/phpdocumentor-2-and-php-7-with-opcache-issues-in-doctrine> <https://github.com/doctrine/annotations/releases/tag/v1.2.5> <http://askubuntu.com/questions/810739/php-7-and-phpdocumentor-install> -- Arno Welzel https://arnowelzel.de https://de-rec-fahrrad.de http://fahrradzukunft.de
[toc] | [prev] | [next] | [standalone]
| From | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| Date | 2016-12-06 18:18 +0100 |
| Message-ID | <o26rs9$qan$1@gioia.aioe.org> |
| In reply to | #17177 |
Il 06/12/2016 14:22, Arno Welzel ha scritto: > alex wrote: > >> $ phpdoc -d src -t docs >> PHP Fatal error: Uncaught >> Doctrine\Common\Annotations\AnnotationException: You have to enable >> opcache.load_comments=1 or zend_optimizerplus.load_comments=1. in >> /usr/share/php/phpDocumentor/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:193 >> >> Because? > > <http://stackoverflow.com/questions/34958319/phpdocumentor-2-and-php-7-with-opcache-issues-in-doctrine> thanks
[toc] | [prev] | [next] | [standalone]
| From | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| Date | 2016-12-06 18:59 +0100 |
| Message-ID | <o26uaa$ujm$1@gioia.aioe.org> |
| In reply to | #17178 |
Il 06/12/2016 18:18, alex ha scritto: > Il 06/12/2016 14:22, Arno Welzel ha scritto: >> alex wrote: >> >>> $ phpdoc -d src -t docs >>> PHP Fatal error: Uncaught >>> Doctrine\Common\Annotations\AnnotationException: You have to enable >>> opcache.load_comments=1 or zend_optimizerplus.load_comments=1. in >>> /usr/share/php/phpDocumentor/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:193 >>> >>> >>> Because? >> >> <http://stackoverflow.com/questions/34958319/phpdocumentor-2-and-php-7-with-opcache-issues-in-doctrine> >> > > thanks > but must install into any project directories?
[toc] | [prev] | [next] | [standalone]
| From | Gregor Kofler <usenet@gregorkofler.com> |
|---|---|
| Date | 2016-12-07 11:45 +0100 |
| Message-ID | <o28p6h$l6q$1@dont-email.me> |
| In reply to | #17179 |
Am 2016-12-06 um 18:59 schrieb alex: > Il 06/12/2016 18:18, alex ha scritto: >> Il 06/12/2016 14:22, Arno Welzel ha scritto: >>> alex wrote: >>> >>>> $ phpdoc -d src -t docs >>>> PHP Fatal error: Uncaught >>>> Doctrine\Common\Annotations\AnnotationException: You have to enable >>>> opcache.load_comments=1 or zend_optimizerplus.load_comments=1. in >>>> /usr/share/php/phpDocumentor/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:193 >>>> >>>> >>>> >>>> Because? >>> >>> <http://stackoverflow.com/questions/34958319/phpdocumentor-2-and-php-7-with-opcache-issues-in-doctrine> >>> >>> >> >> thanks >> > > but must install into any project directories? No. That's why you got a -d parameter. Gregor
[toc] | [prev] | [next] | [standalone]
| From | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| Date | 2016-12-07 13:00 +0100 |
| Message-ID | <o28tlk$1qqu$1@gioia.aioe.org> |
| In reply to | #17180 |
Il 07/12/2016 11:45, Gregor Kofler ha scritto: > No. That's why you got a -d parameter. > $ composer require --dev phpdocumentor/phpdocumentor install into current directory but, for example, how-to install into /usr/local/phpdoc?
[toc] | [prev] | [next] | [standalone]
| From | "Christoph M. Becker" <cmbecker69@arcor.de> |
|---|---|
| Date | 2016-12-07 13:16 +0100 |
| Message-ID | <o28uin$6i3$1@solani.org> |
| In reply to | #17181 |
On 07.12.2016 at 13:00, alex wrote: > Il 07/12/2016 11:45, Gregor Kofler ha scritto: >> No. That's why you got a -d parameter. >> > > $ composer require --dev phpdocumentor/phpdocumentor > install into current directory > > but, for example, how-to install into /usr/local/phpdoc? Use the global command, see <https://getcomposer.org/doc/03-cli.md#global>. -- Christoph M. Becker
[toc] | [prev] | [next] | [standalone]
| From | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| Date | 2016-12-07 14:24 +0100 |
| Message-ID | <o292iu$4fg$1@gioia.aioe.org> |
| In reply to | #17182 |
Il 07/12/2016 13:16, Christoph M. Becker ha scritto: > On 07.12.2016 at 13:00, alex wrote: > >> Il 07/12/2016 11:45, Gregor Kofler ha scritto: >>> No. That's why you got a -d parameter. >>> >> >> $ composer require --dev phpdocumentor/phpdocumentor >> install into current directory >> >> but, for example, how-to install into /usr/local/phpdoc? > > Use the global command, see <https://getcomposer.org/doc/03-cli.md#global>. > $ composer require --dev phpdocumentor/phpdocumentor -d /usr/local/phpdoc sorry, I just needed this
[toc] | [prev] | [next] | [standalone]
| From | Gregor Kofler <usenet@gregorkofler.com> |
|---|---|
| Date | 2016-12-07 14:19 +0100 |
| Message-ID | <o29279$j6v$1@dont-email.me> |
| In reply to | #17181 |
Am 2016-12-07 um 13:00 schrieb alex: > Il 07/12/2016 11:45, Gregor Kofler ha scritto: >> No. That's why you got a -d parameter. >> > > $ composer require --dev phpdocumentor/phpdocumentor > install into current directory > > but, for example, how-to install into /usr/local/phpdoc? Why not pick the phar-File (version 2.9 works with PHP7), set chmod +x, place it wherever you want and execute it with the prefered parameters? Gregor
[toc] | [prev] | [next] | [standalone]
| From | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| Date | 2016-12-07 14:29 +0100 |
| Message-ID | <o292sl$52l$1@gioia.aioe.org> |
| In reply to | #17183 |
Il 07/12/2016 14:19, Gregor Kofler ha scritto: > Why not pick the phar-File (version 2.9 works with PHP7), set chmod +x, > place it wherever you want and execute it with the prefered parameters? $ ./phpDocumentor.phar PHP Fatal error: Uncaught Doctrine\Common\Annotations\AnnotationException: You have to enable opcache.load_comments=1 or zend_optimizerplus.load_comments=1. in phar:///mnt/common2/pending/phpDocumentor.phar/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:193
[toc] | [prev] | [next] | [standalone]
| From | "Christoph M. Becker" <cmbecker69@arcor.de> |
|---|---|
| Date | 2016-12-07 15:14 +0100 |
| Message-ID | <o295fa$bef$1@solani.org> |
| In reply to | #17185 |
On 07.12.2016 at 14:29, alex wrote: > Il 07/12/2016 14:19, Gregor Kofler ha scritto: >> Why not pick the phar-File (version 2.9 works with PHP7), set chmod +x, >> place it wherever you want and execute it with the prefered parameters? > > $ ./phpDocumentor.phar > PHP Fatal error: Uncaught > Doctrine\Common\Annotations\AnnotationException: You have to enable > opcache.load_comments=1 or zend_optimizerplus.load_comments=1. in > phar:///mnt/common2/pending/phpDocumentor.phar/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:193 Have you tried configuring opcache.load_comments=1? -- Christoph M. Becker
[toc] | [prev] | [next] | [standalone]
| From | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| Date | 2016-12-07 16:12 +0100 |
| Message-ID | <o298to$fq2$1@gioia.aioe.org> |
| In reply to | #17186 |
Il 07/12/2016 15:14, Christoph M. Becker ha scritto:
> On 07.12.2016 at 14:29, alex wrote:
>
>> Il 07/12/2016 14:19, Gregor Kofler ha scritto:
>>> Why not pick the phar-File (version 2.9 works with PHP7), set chmod +x,
>>> place it wherever you want and execute it with the prefered parameters?
>>
>> $ ./phpDocumentor.phar
>> PHP Fatal error: Uncaught
>> Doctrine\Common\Annotations\AnnotationException: You have to enable
>> opcache.load_comments=1 or zend_optimizerplus.load_comments=1. in
>> phar:///mnt/common2/pending/phpDocumentor.phar/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:193
>
> Have you tried configuring opcache.load_comments=1?
>
var_dump(ini_get('opcache.load_comments'));
bool(false)
[toc] | [prev] | [next] | [standalone]
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Date | 2016-12-07 16:53 +0100 |
| Message-ID | <2536934.e9J7NaK4W3@PointedEars.de> |
| In reply to | #17186 |
Christoph M. Becker wrote: > On 07.12.2016 at 14:29, alex wrote: >> Il 07/12/2016 14:19, Gregor Kofler ha scritto: >>> Why not pick the phar-File (version 2.9 works with PHP7), set chmod +x, >>> place it wherever you want and execute it with the prefered parameters? >> >> $ ./phpDocumentor.phar >> PHP Fatal error: Uncaught >> Doctrine\Common\Annotations\AnnotationException: You have to enable >> opcache.load_comments=1 or zend_optimizerplus.load_comments=1. in >> phar:///mnt/common2/pending/phpDocumentor.phar/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:193 > > Have you tried configuring opcache.load_comments=1? aioe.org, address munger, luser. Hopeless. Waste of time. It is good to see when one’s scorefile is adjusted properly. -- PointedEars Zend Certified PHP Engineer <http://www.zend.com/en/yellow-pages/ZEND024953> <https://github.com/PointedEars> | <http://PointedEars.de/wsvn> Twitter: @PointedEars2 | Please do not cc me./Bitte keine Kopien per E-Mail.
[toc] | [prev] | [next] | [standalone]
| From | Gregor Kofler <usenet@gregorkofler.com> |
|---|---|
| Date | 2016-12-08 01:31 +0100 |
| Message-ID | <o2a9j5$2gs$1@dont-email.me> |
| In reply to | #17185 |
Am 2016-12-07 um 14:29 schrieb alex: > Il 07/12/2016 14:19, Gregor Kofler ha scritto: >> Why not pick the phar-File (version 2.9 works with PHP7), set chmod +x, >> place it wherever you want and execute it with the prefered parameters? > > $ ./phpDocumentor.phar > PHP Fatal error: Uncaught > Doctrine\Common\Annotations\AnnotationException: You have to enable > opcache.load_comments=1 or zend_optimizerplus.load_comments=1. in > phar:///mnt/common2/pending/phpDocumentor.phar/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php:193 Did you really pick this release? https://github.com/phpDocumentor/phpDocumentor2/releases/
[toc] | [prev] | [next] | [standalone]
| From | alex <1j9448a02@lnx159sneakemail.com.invalid> |
|---|---|
| Date | 2016-12-09 10:01 +0100 |
| Message-ID | <o2dru6$1deo$1@gioia.aioe.org> |
| In reply to | #17190 |
Il 08/12/2016 01:31, Gregor Kofler ha scritto: > Did you really pick this release? > > https://github.com/phpDocumentor/phpDocumentor2/releases/ > > > No. http://phpdoc.org/phpDocumentor.phar but https://github.com/phpDocumentor/phpDocumentor2/releases/ works Thanks :)
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.php
csiph-web