Re: Fatal error: Function annotation compilation failed
| From: | Stuart Dallas | Date: | Sun, 11 Jan 2015 22:03:58 +0000 |
| Subject: | Re: Fatal error: Function annotation compilation failed | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-324237@lists.php.net to get a copy of this message | ||
On 11 January 2015 at 19:46, Community <Community@mmhein.at> wrote:
> I’ve setup percona server, apache 2.4 + mod_fastcgi, php + fpm 5.6 on my
> MacOS X 10.10 box, and now it’s time installing some applications I need,
> i.e.. Drupal7, phpMyAdmin, Piwik, SugarCRM CE. Being under the impression
> nothings special to accomplish as I’ve done this countless times before, I
> was rather surprised to stumble across some major road blocks!
>
> When trying to install drupal the following error message occurs
>
>
> *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
> Faatal error: Function annotation compilation failed for function
> loadClassLoader in file
> /data/www/sites/myhost.local/apps/drupal/core/vendor/composer/autoload_real.php
> at line 9, error message: No phpdoc specified - all named functions require
> phpdoc. (Did you remember to use /** ?) in
> /data/www/sites//myhost.local/apps/drupal/core/vendor/autoload.php on line 5
> Call Stack
> # Time Memory Function Location
> 1 0.0002 259536 {main}( ) ../index.php:0
> 2 0.0377 261920 require_once(
> '/data/www/sites//myhost.loca/apps/drupal/core/vendor/autoload.php' )
> ../index.php:17
>
> *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
>
> I’m afraid I can’t make neither heads nor tails of this. :(
>
Did you try Googling the error? It's being caused by an extension called
augmented types. Disable that and the problem should go away.
At least phpinfo is working!
>
<snip useless bits>
augmented_types
>
> Version 0.6.5
> Directive Local Value Master Value
> augmented_types.compilation_error_level 1 1
> augmented_types.enforce_by_default 1 1
>
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/