添加虚拟主机环境lnmp.git[苹果cmsV10]
~/lnmp/vhost.sh
--------------------------------------------------------------------
What Are You Doing?
1. Use HTTP Only
2. Use your own SSL Certificate and Key
3. Use Let's Encrypt to Create SSL Certificate and Key
q. Exit
Please input the correct option: 3
Please input domain(example: www.example.com): www.123.com
(Default directory: /data/wwwroot/www.123.com): 默认
Do you want to add more domain name? [y/n]: y
Type domainname or IP(example: example.com other.example.com): 123.com
Do you want to redirect from 123.com to www.123.com? [y/n]: y
Do you want to redirect all HTTP requests to HTTPS? [y/n]: y
Please select domain cert key length.
Enter one of 2048, 3072, 4096, 8192 will issue a RSA cert.
Enter one of ec-256, ec-384, ec-521 will issue a ECC cert.
Please enter your cert key length (default ec-256): 默认
Do you want to add hotlink protection? [y/n]: n
Allow Rewrite rule? [y/n]: y
Allow Nginx/Tengine/OpenResty access_log? [y/n]: y
# 进入网站根目录
cd /data/wwwroot/www.123.com/
# 将所目录的所有权交给 www 用户
sudo chown -R www:www .
# 所有目录设为 755
sudo find . -type d -exec chmod 755 {} \;
# 所有文件设为 644
sudo find . -type f -exec chmod 644 {} \;
# 再次确保 runtime 和 upload 目录可写
sudo chmod -R 755 runtime/ upload/ 2>/dev/null
sudo chmod -R 755 application/runtime/ 2>/dev/null
栏 目:PHP教程
下一篇:PHP 7安装使用体验之性能大提升,兼容性强,扩展支
本文标题:PHP中实现九九乘法口诀表
本文地址:http://tp2.com/index.php?m=home&c=View&a=index&aid=172
您可能感兴趣的文章
- 11-23PHP面向对象 封装与继承
- 11-23PHP 7安装使用体验之性能大提升,兼容性强,扩展支
- 11-23PHP中实现九九乘法口诀表
- 11-23PHP中实现一个简易三角形的方法
- 11-23PHP中利用for循环判断一个数是不是回文数
- 11-23隐藏PHP版本与PHP基本安全设置
- 11-23nginx+php 打开php错误提示的方法
- 11-23php中 == 和 === 的区别和应用说明
- 11-23PHP常用正则表达式汇总大全
- 11-23PHP保留两位小数的几种方法


阅读排行
推荐教程
- 11-22PHP自定义函数判断是否为Get、Post及Ajax提交的方法
- 11-23php中 == 和 === 的区别和应用说明
- 11-23PHP 7安装使用体验之性能大提升,兼容性强,扩展支
- 11-23隐藏PHP版本与PHP基本安全设置
- 11-23PHP+MYSQL 读写分离简单实战
- 11-22详解PHP防止直接访问.php 文件的实现方法
- 11-22PHP编程求最大公约数与最小公倍数的方法示例
- 11-22PHP实现上传多图即时显示与即时删除的方法
- 11-23PHP保留两位小数的几种方法
- 11-23nginx+php 打开php错误提示的方法
