p_duthoit
p_duthoit

Reputation: 328

Symfony : Error : Attempted to call function "ctype_digit"

I'm experiencing an error while trying to install my Symfony (3.3) project on my server. I'm using an Apache HTTP Server and PHP 7.0.

When i'm accessing app_dev.php, it shows that error :

UndefinedFunctionException

Attempted to call function "ctype_digit" from namespace "Symfony\Component\HttpKernel".

in Kernel.php (line 274)

at Kernel->getName()in Kernel.php (line 85)

at Kernel->__construct('dev', true)in app_dev.php (line 25)

My composer update works well.

Does anybody know where it could come from ? .. or simply has an hint on the way to search.

Thank you for your help.

Upvotes: 3

Views: 2662

Answers (1)

p_duthoit
p_duthoit

Reputation: 328

Problem fixed. Actually, after updating PHP 7.0 to 7.1, it installed the ctype extension that was missing. I don't know why it wasn't already installed and enabled with my PHP 7.0 installation.

Many thanks for your help.

Upvotes: 3

Related Questions