我目前在Windows Server 2008 R2上安装了PHP 5.5.12和Apache 2.4.一切都运行良好,没有问题/警告.
我所做的是将相同的Apache文件/配置复制到另一台服务器.我复制了C:\PHP目录,然后复制了目录并将C:\Apache24它们粘贴到新服务器中.
然后我通过一次更改安装了Apache(即httpd -k install.)我将端口号从80更改为8877.Apache正在运行,没有问题,它在8877端口上运行.我也可以通过转到SERVER_IP_ADDRESS:8877打开默认页面,它可以工作.
但是,PHP并没有按预期工作.在Apache服务器的error.log文件中,我收到下面列出的警告
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_curl.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_ldap.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_mysql.dll' - The specified module could not be …Run Code Online (Sandbox Code Playgroud)