Call to undefined function ctype_digit() на freebsd7 php5

Ponemetski

Новичок
Call to undefined function ctype_digit() на freebsd7 php5

Здравствуйте!

файл:
PHP:
<?php
phpinfo();
echo ctype_digit("1");
?>
при вызове в браузере выдает phpinfo() и ругается:
Fatal error: Call to undefined function ctype_digit() in /usr/local/www/data/api/index.php on line 3
в чем может быть дело? кто-нибудь сталкивался?



в пхпинфо много всего, вот некоторые вещи (если нужно я скину другие, просто не знаю какие нужно)
PHP Version 5.2.8

System
FreeBSD dasha 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #3: Fri Dec 12 13:20:31 MSK 2008 alexn@dasha:/usr/obj/usr/src/sys/DASHA_IPFW_ALLNG i386

Configure Command
'./configure' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--with-pcre-regex=yes' '--enable-reflection' '--program-prefix=' '--disable-cli' '--enable-fastcgi' '--with-apxs=/usr/local/sbin/apxs' '--with-regex=php' '--with-zend-vm=CALL' '--disable-ipv6' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd7.0'

Apache Version
Apache/1.3.39 (Unix) PHP/5.2.8 with Suhosin-Patch

Loaded Modules
mod_php5, mod_setenvif, mod_so, mod_unique_id, mod_log_forensic, mod_usertrack, mod_headers, mod_expires, mod_cern_meta, mod_proxy, mod_digest, mod_auth_db, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_speling, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_mime_magic, mod_log_config, mod_env, mod_vhost_alias, mod_mmap_static, http_core
ставил по этому ману
http://www.freebsdmadeeasy.com/tutorials/web-server/install-php-5-for-web-hosting.php

нашел про установку ctype_*
http://ru2.php.net/manual/ru/ctype.installation.php

но там вроде ничего не надо устанавливать дополнительно для ctype_*

Спасибо
 

440hz

php.ru
а сами-то расширения ставил?
порт /usr/ports/lang/php5-extensions/

покажи
pkg_info | grep php

Код:
master(root):/usr/ports/lang/php5-extensions#>pkg_info | grep php
php5-5.2.6_1        PHP Scripting Language
php5-bz2-5.2.6_1    The bz2 shared extension for php
php5-ctype-5.2.6_1  The ctype shared extension for php
php5-curl-5.2.6_1   The curl shared extension for php
php5-dom-5.2.6_1    The dom shared extension for php
php5-exif-5.2.6_1   The exif shared extension for php
php5-extensions-1.1 A "meta-port" to install PHP extensions
php5-ftp-5.2.6_1    The ftp shared extension for php
php5-gd-5.2.6_1     The gd shared extension for php
php5-gettext-5.2.6_1 The gettext shared extension for php
php5-iconv-5.2.6_1  The iconv shared extension for php
php5-mbstring-5.2.6_1 The mbstring shared extension for php
php5-mcrypt-5.2.6_1 The mcrypt shared extension for php
php5-mhash-5.2.6_1  The mhash shared extension for php
php5-mysql-5.2.6_1  The mysql shared extension for php
php5-mysqli-5.2.6_1 The mysqli shared extension for php
php5-openssl-5.2.6_1 The openssl shared extension for php
php5-pcre-5.2.6_1   The pcre shared extension for php
php5-pdo-5.2.6_1    The pdo shared extension for php
php5-pdo_sqlite-5.2.6_1 The pdo_sqlite shared extension for php
php5-posix-5.2.6_1  The posix shared extension for php
php5-session-5.2.6_1 The session shared extension for php
php5-simplexml-5.2.6_1 The simplexml shared extension for php
php5-snmp-5.2.6_2   The snmp shared extension for php
php5-sockets-5.2.6_1 The sockets shared extension for php
php5-spl-5.2.6_1    The spl shared extension for php
php5-sqlite-5.2.6_1 The sqlite shared extension for php
php5-tokenizer-5.2.6_1 The tokenizer shared extension for php
php5-xml-5.2.6_1    The xml shared extension for php
php5-xmlreader-5.2.6_1 The xmlreader shared extension for php
php5-xmlwriter-5.2.6_1 The xmlwriter shared extension for php
php5-zlib-5.2.6_1   The zlib shared extension for php
phpMyAdmin-2.11.9   A set of PHP-scripts to manage MySQL over the web
-~{}~ 19.12.08 19:06:

ы! это гуд! это пять!
Код:
FreeBSD master.trafficshop.com 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Thu Sep  4 17:36:59 CEST 2008
[email][email protected][/email]:/usr/obj/usr/src/sys/TORNADO  amd64
 

Ponemetski

Новичок
440hz, спасибо.
сейчас я уже не рядом с 'дашей' :)
икстеншены не ставил, завтра поставлю и видимо проблема будет решена
 
Сверху