我最需要的是php+MySQL环境。
Tofloor
poster avatar
a676774305
deepin
2018-11-23 00:21
Author
本帖最后由 a676774305 于 2018-11-26 14:46 编辑

我最需要的是php+MySQL环境。Deepin如何安装lnmp环境?Deepin如何安装lamp环境?深度应用商店里安装的xampp中的MySQL用不了咋回事?
做好了软链接,提示如下
403 Forbidden
nginx/1.13.12
我手机上php+mysql环境一个AndroPHP搞定,我电脑上却搞不定了,哭...
Reply Favorite View the author
All Replies
avatar
许自强
deepin
2018-11-23 00:34
#1
本帖最后由 hyikesong 于 2018-11-22 16:36 编辑

用nginx的话,还需要安装php-fpm(而且这个东西可能需要配置一下)。
nginx收到请求之后会把内容转发给php-fpm(这个需要改一下nginx的配置)。
php-fpm监听9000端口
【这个是大概的思路,只能帮你到这里了】
Reply View the author
avatar
mowangjuanzi
deepin
2018-11-23 00:59
#2
楼主,你的linux基础需要加强了。。。
Reply View the author
avatar
c798654350
deepin
2018-11-23 01:16
#3
给我50块钱,我给你搞定
Reply View the author
avatar
yutent
deepin
2018-11-23 01:55
#4
It has been deleted!
avatar
successfully
deepin
2018-11-23 02:01
#5
强烈建议吧windows和macos集成到deepin中
Reply View the author
avatar
aitkots
deepin
2018-11-23 02:03
#6
https://oneinstack.com/   
需要手动改安装 .sh 脚本中关于识别系统的部分,增加deepin系统。

https://www.apachefriends.org/download.html  
选择需要的版本,下载 .run 文件,然后chomd +x 赋予可执行权限 然后运行。

你喜欢哪一种呢?
Reply View the author
avatar
ryenang
deepin
2018-11-23 02:04
#7
https://bbs.deepin.org/post/171341
强烈建议吧windows和macos集成到deepin中

Reply View the author
avatar
ryenang
deepin
2018-11-23 02:06
#8
很好安装啊,PHP+MySQL环境,搜索几篇CSDN的教程,多试几下就OK了。为什么这么多要求PHP环境的呢?
Reply View the author
avatar
lxq
deepin
2018-11-23 18:12
#9
如果不是很着急用PHP环境的话,建议先使用apt-get把相关模块一点点安装,便于理解相关性

如果着急要用PHP环境的话,建议把安装xampp的相关配置文件内容截图贴出来,方便查找问题
Reply View the author
avatar
coldlook
deepin
2018-11-23 18:28
#10
sudo apt install lnmp
Reply View the author
avatar
159******61
deepin
2018-11-23 18:37
#11
这个非常简单:
1.需要一个软件叫VM(虚拟机),并在VM中安装centos7系统
2.在VM中安装PHP集成开发环境例如使用(bt.cn)
3.在VM中挂载Deepin(本机)的共享目录
原理:在VM中运行PHP环境,将VM的wwwroot目录映射到本机开发
Reply View the author
avatar
changyuet
deepin
2018-11-23 18:42
#12
用BT面板 一键搭建    php mysql 环境
Reply View the author
avatar
a676774305
deepin
2018-11-26 22:45
#13
https://bbs.deepin.org/post/171341
很好安装啊,PHP+MySQL环境,搜索几篇CSDN的教程,多试几下就OK了。为什么这么多要求PHP环境的呢? ...

我手机上php+mysql环境一个AndroPHP搞定,我电脑上却搞不定了,哭...
Reply View the author
avatar
mobansou
deepin
2018-12-10 22:14
#14
Deepin 15.8 不能安装lnmp解决办法
可以修改include/version.sh 查找 Freetype_New_Ver='freetype-2.9' 替换 为 Freetype_New_Ver='freetype-2.9.1'
并修改 include/init.sh 查找 Deepin GNU/Linux 15.7 替换为 Deepin GNU/Linux 15.8 保存
Reply View the author
avatar
21wmd
deepin
2018-12-10 22:44
#15
我觉得楼主可以直接试试  sudo apt-get install lamp
Reply View the author
avatar
14******70@qq.com
deepin
2018-12-15 21:50
#16
https://bbs.deepin.org/post/171341
用BT面板 一键搭建    php mysql 环境

deepin 不建议用 bt 面板,能把 dde 搞崩,严重的重启能进不了系统。用 ubuntu 安装 bt 的时候也是徒手解决了一堆共享库问题才用 bt 面板把 nginx 安装上。现在想想还是当初在 centos7 用 bt面板安装 nginx+ php+mysql 是什么问题也没碰到的。
Reply View the author
avatar
jhonchou
deepin
2018-12-16 06:31
#17
可以有一键安装包
Reply View the author
avatar
changyuet
deepin
2018-12-18 17:09
#18
https://bbs.deepin.org/post/171341
deepin 不建议用 bt 面板,能把 dde 搞崩,严重的重启能进不了系统。用 ubuntu 安装 bt 的时候也是徒手解 ...

那你就搜索 lnmp 脚本 也可以搞定   github 上面很多
Reply View the author