ubuntu下安装php5.6开发环境sudo apt-get install phpmyadmin sudo apt-get install php-mbstring sudo apt-get
来源:互联网 发布:如何修改淘宝登录密码 编辑:程序博客网 时间:2024/05/22 17:23
sudo service apache2 restart 重启服务的命令或sudo /etc/init.d/apache2 startsudo /etc/init.d/mysql start////////////////////////////////////////////////////// sudo add-apt-repository ppa:ondrej/php参考网站 https://launchpad.net/~ondrej/+archive/ubuntu/php添加php5.6的源,由于ubuntu16没有php5只有php7。然后更新源sudo apt updatesudo apt-get install php5.6sudo apt-get install apache2sudo apt-get install mysql-serversudo apt-get install libapache2-mod-php5.6sudo apt-get install libapache2-mod-auth-mysqlsudo apt-get install php5-mysqlsudo apt-get install php5-gd 前两个很容易明白,要想apache能够解析PHP,就需要借助这两个模块来找到php engine。 第三个在php操作mysql数据库时用到,大多数人都有数据库编程经验,所以这就不用多解释了 第四个GD库。安装完apache2,根目录在/var/www/html下参考文章http://blog.csdn.net/u010571844/article/details/50748268安装phpmyadmin 需要安装上面的依赖文件不然打开之后提示缺少mbstring或空白。sudo apt-get install phpmyadminsudo apt-get install php-mbstringsudo apt-get install php-gettextsudo ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin http://jingyan.baidu.com/article/9113f81b24aa9a2b3214c721.htmlhttp://www.jianshu.com/p/5e6838cd144a
可能会出现乱码的情况。解决方法是在修改/etc/mysql/my.cnf文件。并追加内容
0 0
- ubuntu下安装php5.6开发环境sudo apt-get install phpmyadmin sudo apt-get install php-mbstring sudo apt-get
- sudo apt-get install rar
- sudo apt-get install evince
- sudo apt-get install subversion
- sudo apt-get install winbind
- Ubuntu CHM: sudo apt-get install xchm
- ubuntu sudo apt-get install 用不了
- sudo apt-get install ubuntu-restricted-extras
- ubuntu下 sudo apt-get install jdk 8
- ubuntu下sudo apt-get install/remove错误
- ubuntu安装sudo apt-get install chromium-browser
- Ubuntu安装软件sudo apt-get install时出现错误
- php安装http扩展(sudo apt-get install)
- sudo apt-get install apt-file && apt-file update
- sudo apt-get install的作用
- sudo apt-get install命令解释
- sudo apt-get install ia32-libs
- sudo apt-get install -f失效
- composer windows安装,使用新手入门
- String类型的比较(为什么比较字符串是否相等时不用=号用equals()的)
- linux系统修改系统时间重启后导致文件系统错误原因以及修复方法
- iOS 10 开发适配系列 之 权限Crash问题
- Android获取可用内存(系统,sd卡,u盘)
- ubuntu下安装php5.6开发环境sudo apt-get install phpmyadmin sudo apt-get install php-mbstring sudo apt-get
- Spring AOP技术(基于AspectJ)的Annotation开发
- [二分答案 2-SAT验证 前后缀优化建图] Codeforces 587D #326 (Div. 1) D. Duff in Mafia
- 信息系统服务管理 典型试题分析
- 能量获取 Energy
- MySQL limit实现分页(五)
- Java进阶-数据类型
- java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- HTML标签之音频、视频标签