Hi Sylvain,

I'm using PHP 5.0.5, I've attached a copy of the phpinfo() page, hope
this provides enough information.

Thanks


On 12/27/05, Sylvain Pasche <[EMAIL PROTECTED]> wrote:
> Hi Rhys,
>
> Which version of PHP are you using ?
>
> The token_get_all function should be there since version >= 4.2.0. But
> CartoWeb requires PHP > 5.0.4 at least.
>
> Regards,
>
> Sylvain
>
> Le dimanche 25 décembre 2005 à 09:35 +1100, Rhys Stewart a écrit :
> > hello all,
> > when trying to view the demo, i get this error, i fiddled around a bit
> > (fiddling around usually works for me) but alas, no luck. The error is
> > as follows:
> >
> > Fatal error: Call to undefined function token_get_all() in
> > /home/rhys/womp/cartoweb3/include/smarty/plugins/compiler.defun.php on
> > line 53
> >
> > I checked my smarty setup (not that I really know how it should be
> > setup) and it seems fine.. according to the
> > documentation.....ummm.....thats about it, have the latest smarty
> > installed on the system.
> >
> > Thanks much.
> >
> > _______________________________________________
> > Cartoweb-users mailing list
> > [email protected]
> > http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
> _______________________________________________
> Cartoweb-users mailing list
> [email protected]
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
Title: phpinfo()
PHP Logo

PHP Version 5.0.5-pl3-gentoo


System Linux flatback 2.6.13-kororaa-r8 #1 SMP Sat Oct 29 10:25:20 EST 2005 i686
Build Date Dec 24 2005 07:54:40
Configure Command './configure' '--prefix=/usr/lib/php5' '--sysconfdir=/etc' '--cache-file=./config.cache' '--disable-cli' '--enable-cgi' '--enable-fastcgi' '--disable-discard-path' '--disable-force-cgi-redirect' '--with-config-file-path=/etc/php/cgi-php5' '--with-config-file-scan-dir=/etc/php/cgi-php5/ext-active' '--without-pear' '--disable-bcmath' '--with-bz2' '--disable-calendar' '--disable-ctype' '--without-curl' '--without-curlwrappers' '--disable-dbase' '--enable-exif' '--without-fbsql' '--without-fdftk' '--disable-filepro' '--disable-ftp' '--with-gettext' '--without-gmp' '--without-hwapi' '--without-iconv' '--without-informix' '--disable-ipv6' '--without-kerberos' '--enable-mbstring' '--with-mcrypt' '--without-mcve' '--disable-memory-limit' '--without-mhash' '--without-ming' '--without-mnogosearch' '--without-msql' '--without-mssql' '--with-ncurses' '--without-oci8' '--without-oci8-instant-client' '--without-oracle' '--with-openssl' '--with-openssl-dir=/usr' '--without-ovrimos' '--disable-pcntl' '--without-pfpro' '--with-pgsql' '--disable-posix' '--with-pspell' '--without-recode' '--disable-simplexml' '--disable-shmop' '--with-snmp' '--disable-soap' '--disable-sockets' '--disable-spl' '--without-sybase' '--without-sybase-ct' '--disable-sysvmsg' '--disable-sysvsem' '--disable-sysvshm' '--with-tidy' '--disable-tokenizer' '--disable-wddx' '--without-xmlrpc' '--without-xsl' '--with-zlib' '--disable-debug' '--enable-dba' '--without-cdb' '--with-db4' '--without-flatfile' '--with-gdbm' '--without-inifile' '--without-qdbm' '--with-freetype-dir=/usr' '--with-t1lib=/usr' '--disable-gd-jis-conv' '--enable-gd-native-ttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-tiff-dir=/usr' '--without-xpm-dir' '--with-gd' '--without-mysqli' '--with-unixODBC=/usr' '--without-adabas' '--without-birdstep' '--without-dbmaker' '--without-empress' '--without-esoob' '--without-ibm-db2' '--without-iodbc' '--without-sapdb' '--without-solid' '--with-readline' '--without-libedit' '--without-mm' '--without-sqlite' '--with-pic'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php/cgi-php5/php.ini
Scan this dir for additional .ini files /etc/php/cgi-php5/ext-active
PHP API 20031224
PHP Extension 20041030
Zend Extension 220040412
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support disabled
Registered PHP Streams php, file, http, ftp, compress.bzip2, compress.zlib, https, ftps
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.0.5, Copyright (c) 1998-2004 Zend Technologies


PHP Credits


Configuration

PHP Core

DirectiveLocal ValueMaster Value
allow_call_time_pass_referenceOnOn
allow_url_fopenOffOff
always_populate_raw_post_dataOffOff
arg_separator.input&&
arg_separator.output&&
asp_tagsOffOff
auto_append_fileno valueno value
auto_globals_jitOnOn
auto_prepend_fileno valueno value
browscapno valueno value
default_charsetno valueno value
default_mimetypetext/htmltext/html
define_syslog_variablesOffOff
disable_classesno valueno value
disable_functionsno valueno value
display_errorsOnOn
display_startup_errorsOffOff
doc_rootno valueno value
docref_extno valueno value
docref_rootno valueno value
enable_dlOnOn
error_append_stringno valueno value
error_logno valueno value
error_prepend_stringno valueno value
error_reporting20392039
expose_phpOnOn
extension_dir/usr/lib/php5/lib//usr/lib/php5/lib/
file_uploadsOnOn
highlight.bg#FFFFFF#FFFFFF
highlight.comment#FF8000#FF8000
highlight.default#0000BB#0000BB
highlight.html#000000#000000
highlight.keyword#007700#007700
highlight.string#DD0000#DD0000
html_errorsOnOn
ignore_repeated_errorsOffOff
ignore_repeated_sourceOffOff
ignore_user_abortOffOff
implicit_flushOffOff
include_path.:/usr/share/php5:/usr/share/php/:/usr/share/php/Smarty/.:/usr/share/php5:/usr/share/php/:/usr/share/php/Smarty/
log_errorsOffOff
log_errors_max_len10241024
magic_quotes_gpcOnOn
magic_quotes_runtimeOffOff
magic_quotes_sybaseOffOff
mail.force_extra_parametersno valueno value
max_execution_time3030
max_input_time6060
open_basedirno valueno value
output_bufferingno valueno value
output_handlerno valueno value
post_max_size8M8M
precision1212
register_argc_argvOnOn
register_globalsOffOff
register_long_arraysOnOn
report_memleaksOnOn
report_zend_debugOnOn
safe_modeOffOff
safe_mode_exec_dirno valueno value
safe_mode_gidOffOff
safe_mode_include_dirno valueno value
sendmail_fromno valueno value
sendmail_path/usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i 
serialize_precision100100
short_open_tagOnOn
SMTPlocalhostlocalhost
smtp_port2525
sql.safe_modeOffOff
track_errorsOffOff
unserialize_callback_funcno valueno value
upload_max_filesize2M2M
upload_tmp_dirno valueno value
user_dirno valueno value
variables_orderEGPCSEGPCS
xmlrpc_error_number00
xmlrpc_errorsOffOff
y2k_complianceOnOn
zend.ze1_compatibility_modeOffOff

bz2

BZip2 Support Enabled
BZip2 Version 1.0.3, 15-Feb-2005

dba

DBA support enabled
Supported handlers gdbm cdb cdb_make db4

dom

DOM/XML enabled
DOM/XML API Version 20031129
libxml Version 2.6.20
HTML Support enabled
XPath Support enabled
XPointer Support enabled
Schema Support enabled
RelaxNG Support enabled

exif

EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.162.2.9 2005/08/05 14:00:47 hyanantha Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF

gd

GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.9
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

gettext

GetText Support enabled

libxml

libXML support active
libXML Version 2.6.20
libXML streams enabled

MapScript

MapServer Version MapServer version 4.8.0-beta2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=GDAL INPUT=SHAPEFILE
PHP MapScript Version ($Revision: 1.241 $ $Date: 2005/10/18 20:46:53 $)

mbstring

Multibyte Support enabled
Multibyte string engine libmbfl
Multibyte (japanese) regex support enabled
Multibyte regex (oniguruma) version 3.7.0

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

DirectiveLocal ValueMaster Value
mbstring.detect_orderno valueno value
mbstring.encoding_translationOffOff
mbstring.func_overload00
mbstring.http_inputpasspass
mbstring.http_outputpasspass
mbstring.internal_encodingno valueno value
mbstring.languageneutralneutral
mbstring.substitute_characterno valueno value

mcrypt

mcrypt supportenabled
Version 2.5.7
Api No 20021217
Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes cbc cfb ctr ecb ncfb nofb ofb stream

DirectiveLocal ValueMaster Value
mcrypt.algorithms_dirno valueno value
mcrypt.modes_dirno valueno value

ncurses

ncurses supportenabled
ncurses library version 5.4
color support yes

odbc

ODBC Supportenabled
Active Persistent Links 0
Active Links 0
ODBC library unixODBC
ODBC_INCLUDE -I/usr/include
ODBC_LFLAGS -L/usr/lib
ODBC_LIBS -lodbc

DirectiveLocal ValueMaster Value
odbc.allow_persistentOnOn
odbc.check_persistentOnOn
odbc.default_dbno valueno value
odbc.default_pwno valueno value
odbc.default_userno valueno value
odbc.defaultbinmodereturn as isreturn as is
odbc.defaultlrlreturn up to 4096 bytesreturn up to 4096 bytes
odbc.max_linksUnlimitedUnlimited
odbc.max_persistentUnlimitedUnlimited

openssl

OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.7e 25 Oct 2004

pcre

PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.2 01-Aug-2005

pgsql

PostgreSQL Supportenabled
PostgreSQL(libpq) Version 8.1.0
Multibyte character support enabled
SSL support enabled
Active Persistent Links 0
Active Links 0

DirectiveLocal ValueMaster Value
pgsql.allow_persistentOnOn
pgsql.auto_reset_persistentOffOff
pgsql.ignore_noticeOffOff
pgsql.log_noticeOffOff
pgsql.max_linksUnlimitedUnlimited
pgsql.max_persistentUnlimitedUnlimited

pspell

PSpell Support enabled

session

Session Support enabled
Registered save handlers files user
Registered serializer handlers php php_binary

DirectiveLocal ValueMaster Value
session.auto_startOffOff
session.bug_compat_42OnOn
session.bug_compat_warnOnOn
session.cache_expire180180
session.cache_limiternocachenocache
session.cookie_domainno valueno value
session.cookie_lifetime00
session.cookie_path//
session.cookie_secureOffOff
session.entropy_fileno valueno value
session.entropy_length00
session.gc_divisor100100
session.gc_maxlifetime14401440
session.gc_probability11
session.hash_bits_per_character44
session.hash_function00
session.namePHPSESSIDPHPSESSID
session.referer_checkno valueno value
session.save_handlerfilesfiles
session.save_pathno valueno value
session.serialize_handlerphpphp
session.use_cookiesOnOn
session.use_only_cookiesOffOff
session.use_trans_sid00

snmp

NET-SNMP Support enabled
NET-SNMP Version 5.2.1.2

standard

Regex Library Bundled library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i

DirectiveLocal ValueMaster Value
assert.active11
assert.bail00
assert.callbackno valueno value
assert.quiet_eval00
assert.warning11
auto_detect_line_endings00
date.default_latitude31.766731.7667
date.default_longitude35.233335.2333
date.sunrise_zenith90.8390.83
date.sunset_zenith90.8390.83
default_socket_timeout6060
safe_mode_allowed_env_varsPHP_PHP_
safe_mode_protected_env_varsLD_LIBRARY_PATHLD_LIBRARY_PATH
url_rewriter.tagsa=href,area=href,frame=src,input=src,form=,fieldset=a=href,area=href,frame=src,input=src,form=,fieldset=
user_agentno valueno value

tidy

Tidy supportenabled
libTidy Release 1st August 2004
Extension Version 2.0 ($Id: tidy.c,v 1.56.2.5 2005/02/08 05:29:48 rasmus Exp $)

DirectiveLocal ValueMaster Value
tidy.clean_outputno valueno value
tidy.default_configno valueno value

xml

XML Support active
XML Namespace Support active
libxml2 Version 2.6.20

zlib

ZLib Support enabled
Compiled Version 1.2.3
Linked Version 1.2.3

DirectiveLocal ValueMaster Value
zlib.output_compressionOffOff
zlib.output_compression_level-1-1
zlib.output_handlerno valueno value

Additional Modules

Module Name
readline

Environment

VariableValue
CONSOLE /dev/console
TERM linux
DEFAULTLEVEL default
CRITICAL_SERVICES checkroot hostname modules checkfs localmount clock
INIT_VERSION sysvinit-2.86
real_root /dev/hda3
PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/sbin:/usr/sbin
RUNLEVEL 3
PWD /
PREVLEVEL N
BOOTLEVEL boot
SVCNAME lighttpd
HOME /
SHLVL 1
video vesafb:off
SOFTLEVEL default
OLDSOFTLEVEL boot
_ /sbin/start-stop-daemon
PHP_FCGI_CHILDREN 1

PHP Variables

VariableValue
_SERVER["FCGI_ROLE"]RESPONDER
_SERVER["SERVER_SOFTWARE"]lighttpd/1.4.8
_SERVER["SERVER_NAME"]localhost
_SERVER["GATEWAY_INTERFACE"]CGI/1.1
_SERVER["SERVER_PORT"]80
_SERVER["SERVER_ADDR"]127.0.0.1
_SERVER["REMOTE_PORT"]58413
_SERVER["REMOTE_ADDR"]127.0.0.1
_SERVER["SCRIPT_NAME"]/e/womp/index.php
_SERVER["PATH_INFO"]no value
_SERVER["SCRIPT_FILENAME"]/var/www/localhost/htdocs/e/womp/index.php
_SERVER["DOCUMENT_ROOT"]/var/www/localhost/htdocs
_SERVER["REQUEST_URI"]/e/womp/
_SERVER["QUERY_STRING"]no value
_SERVER["REQUEST_METHOD"]GET
_SERVER["REDIRECT_STATUS"]200
_SERVER["SERVER_PROTOCOL"]HTTP/1.1
_SERVER["HTTP_CONNECTION"]Keep-Alive
_SERVER["HTTP_USER_AGENT"]Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.0 (like Gecko)
_SERVER["HTTP_ACCEPT"]text/html, image/jpeg, image/png, text/*, image/*, */*
_SERVER["HTTP_ACCEPT_ENCODING"]x-gzip, x-deflate, gzip, deflate
_SERVER["HTTP_ACCEPT_CHARSET"]iso-8859-1, utf-8;q=0.5, *;q=0.5
_SERVER["HTTP_ACCEPT_LANGUAGE"]en
_SERVER["HTTP_HOST"]localhost
_SERVER["ORIG_PATH_INFO"]no value
_SERVER["ORIG_SCRIPT_NAME"]/e/womp/index.php
_SERVER["ORIG_SCRIPT_FILENAME"]/var/www/localhost/htdocs/e/womp/index.php
_SERVER["PATH_TRANSLATED"]no value
_SERVER["CONSOLE"]/dev/console
_SERVER["TERM"]linux
_SERVER["DEFAULTLEVEL"]default
_SERVER["CRITICAL_SERVICES"]checkroot hostname modules checkfs localmount clock
_SERVER["INIT_VERSION"]sysvinit-2.86
_SERVER["real_root"]/dev/hda3
_SERVER["PATH"]/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/sbin:/usr/sbin
_SERVER["RUNLEVEL"]3
_SERVER["PWD"]/
_SERVER["PREVLEVEL"]N
_SERVER["BOOTLEVEL"]boot
_SERVER["SVCNAME"]lighttpd
_SERVER["HOME"]/
_SERVER["SHLVL"]1
_SERVER["video"]vesafb:off
_SERVER["SOFTLEVEL"]default
_SERVER["OLDSOFTLEVEL"]boot
_SERVER["_"]/sbin/start-stop-daemon
_SERVER["PHP_FCGI_CHILDREN"]1
_SERVER["PHP_SELF"]/e/womp/index.php
_SERVER["argv"]
Array
(
)
_SERVER["argc"]0
_ENV["FCGI_ROLE"]RESPONDER
_ENV["SERVER_SOFTWARE"]lighttpd/1.4.8
_ENV["SERVER_NAME"]localhost
_ENV["GATEWAY_INTERFACE"]CGI/1.1
_ENV["SERVER_PORT"]80
_ENV["SERVER_ADDR"]127.0.0.1
_ENV["REMOTE_PORT"]58413
_ENV["REMOTE_ADDR"]127.0.0.1
_ENV["SCRIPT_NAME"]/e/womp/index.php
_ENV["PATH_INFO"]no value
_ENV["SCRIPT_FILENAME"]/var/www/localhost/htdocs/e/womp/index.php
_ENV["DOCUMENT_ROOT"]/var/www/localhost/htdocs
_ENV["REQUEST_URI"]/e/womp/
_ENV["QUERY_STRING"]no value
_ENV["REQUEST_METHOD"]GET
_ENV["REDIRECT_STATUS"]200
_ENV["SERVER_PROTOCOL"]HTTP/1.1
_ENV["HTTP_CONNECTION"]Keep-Alive
_ENV["HTTP_USER_AGENT"]Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.0 (like Gecko)
_ENV["HTTP_ACCEPT"]text/html, image/jpeg, image/png, text/*, image/*, */*
_ENV["HTTP_ACCEPT_ENCODING"]x-gzip, x-deflate, gzip, deflate
_ENV["HTTP_ACCEPT_CHARSET"]iso-8859-1, utf-8;q=0.5, *;q=0.5
_ENV["HTTP_ACCEPT_LANGUAGE"]en
_ENV["HTTP_HOST"]localhost
_ENV["ORIG_PATH_INFO"]no value
_ENV["ORIG_SCRIPT_NAME"]/e/womp/index.php
_ENV["ORIG_SCRIPT_FILENAME"]/var/www/localhost/htdocs/e/womp/index.php
_ENV["PATH_TRANSLATED"]no value
_ENV["CONSOLE"]/dev/console
_ENV["TERM"]linux
_ENV["DEFAULTLEVEL"]default
_ENV["CRITICAL_SERVICES"]checkroot hostname modules checkfs localmount clock
_ENV["INIT_VERSION"]sysvinit-2.86
_ENV["real_root"]/dev/hda3
_ENV["PATH"]/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/sbin:/usr/sbin
_ENV["RUNLEVEL"]3
_ENV["PWD"]/
_ENV["PREVLEVEL"]N
_ENV["BOOTLEVEL"]boot
_ENV["SVCNAME"]lighttpd
_ENV["HOME"]/
_ENV["SHLVL"]1
_ENV["video"]vesafb:off
_ENV["SOFTLEVEL"]default
_ENV["OLDSOFTLEVEL"]boot
_ENV["_"]/sbin/start-stop-daemon
_ENV["PHP_FCGI_CHILDREN"]1

PHP License

This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact [EMAIL PROTECTED]


_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to