dongxie45083 2014-02-13 08:13
浏览 80

通过CLI执行的PHP pthreads示例在IIS7上正常工作,而不是通过WEB

I have followed these steps:

  1. Installed php-5.4.25-Win32-VC9-x86 thread safe version
  2. Downloaded pthreads-0.38-php-5.4 and:

    •Added pthreadVC2.dll (included with the Windows releases) to the same directory as php.exe eg.C:\php

    •Added php_pthreads.dll to PHP extention folder eg. C:\php\ext

    •Added extension=php_pthreads.dll in C:\php\php.ini

  3. Checked phpinfo() it results in Thread safety enabled and pthreads version 0.38-rc

  4. When executed the sample thread script through command line interface on windowsNT IIS7 2008 R2 c:\php>php.exe -f c:\somedir\filetest.php it runs succesfully and i get the result.

  5. I tried to run same example of thread through browser but it showed 500 internal server error.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
    • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
    • ¥15 谁有desed数据集呀
    • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
    • ¥15 关于#hadoop#的问题
    • ¥15 (标签-Python|关键词-socket)
    • ¥15 keil里为什么main.c定义的函数在it.c调用不了
    • ¥50 切换TabTip键盘的输入法
    • ¥15 可否在不同线程中调用封装数据库操作的类
    • ¥15 微带串馈天线阵列每个阵元宽度计算