无法在本地主机上安装joomla [英] Unable to install joomla in localhost
问题描述
今天,我试图在本地主机上安装joomla,但在单击下一步时填写配置信息后使用Web安装程序进行安装,但没有任何反应,但仅显示一个正在处理的图像,如图所示 我尝试使用不同的浏览器,但是到处都有相同的问题,我已经将其保留了15-20分钟,重新启动服务器/笔记本电脑,但仍然存在相同的问题.我知道安装源没有问题,因为我之前已经安装了它. 好吧,我正在使用EasyPHP-DevServer-13.1VC11,请帮忙! 我的计算机上安装了wordpress,没有任何问题.
today i was trying to install joomla on localhost but with web installer after filling configuration info when i click next nothing happens but just an processing image is displayed as shown in image I tried with different browsers but same problem is everywhere,I have left it for 15-20 minutes ,restarted server/laptop yet same problem.I knew there is no problem with installation source as I have already installed it before. Well I am using EasyPHP-DevServer-13.1VC11 Please help!! I have wordpress installed in my computer and it have no issues..
推荐答案
Joomla 3.1.5在PHP 5.5中有bug,但是您不必担心使其工作,只需修改位于以下位置的文件input.php
文件即可libraries/joomla/filter/input.php
干得好:
用您喜欢的文本编辑器打开input.php
查找并替换
Joomla 3.1.5 have bug with PHP 5.5 but you do not need to worry to make it work you just need to modify an file input.php
file located in libraries/joomla/filter/input.php
here you go:
open input.php with your favorite text editor
find and replace
$source = preg_replace('/&#(\d+);/me', "utf8_encode(chr(\\1))", $source); // decimal notation
使用
$source = preg_replace_callback('/&#(\d+);/m', function($m){return utf8_encode(chr($m[1]));}, $source); // decimal notation
还有
$source = preg_replace('/&#x([a-f0-9]+);/mei', "utf8_encode(chr(0x\\1))", $source); // hex notation
使用
$source = preg_replace_callback('/&#x([a-f0-9]+);/mi', function($m){return utf8_encode(chr('0x'.$m[1]));}, $source); // hex notation
或者为了您的方便,我已经上传了一个固定的input.php文件,您可以在此处下载它,只需替换输入即可. php与原始的一个,你就完成了.. !!
or for your continence I have uploaded an fixed input.php file you can download it here just replace input.php with original one and you are done..!!
这篇关于无法在本地主机上安装joomla的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!