How to fix PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_curl.dll'?

后端 未结 7 1293
忘掉有多难
忘掉有多难 2020-12-03 06:43

I currently have PHP 5.5.12 and Apache 2.4 installed on Windows Server 2008 R2. Everything is running perfectly with no issue/warnings.

What I have done is copied th

7条回答
  •  执笔经年
    2020-12-03 07:38

    No prompt use:

    dir /x
    

    Procure o nome reduzido do diretório na linha do "Program Files (x86)"

    27/08/2018  15:07              PROGRA~2     Program Files (x86)
    

    Coloque a seguinte configuração em php.ini para a opção:

    extension_dir="C:\PROGRA~2\path\to\php\ext"
    

    Acredito que isso resolverá seu problema.

    Zorro

提交回复
热议问题