>Can you paste the contents of phpinfo.php..
phpinfo()PHP Version 4.2.2
SystemLinux daffy.perf.redhat.com 2.4.18-11smp #1 SMP Thu Aug 15 06:41:59 EDT 2002 i686 i686 i386 GNU/Linux Build DateSep 3 2002 05:25:09 Configure Command'./configure' '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu' '--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' '--prefix=/usr' '--with-config-file-path=/etc' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8' '--with-pear=/usr/share/pear' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal' '--with-apxs2=/usr/sbin/apxs' Server APIApache 2.0 Filter Virtual Directory Supportdisabled Configuration File (php.ini) Path/etc/php.ini Debug Buildno Thread Safetydisabled This program makes use of the Zend Scripting Language Engine: Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies PHP 4 Credits Configuration PHP Core DirectiveLocal ValueMaster Value allow_call_time_pass_reference OnOn allow_url_fopen 11 always_populate_raw_post_data 00 arg_separator.input && arg_separator.output && asp_tags OffOff auto_append_file no valueno value auto_prepend_file no valueno value browscap no valueno value default_charset no valueno value default_mimetype text/htmltext/html define_syslog_variables OffOff disable_functions no valueno value display_errors OnOn display_startup_errors OffOff doc_root no valueno value enable_dl OnOn error_append_string no valueno value error_log no valueno value error_prepend_string no valueno value error_reporting 20392039 expose_php OnOn extension_dir ././ file_uploads 11 gpc_order GPCGPC 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_errors OnOn ignore_user_abort OffOff implicit_flush OffOff include_path .:/usr/share/pear.:/usr/share/pear log_errors OffOff magic_quotes_gpc OnOn magic_quotes_runtime OffOff magic_quotes_sybase OffOff max_execution_time 3030 memory_limit 8M8M open_basedir no valueno value output_buffering no valueno value output_handler no valueno value post_max_size 8M8M precision 1212 register_argc_argv OnOn register_globals OffOff safe_mode OffOff safe_mode_exec_dir no valueno value safe_mode_gid OffOff safe_mode_include_dir no valueno value sendmail_from no valueno value sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i short_open_tag OnOn SMTP localhostlocalhost sql.safe_mode OffOff track_errors OffOff unserialize_callback_func no valueno value upload_max_filesize 2M2M upload_tmp_dir no valueno value user_dir no valueno value variables_order EGPCSEGPCS xmlrpc_error_number 00 xmlrpc_errors OffOff y2k_compliance OnOn yp YP Supportenabled xml XML Supportactive XML Namespace Supportactive EXPAT Versionexpat_1.95.4 wddx WDDX Supportenabled WDDX Session Serializerenabled standard Regex LibraryBundled library enabled Dynamic Library Supportenabled Path to sendmail/usr/sbin/sendmail -t -i DirectiveLocal ValueMaster Value assert.active 11 assert.bail 00 assert.callback no valueno value assert.quiet_eval 00 assert.warning 11 safe_mode_allowed_env_vars PHP_PHP_ safe_mode_protected_env_vars LD_LIBRARY_PATHLD_LIBRARY_PATH url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset=a=href,area=href,frame=src,input=src,form=,fieldset= sockets Sockets Supportenabled shmop shmop supportenabled session Session Supportenabled DirectiveLocal ValueMaster Value session.auto_start OffOff session.cache_expire 180180 session.cache_limiter nocachenocache session.cookie_domain no valueno value session.cookie_lifetime 00 session.cookie_path // session.cookie_secure OffOff session.entropy_file no valueno value session.entropy_length 00 session.gc_maxlifetime 14401440 session.gc_probability 11 session.name PHPSESSIDPHPSESSID session.referer_check no valueno value session.save_handler filesfiles session.save_path /tmp/tmp session.serialize_handler phpphp session.use_cookies OnOn session.use_trans_sid 00 pspell PSpell Supportenabled posix Revision$Revision: 1.42.2.2 $ pcre PCRE (Perl Compatible Regular Expressions) Supportenabled PCRE Library Version3.4 22-Aug-2000 openssl OpenSSL supportenabled OpenSSL VersionOpenSSL 0.9.6b [engine] 9 Jul 2001 iconv iconv supportenabled DirectiveLocal ValueMaster Value iconv.input_encoding ISO-8859-1ISO-8859-1 iconv.internal_encoding ISO-8859-1ISO-8859-1 iconv.output_encoding ISO-8859-1ISO-8859-1 gmp gmp supportenabled gettext GetText Supportenabled gd GD Supportenabled GD Version1.6.2 or higher FreeType Supportenabled FreeType Linkagewith freetype JPG Supportenabled PNG Supportenabled WBMP Supportenabled ftp FTP supportenabled exif EXIF Supportenabled EXIF Version1.2 Supported EXIF Version02100 Supported filetypesJPEG,TIFF domxml DOM/XMLenabled libxml Version2.4.23 HTML Supportenabled XPath Supportenabled XPointer Supportenabled dio dio supportenabled dbx dbx supportenabled dbx version1.0.0 supported databasesMySQL ODBC PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (not really) Sybase-CT dba DBA supportenabled Supported handlersgdbm db3 curl CURL supportenabled CURL Informationlibcurl 7.9.8 (OpenSSL 0.9.6b) (ipv6 enabled) ctype ctype functionsenabled (experimental) calendar Calendar supportenabled bz2 BZip2 SupportEnabled BZip2 Version1.0.2, 30-Dec-2001 bcmath BCMath supportenabled zlib ZLib Supportenabled 'zlib:' fopen wrapperenabled Compiled Version1.1.4 Linked Version1.1.4 DirectiveLocal ValueMaster Value zlib.output_compression OffOff Apache 2.0 Additional Modules sysvshm sysvsem Environment VariableValue HOSTNAMElegolas.add.es SHELL/bin/bash TERMxterm HISTSIZE1000 SSH_CLIENT192.168.2.15 2482 22 SSH_TTY/dev/pts/4 USERroot LS_COLORSno=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: USERNAMEroot PATH/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin MAIL/var/spool/mail/root PWD/var/www/html INPUTRC/etc/inputrc LANGes_ES.UTF-8 SSH_ASKPASS/usr/libexec/openssh/gnome-ssh-askpass HOME/root SHLVL2 BASH_ENV/root/.bashrc LOGNAMEroot LESSOPEN|/usr/bin/lesspipe.sh %s G_BROKEN_FILENAMES1 _/usr/sbin/httpd PHP Variables VariableValue _COOKIE["SQMSESSID"]8548fc5fccf6e2cf04eaecb449bb5e0c _SERVER["UNIQUE_ID"]qEPF9cCoAQIAACC8CQgAAAAD _SERVER["HTTP_ACCEPT"]*/* _SERVER["HTTP_ACCEPT_LANGUAGE"]ca _SERVER["HTTP_ACCEPT_ENCODING"]gzip, deflate _SERVER["HTTP_USER_AGENT"]Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) _SERVER["HTTP_PRAGMA"]no-cache _SERVER["HTTP_COOKIE"]SQMSESSID=8548fc5fccf6e2cf04eaecb449bb5e0c _SERVER["HTTP_VIA"]1.1 PCPROXY:80 (Squid/2.4.STABLE7) _SERVER["HTTP_X_FORWARDED_FOR"]unknown _SERVER["HTTP_HOST"]192.168.1.2 _SERVER["HTTP_CACHE_CONTROL"]max-age=259200 _SERVER["HTTP_CONNECTION"]keep-alive _SERVER["PATH"]/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin _SERVER["SERVER_SIGNATURE"] _SERVER["SERVER_SOFTWARE"]Apache/2.0.40 (Red Hat Linux) _SERVER["SERVER_NAME"]192.168.1.2 _SERVER["SERVER_ADDR"]192.168.1.2 _SERVER["SERVER_PORT"]80 _SERVER["REMOTE_ADDR"]192.168.1.206 _SERVER["DOCUMENT_ROOT"]/var/www/html _SERVER["SERVER_ADMIN"[EMAIL PROTECTED] _SERVER["SCRIPT_FILENAME"]/var/www/html/popo.php _SERVER["REMOTE_PORT"]33185 _SERVER["GATEWAY_INTERFACE"]CGI/1.1 _SERVER["SERVER_PROTOCOL"]HTTP/1.0 _SERVER["REQUEST_METHOD"]GET _SERVER["QUERY_STRING"] _SERVER["REQUEST_URI"]/popo.php _SERVER["SCRIPT_NAME"]/popo.php _SERVER["PHP_SELF"]/popo.php _SERVER["argv"]Array ( ) _SERVER["argc"]0 _ENV["HOSTNAME"]legolas.add.es _ENV["SHELL"]/bin/bash _ENV["TERM"]xterm _ENV["HISTSIZE"]1000 _ENV["SSH_CLIENT"]192.168.2.15 2482 22 _ENV["SSH_TTY"]/dev/pts/4 _ENV["USER"]root _ENV["LS_COLORS"]no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35: _ENV["USERNAME"]root _ENV["PATH"]/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin _ENV["MAIL"]/var/spool/mail/root _ENV["PWD"]/var/www/html _ENV["INPUTRC"]/etc/inputrc _ENV["LANG"]es_ES.UTF-8 _ENV["SSH_ASKPASS"]/usr/libexec/openssh/gnome-ssh-askpass _ENV["HOME"]/root _ENV["SHLVL"]2 _ENV["BASH_ENV"]/root/.bashrc _ENV["LOGNAME"]root _ENV["LESSOPEN"]|/usr/bin/lesspipe.sh %s _ENV["G_BROKEN_FILENAMES"]1 _ENV["_"]/usr/sbin/httpd 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] 1 Fatal error: Call to undefined function: ldap_connect() in /var/www/html/popo.php on line 4