Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 836
p_duthoit Avatar asked Oct 16 '25 12:10

p_duthoit


1 Answers

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.

like image 141
p_duthoit Avatar answered Oct 18 '25 01:10

p_duthoit



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!