Unable to install joomla in localhost

2019-06-28 03:55发布

问题:

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.