本地主机扩展检查
我必须在本地主机上安装大型 CMS,但它需要 mcrypt 和 pdo_mysql。在我尝试安装它们之前,我尝试访问网站,但只得到空白页面。 我在 Windows 上运行 apache,所以我听说我必须将 dll 保留在 php 扩展文件夹中。我从 dlldll.com(不是广告)下载了文件 php_pdo_mysql.dll 和 php_mcrypt.php。 在 php.ini 中,我取消注释了“extension=php_mcrypt.dll”和“extension=php_pdo_mysql.dll”行。我已经重新启动了apache...再次空白。现在怎么办?
这是我的 get_loaded_extensions:
Array
(
[0] => bcmath
[1] => calendar
[2] => com_dotnet
[3] => ctype
[4] => session
[5] => filter
[6] => ftp
[7] => hash
[8] => iconv
[9] => json
[10] => odbc
[11] => pcre
[12] => Reflection
[13] => date
[14] => libxml
[15] => standard
[16] => tokenizer
[17] => zlib
[18] => SimpleXML
[19] => dom
[20] => SPL
[21] => wddx
[22] => xml
[23] => xmlreader
[24] => xmlwriter
[25] => apache2handler
[26] => curl
[27] => gd
[28] => mbstring
[29] => mysql
[30] => mysqli
[31] => rar
[32] => zip
[33] => eAccelerator
)
我做错了什么?
更新:
一些进展 - 现在我在 apache 重新启动时收到 PHP 启动警告。 “无法加载 php_mcrypt.dll/php_pdo_mysql.dll” - 但我在这个目录中有这些文件。 PHP 的损坏是否可能与不存在相同?
I have to install big CMS on my localhost, but it requires mcrypt, and pdo_mysql. Before I've tried to install them, I've tried to access site, but I only got blank page.
I'm running apache on windows, so I heard that I have to keep dll's in php extension folder. I've downloaded from dlldll.com (it's not ad) files php_pdo_mysql.dll, and php_mcrypt.php.
In php.ini I've uncommented lines "extension=php_mcrypt.dll", and "extension=php_pdo_mysql.dll". I've restarted apache... Blank again. And what now?
This is my get_loaded_extensions:
Array
(
[0] => bcmath
[1] => calendar
[2] => com_dotnet
[3] => ctype
[4] => session
[5] => filter
[6] => ftp
[7] => hash
[8] => iconv
[9] => json
[10] => odbc
[11] => pcre
[12] => Reflection
[13] => date
[14] => libxml
[15] => standard
[16] => tokenizer
[17] => zlib
[18] => SimpleXML
[19] => dom
[20] => SPL
[21] => wddx
[22] => xml
[23] => xmlreader
[24] => xmlwriter
[25] => apache2handler
[26] => curl
[27] => gd
[28] => mbstring
[29] => mysql
[30] => mysqli
[31] => rar
[32] => zip
[33] => eAccelerator
)
What I did wrong?
Update:
Some progress - now I have PHP startup warning on apache restart. "Unble to load php_mcrypt.dll/php_pdo_mysql.dll" - but I have those files in this directory. Is it possible that corrupted are for PHP same as non existing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
确保您在 php.ini 中设置了以下两个选项
默认情况下,错误报告处于关闭状态,您会看到空白页。
make sure you have following two options set in php.ini
By default error reporting is Off and you get blank page.