Warning: PHP Startup: Unable to load dynamic library 'json'


  • | 394 points

    Buenos dias, al activar algunas extensiones de me da un error:
    Warning: PHP Startup: Unable to load dynamic library 'json' (tried: F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\json (No se puede encontrar el m¾dulo especificado.), F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\php_json.dll (%1 no es una aplicaci¾n Win32 vßlida.)) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'ctype' (tried: F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\ctype (No se puede encontrar el m¾dulo especificado.), F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\php_ctype.dll (%1 no es una aplicaci¾n Win32 vßlida.)) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'tokenizer' (tried: F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\tokenizer (No se puede encontrar el m¾dulo especificado.), F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\php_tokenizer.dll (%1 no es una aplicaci¾n Win32 vßlida.)) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'ctype' (tried: F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\ctype (No se puede encontrar el m¾dulo especificado.), F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\php_ctype.dll (%1 no es una aplicaci¾n Win32 vßlida.)) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'tokenizer' (tried: F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\tokenizer (No se puede encontrar el m¾dulo especificado.), F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\php_tokenizer.dll (%1 no es una aplicaci¾n Win32 vßlida.)) in Unknown on line 0


  • | 3487 points

    ¡Buenos días @ftorreslop!

    Pues, según php.net, PHP ya apoya nativamente todos esos módulos, así que no toca instalarlos por separados:

    https://www.php.net/manual/es/json.installation.php
    https://www.php.net/manual/es/ctype.installation.php
    https://www.php.net/manual/es/tokenizer.installation.php

    Definitivamente puedo confirmar que el módulo de JSON funciona perfectamente puesto que lo utilizo a menudo en mis proyectos.


  • | 3487 points

    As a courtesy to other forum members who aren't as well-versed in Spanish, here's a brief translation:

    @ftorreslop said in Warning: PHP Startup: Unable to load dynamic library 'json':

    Good day. Upon activating some extensions, I get an error:

    Warning: PHP Startup: Unable to load dynamic library 'json' (tried: F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\json (The specified module cannot be found.), F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\php_json.dll (%1 is not a valid Win32 application.)) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'ctype' (tried: F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\ctype (The specified module cannot be found.), F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\php_ctype.dll (%1 is not a valid Win32 application.)) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'tokenizer' (tried: F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\tokenizer (The specified module cannot be found.), F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\php_tokenizer.dll (%1 is not a valid Win32 application.)) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'ctype' (tried: F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\ctype (The specified module cannot be found.), F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\php_ctype.dll (%1 is not a valid Win32 application.)) in Unknown on line 0

    Warning: PHP Startup: Unable to load dynamic library 'tokenizer' (tried: F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\tokenizer (The specified module cannot be found.), F:\laragon\bin\php\php-7.2.11-Win32-VC15-x64\ext\php_tokenizer.dll (%1 is not a valid Win32 application.)) in Unknown on line 0

    My reply as translated into English:

    Good day, @ftorreslop!

    Well, according to php.net, PHP already has native support for those modules, so you don't need to install them separately.

    https://www.php.net/manual/json.installation.php
    https://www.php.net/manual/ctype.installation.php
    https://www.php.net/manual/tokenizer.installation.php

    I can definitely confirm that the JSON module works perfectly since I use it on a regular basis in my projects.


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.