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

后端 未结 7 1294
忘掉有多难
忘掉有多难 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:24

    As Darren commented, Apache don't understand php.ini relative paths in Windows.

    To fix it, change the relative paths in your php.ini to absolute paths.

    extension_dir="C:\full\path\to\php\ext\dir"
    

提交回复
热议问题