LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 883|回复: 0

如何安装 php 的模块 pcntl 在fc4上

[复制链接]
发表于 2007-8-16 17:12:34 | 显示全部楼层 |阅读模式
安装了几次pcntl 都不成功 。可是安装过程linux又没有报错 。都是顺利安装完了
php版本是 5.1.4 和 5.2.3 两个我都试过
安装命令是:
./configure --prefix=/usr/local/php --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-gd --with-iconv --with-gmp --with-dom --with-curl --with-gd --with-libpng-dir=/usr/lib  --with-freetpye-dir=/usr/lib --with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/lib --with-xml --enable-bcmath --enable-ftp --enable-pcntl  

make

make install

可是在phpinfo里边看不到有关pcntl任何支持


打开一个测试文件
<?php
if(function_exists('pcntl_fork')) echo "OS supports pcntl_fork";
else echo "OS does not support pcntl_fork";
?>



在ie上显示 OS does not support pcntl_fork

郁闷中   希望有大哥搞过这个,可以帮帮小弟
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表