Home > php教程 > php手册 > php线程安全编译解决方法

php线程安全编译解决方法

WBOY
Release: 2016-06-13 09:32:52
Original
1102 people have browsed it

   php 线程安全编译

  网上这么说:先安装php5,加上--maintainer-zts

  然后安装pthreads

  cd /usr/local/src/

  wget http://pecl.php.net/get/pthreads-2.0.5.tgz

  tar zxvf pthreads-2.0.5.tgz

  cd pthreads-2.0.5

  /usr/local/php5.5.12-zts/bin/phpize

  ./configure --with-php-config=/usr/local/php5.5.12-zts/bin/php-config

  make

  make install

  我的问题是,我下载了这个pthreads,里面根本就没有configure?这个该怎么编译?

  ------解决方案--------------------

  /usr/local/php5.5.12-zts/bin/phpize phpize路径,改成你已安装php目录下的phpize试试

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template