Php, FC4 and pcntl support

Paul Howarth paul at city-fan.org
Wed May 3 15:38:02 UTC 2006


Cameron Beattie wrote:
> I wish to enable pcntl support in php. The following page 
> (http://phprpms.sourceforge.net/pcntl) indicates that this is the case 
> with FC4 however phpinfo() reports the following configure command, 
> indicating the pcntl support is not enabled:
> './configure' '--build=i386-redhat-linux' '--host=i386-redhat-linux' 
> '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' 
> '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' 
> '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' 
> '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' 
> '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' 
> '--infodir=/usr/share/info' '--cache-file=../config.cache' 
> '--with-libdir=lib' '--with-config-file-path=/etc' 
> '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' 
> '--disable-rpath' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' 
> '--with-freetype-dir=/usr' '--with-png-dir=/usr' 
> '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' 
> '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' 
> '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' 
> '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' 
> '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' 
> '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' 
> '--enable-trans-sid' '--enable-yp' '--enable-wddx' 
> '--with-pear=/usr/share/pear' '--with-kerberos' '--enable-ucd-snmp-hack' 
> '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' 
> '--enable-calendar' '--enable-dbx' '--enable-dio' 
> '--with-mime-magic=/etc/httpd/conf/magic' '--without-sqlite' 
> '--with-libxml-dir=/usr' '--with-xml' '--with-apxs2=/usr/sbin/apxs' 
> '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' 
> '--disable-dba'
> 
> rpm -q php
> php-5.0.4-10.5
> rpm -V php
> S.5....T  c /etc/php.ini

However, "php -m" suggests otherwise:

$ rpm -q php
php-5.0.4-10.5
$ php -m
[PHP Modules]
bz2
calendar
ctype
curl
dbx
dio
exif
ftp
gettext
gmp
iconv
libxml
mime_magic
openssl
pcntl
pcre
posix
pspell
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
yp
zlib

[Zend Modules]

> What is the best way to enable pcntl support?

Have you actually tried to use it?

Paul.




More information about the fedora-list mailing list