zpjx 发表于 2018-12-23 10:03:23

Php Installing An Expansion

  

  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:






  




页: [1]
查看完整版本: Php Installing An Expansion