sowhy

慕道者

博客园 首页 新随笔 联系 订阅 管理

随笔分类 -  PHP基础

摘要:https://getcomposer.org/download/ 页面下载最新版本 composer.phar 放到php.exe 页面下。创建一个.bat文件,存入下面内容 配置好电脑php path环境。 cmd下运行composer 如果不出现重新启动一下电脑应该就可以了。 阅读全文
posted @ 2017-06-27 14:35 sowhy 阅读(1365) 评论(0) 推荐(0)

摘要:下面是PHP获取当前服务器信息的基本语句。 PHP程式版本: ZEND版本: MYSQL支持: MySQL数据库持续连接 : MySQL最大连接数: 服务器操作系统: 服务器端信息: 最大上传限制: 最 大执行时间: 脚本运行占用最大内存: 查询当前连接的MYSQL数据库的版本 php自带函数 mysql_get_server_info() 获得服务器系统时间 date_... 阅读全文
posted @ 2016-05-11 10:25 sowhy 阅读(2287) 评论(0) 推荐(0)

摘要:conf -> httpd.conf下设置成 <IfModule dir_module> DirectoryIndex index.php index.html index.htm </IfModule> 阅读全文
posted @ 2016-02-20 21:47 sowhy 阅读(630) 评论(0) 推荐(0)

摘要:安装MySQLsudoapt-getinstallmysql-servermysql-client安装php模块Sudoapt-getinstallphp5安装Apache2Sudoapt-getinstallapache2打开浏览器,输入localhost,看看是否有ItWorks!网页展示。目录... 阅读全文
posted @ 2015-12-21 12:03 sowhy 阅读(186) 评论(0) 推荐(0)