无法在Windows Server 2012 R2上安装phpmyadmin

I'm working on developing a web portal for Data visualization using PHP & google charts. I have installed Apache, Php and Mysql on windows server 2012 r2 but unable to install phpmyadmin.

I have put PHPMyAdmin folder to my root directory and give this url in my browser: localhost/PHPMyAdmin

I get following error:

Fatal error: Uncaught Error: Call to undefined function __() in C:\Apache\htdocs\phpMyAdmin\libraries\sanitizing.lib.php:135 

Stack trace: 
#0 C:\Apache\htdocs\phpMyAdmin\libraries\Message.php(586): PMA_sanitize('session_start()...', false, true) 
#1 C:\Apache\htdocs\phpMyAdmin\libraries\Message.php(650): PMA\libraries\Message::decodeBB('session_start()...') 
#2 C:\Apache\htdocs\phpMyAdmin\libraries\Error.php(167): PMA\libraries\Message->getMessage() 
#3 C:\Apache\htdocs\phpMyAdmin\libraries\ErrorHandler.php(157): PMA\libraries\Error->getHash() 
#4 C:\Apache\htdocs\phpMyAdmin\libraries\ErrorHandler.php(121): PMA\libraries\ErrorHandler->addError('session_start()...', 2, 'C:\\Apache\\htdoc...', 83, true) 
#5 [internal function]: PMA\libraries\ErrorHandler->handleError(2, 'session_start()...', 'C:\\Apache\\htdoc...', 83, Array) 
#6 C:\Apache\htdocs\phpMyAdmin\libraries\session.inc.php(83): session_start() 
#7 C:\Apache\htdocs\phpMyAdmin\libraries\common.inc.php(266): require('C:\\Apache\\htdoc...') 
#8 C:\Apache\htdocs\phpMyAdmin\inde in C:\Apache\htdocs\phpMyAdmin\libraries\sanitizing.lib.php on line 135
dongle2627
dongle2627 toolong
4 年多之前 回复
douhan9191
douhan9191 stackoverflow.com/questions/36237930/...
4 年多之前 回复
doudonglu3764
doudonglu3764 请编辑您提出的格式,此刻它只是一个巨大的文字墙,让我想立刻离开....
4 年多之前 回复

1个回答

Check that your session directory is writable by the web server process.

The best way to do so is to create your own Phpinfo file; in any web accessible folder create a file (you can call it test.php or phpinfo.php or whatever you'd like) with the following content:

<?php
phpinfo();
?>

Open that file in your browser (http://localhost/test.php or similar) and look for the line session.save_path. That's your session folder; make sure the permissions are suitable and see if that helps.

Like on windows right click that folder mentioned and look into properties where one can change the permissions.

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐