php线程安全编译解决方法_PHP教程

WBOY
Libérer: 2016-07-13 10:27:21
original
733 Les gens l'ont consulté

   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试试

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/820412.htmlTechArticlephp 线程安全编译 网上这么说:先安装php5,加上--maintainer-zts 然后安装pthreads cd /usr/local/src/ wget http://pecl.php.net/get/pthreads-2.0.5.tgz tar zxvf pth...
Étiquettes associées:
source:php.cn
Déclaration de ce site Web
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn
Tutoriels populaires
Plus>
Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!