我需要幫助。剛剛將系統升級到PHP5.6後,我無法訪問我的DO VPS上的phpMyAdmin。過去幾天我做了很多研究,但無濟於事。我想列出我必須做的一切,看看有沒有人有任何智慧的話。最近這個我嘗試我在此發現的SO答案PHP 5.6升級後的PHPMyadmin HTTP 500
Internal server error (HTTP Error 500) after installing phpmyadmin on a certain domain
我檢查我的Apache日誌和此行中脫穎而出
[Tue Nov 29 02:42:20.684526 2016] [:error] [pid 12443] [client 66.169.11.19:56234] PHP Fatal error: require_once(): Failed opening required './libraries/php-gettext/gettext.inc' (include_path='.') in /usr/share/phpmyadmin/libraries/select_lang.lib.php on line 395
所以我做了以下內容:
sudo apt-get install php5.6-gettext
並收到以下回復
Note, selecting 'php5.6-common' instead of 'php5.6-gettext'
php5.6-common is already the newest version.
php5.6-common set to manually installed.
我想指出一個奇怪的事情可能會有所幫助。
每次我重新啓動Apache我得到這樣的警告:
[Tue Nov 29 02:42:11.553293 2016] [so:warn] [pid 12438] AH01574: module php5_module is already loaded, skipping
任何人能幫助我嗎?
這裏是我的phpMyAdmin的
虛擬主機<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "/usr/share/phpmyadmin"
ServerName pma.example.net
ErrorLog "/var/log/pma-error.log"
CustomLog "/var/log/pma-access.log" combined
<Directory "/usr/share/phpmyadmin">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
我不僅不能在我已經設置了我也無法從[服務器IP地址]訪問它的子域訪問/ phpMyAdmin的
我收到一個HTTP 500.
謝謝。
爲什麼'php5.6-gettext'?您是否搜索過您的發行版可以使用的gettext包? – jeroen
即時通訊懶,所以我會恢復到以前的PHP版本:D –
需要PHP5.6爲Laravel 5.3或我會有 – Dave