Unable to install joomla in localhost

十年热恋 提交于 2019-12-14 01:01:17

问题


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..

回答1:


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

with

$source = preg_replace_callback('/&#(\d+);/m', function($m){return utf8_encode(chr($m[1]));}, $source); // decimal notation 

And

$source = preg_replace('/&#x([a-f0-9]+);/mei', "utf8_encode(chr(0x\\1))", $source); // hex notation 

with

$source = preg_replace_callback('/&#x([a-f0-9]+);/mi', function($m){return utf8_encode(chr('0x'.$m[1]));}, $source); // hex notation 

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..!!




回答2:


Joomla 3.x doesn't support PHP 5.5 which is what EasyPHP-DevServer-13.1VC11 uses. You need to downgrade to an EasyPHP-DevServer version that uses PHP 5.4 or 5.3, the choice is up to you.



来源:https://stackoverflow.com/questions/18856907/unable-to-install-joomla-in-localhost

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!