duanhan7001 2016-11-30 08:43
浏览 51

使用apache2 web-server的Ubuntu 12.04 php,mysql-server和phpmyadmin安装错误

I have installed apache2 web-server and I want to install php, mysql and phpmyadmin in ubuntu 12.04

I followed this link

but I got this error

start: Job failed to start invoke-rc.d: initscript mysql, action
"start" failed. No apport report written because the error message
indicates its a followup error from a previous failure.
                           dpkg: error processing mysql-server-5.5 (--configure):  subprocess installed post-installation script returned
 error exit status 1 dpkg: dependency problems prevent configuration of
 mysql-server:  mysql-server depends on mysql-server-5.5; however:  
 Package mysql-server-5.5 is not configured yet. dpkg: error processing
 mysql-server (--configure):  dependency problems - leaving
 unconfigured Errors were encountered while processing: 
 mysql-server-5.5  mysql-server

I tried again and again but I didn't get any solution please help me

  • 写回答

1条回答 默认 最新

  • dongsi1944 2016-11-30 09:50
    关注

    I have seen these kind of errors when other things have been installed but the machine not rebooted. I suggest you try:

    1) reboot 2) sudo apt-get update 3) sudo apt-get install lamp-server^ 4) sudo apt-get install phpadmin

    you are using 12.04. The third step may not work - I forget when they brought in the caret syntax. If it doesn't work install tasksel and use that to install the lamp server.

    HTH

    Paul

    评论

报告相同问题?

悬赏问题

  • ¥50 永磁型步进电机PID算法
  • ¥15 sqlite 附加(attach database)加密数据库时,返回26是什么原因呢?
  • ¥88 找成都本地经验丰富懂小程序开发的技术大咖
  • ¥15 如何处理复杂数据表格的除法运算
  • ¥15 如何用stc8h1k08的片子做485数据透传的功能?(关键词-串口)
  • ¥15 有兄弟姐妹会用word插图功能制作类似citespace的图片吗?
  • ¥200 uniapp长期运行卡死问题解决
  • ¥15 latex怎么处理论文引理引用参考文献
  • ¥15 请教:如何用postman调用本地虚拟机区块链接上的合约?
  • ¥15 为什么使用javacv转封装rtsp为rtmp时出现如下问题:[h264 @ 000000004faf7500]no frame?