继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续
感谢您的支持,我会继续努力的
赞赏金额会直接到老师账户
将二维码发送给自己后长按识别
微信支付
支付宝支付

Php Installing An Expansion

安卓软件程序开发入门学习
关注TA
已关注
手记 289
粉丝 49
获赞 282


Os Version:        CentOS release 5.4

Php Version:      Php 5.3.3


To Install The Extension Into The Source Directory

cd /usr/local//php/ext/soap

/usr/local/php/bin/phpize

./configure --with-php-config=/usr/local/php/bin/php-config --enable-soap

make && make install


Compiled Soap.so File Save Path:

/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/


Modify The Php.ini File:

locate php.ini

vim /usr/local/php/etc/php.ini


Find:

/usr/local/php/etc/php.ini the extension_dir = ". /"


Modify:

extension_dir = "/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/" And Save


The End Of The Line Add Following Contents:

extension = "soap.so"


Reboot Apache:

service httpd restar | /usr/local/apache2/apachectl|httpd -k restar  


Test Install Whether Success:

Access Url, Ctrl + F Find Extention Module Name


Notice Matter:





打开App,阅读手记
0人推荐
发表评论
随时随地看视频慕课网APP