码迷,mamicode.com
首页 > Web开发 > 详细

Mac PHP fuzz some tips

时间:2016-01-13 15:37:10      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:

sudo apachetcl start 
sudo apachetcl -v  查看版本
sudo vi /etc/apache2/httpd.conf   
find LoadModule php5_module libexec/apache2/libphp5.so  replace # 
:wq 
sudo cp /ect/php.ini.defalut /etc/php.ini 
cd /Library/WebServer/Documents/ 
sudo apachetcl restart 
vi info.php 
 
install mysql 
sudo vi /etc/bashrc 
 
#mysql
alias mysql=‘/usr/local/mysql/bin/mysql‘
alias mysqladmin=‘/usr/local/mysql/bin/mysqladmin‘
 
down phpmyadmin  or  brew install phpmyadmin 
sudo vi /etc/apache2/httpd.conf    
<Directory "/Library/WebServer/Documents/phpMyAdmin-4.4.1">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>
 
cd phpmyadmin
 

cp config.sample.inc.php  config.inc.php

sudo vi config.inc.php 

 
editor :localhost - 127.0.0.1 
 
chmod -R 777 jishigou  设置权限  

Mac PHP fuzz some tips

标签:

原文地址:http://www.cnblogs.com/S4b0r/p/5127315.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!