清除屏幕数据:ctrl + l  ;快速查找某个文件: find / -name 'httpd.conf'   (或php.ini)

重启Apache :   service httpd restart

      或   /usr/sbin/apachectl restart

      或  /etc/init.d/apache2 restart

      或  /etc/rc.d/init.d/httpd restart

      或  httpd -k restart

启动|重启Mysql : service mysqld start | restart

项目错误时在apache端的日志目录:/etc/httpd/logs

Apache 配置文件:

#微信测试项目
<VirtualHost *:80>
        DocumentRoot /projects/php/WeiXin/www/
        ServerName wx.hbape.com
        <Directory /projects/php/WeiXin/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>
        ErrorLog logs/wx.hbape.com.error.log
        TransferLog logs/wx.hbape.com.access.log
</VirtualHost>

04-13 23:47