安装curl扩展

891  wget http://mirrors.dev.shopex.cn/automake/files/php-5.3.10.tar.gz
  892  ls
  893  tar xf php-5.3.10.tar.gz
  894  cd php-5.3.10
  895  ls
  896  cd ext/
  897  ls
  898  cd curl/
  899  ls
  900  /usr/local/webserver/php/bin/phpize
  901  ./configure --with-php-config = /usr/local/webserver/php/bin/php-config
  902  ./configure  --help | grep config
  903  ./configure --with-php-config=/usr/local/webserver/php/bin/php-config
  904  make
  905  make install
  906  vim /usr/local/webserver/php/php.ini
  907  killall vi
  908  ps -ef | grep vi
  909  ps -ef | grep php.ini
  910  killall php.ini
  911  vim /usr/local/webserver/php/php.ini
  912  /usr/local/webserver/php/sbin/php-fpm restart
  913  ps -ef | grep php
  914  killall php-fpm
  915  /usr/local/webserver/php/sbin/php-fpm
  916  ps -ef | grep php

有话要说