您的位置:首页 > 编程语言 > PHP开发

PHP

2015-10-06 00:19 701 查看
PHP样例:https://github.com/saoraozhe3hao/phpDemo

WAMP Server

Windows Apache MySQL PHP 集成环境,还带一个phpMyAdmin

wamp图标绿色,表示Apache 和 MySQL 都启动成功,否则为橙色

修改wamp快捷菜单中www 目录的指向:修改wampmanager.ini 和 wampmanager.tpl中当前指向的目录为新的目录,重启wamp

phpMyAdmin

配置文件:wamp\apps\phpmyadmin\config.inc.php

Apache

配置文件 Apache\conf\httpd.conf

修改访问限制:onlineoffline tag

修改web根目录:DocumentRoot 和 <Directory>

修改监听端口:listen 和 ServerName

引入扩展配置:去掉注释 Include conf/extra/httpd-vhosts.conf

虚拟主机配置 apache\conf\extra\httpd-vhosts.conf:

<VirtualHost *:80>

DocumentRoot "应用根目录"

ServerName 域名

</VirtualHost>

如果引入了虚拟主机配置,那么web根目录下是多个应用,否则为一个应用

Zend Studio

新建项目:File -> new -> Local Php Project

删除:ctrl + d

注释:ctrl + /

提示:alt + /

单文件内容查找:ctrl + f

目录内容查找:ctrl + h

文件名查找:ctrl + shift + F

格式化:ctrl + shift + F

查看快捷键列表:ctrl + shift + L
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: