VPS侦探论坛

 找回密码
 注册
查看: 5019|回复: 1

/home/wwwroot/default/phpmyadmin/libraries/List.class.php on line 24

[复制链接]
发表于 2013-12-11 00:33:22 | 显示全部楼层 |阅读模式

买的BUYVM 128M VPS 装的32位 MINI DEBIAN系统 安装LNMP1.0完毕 登陆PHPMYADMIN后 网页左侧提示Fatal error: Cannot access parent:: when current class scope has no parent in /home/wwwroot/default/phpmyadmin/libraries/List.class.php on line 24
PHP和Nginx都正常运行
lnmp日志内容如下:
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH

# Check if user is root
if [ $(id -u) != "0" ]; then
    printf "Error: You must be root to run this script!\n"
    exit 1
fi

printf "=========================================================================\n"
printf "Manager for LNMP V1.0  ,  Written by Licess \n"
printf "=========================================================================\n"
printf "LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux \n"
printf "This script is a tool to Manage status of lnmp \n"
printf "For more information please visit http://www.lnmp.org \n"
printf "\n"
printf "Usage: /root/lnmp {start|stop|reload|restart|kill|status}\n"
printf "=========================================================================\n"

NGINXNAME=nginx
NGINXCONFIGFILE=/usr/local/nginx/conf/$NGINXNAME.conf
NGINXPIDFILE=/usr/local/nginx/logs/$NGINXNAME.pid
NGINXDAEMON=/usr/local/nginx/sbin/$NGINXNAME
PHPFPMNAME=php-fpm
PHPFPMCONFIGFILE=/usr/local/php/etc/$PHPFPMNAME.conf
PHPFPMPIDFILE=/usr/local/php/logs/$PHPFPMNAME.pid
PHPFPMDAEMON=/usr/local/php/sbin/$PHPFPMNAME
HOSTNAME=`hostname`
MYSQLPIDFILE=/usr/local/mysql/var/$HOSTNAME.pid

function_start()
{
    printf "Starting LNMP...\n"
    /etc/init.d/nginx start

    /etc/init.d/php-fpm start

    /etc/init.d/mysql start
}

function_stop()
{
    printf "Stoping LNMP...\n"
    /etc/init.d/nginx stop

    /etc/init.d/php-fpm stop

    /etc/init.d/mysql stop
}

function_reload()
{
    printf "Reload LNMP...\n"
    /etc/init.d/nginx reload

    /etc/init.d/php-fpm reload

    /etc/init.d/mysql reload
}

function_kill()
{
    killall nginx
    killall php-cgi
    killall php-fpm
    killall mysqld
}

function_status()
{
    if [ -f $NGINXPIDFILE ]; then
      printf "Nginx is runing!\n"
    else
    printf "Nginx is stop!\n"
    fi

    if [ -f $PHPFPMPIDFILE ]; then
      printf "php-fpm is runing!\n"
    else
    printf "php-fpm is stop!\n"
    fi

/etc/init.d/mysql status
}

case "$1" in
    start)
        function_start
        ;;
    stop)
        function_stop
        ;;
    restart)
        function_stop
        function_start
        ;;
    reload)
        function_reload
        ;;
    kill)
        function_kill
        ;;
    status)
        function_status
        ;;
    *)
        printf "Usage: /root/lnmp {start|stop|reload|restart|kill|status}\n"
esac
exit
==================
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-12-11 15:19:10 | 显示全部楼层


不清楚什么原因,你到phpmyadmin官网重新下个phpmyadmin试试

你这发的也不是安装日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-15 11:47 , Processed in 0.025334 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表