php

php

/Applications/XAMPP/xamppfiles/bin/php -m 看什么模块都被加进来了

 

/Applications/XAMPP/xamppfiles/bin/phpize

 

 

 http://netsecurity.51cto.com/art/201303/383020.htm H5安全攻防

 

 

 

mac 中创建php文件是默认目录  /Library/WebServer/Documents

 

若打开php只显示的是代码不是网页,则终端运行sudo vim /etc/apache2/httpd.conf 

把这行LoadModule php5_module…..前面的#号去掉

 

扩展中的目录  /usr/lib/php/extensions/no-debug-non-zts-20090626/

php.ini的目录  /etc/php.ini

在php.ini中加入如下代码,并保存后退出,然后重启Apache

extension=XXX.so

 

重启服务器 sudo apachectl restart

posted @ 2014-12-29 19:23  bokeyuan_dan  阅读(133)  评论(0编辑  收藏  举报