-
- 674 Posts
hi to all im moving a modx site to another server and when change the config.inc.php it give this errors
Fatal error: Call to undefined function: mysql_escape_string() in /var/www/users/serviterm/html/manager/includes/document.parser.class.inc.php on line 730
the phpinfo for the new server are
PHP Version 4.3.2
System Linux mizar.oto.cc 2.4.21-27.0.1.EL #1 Mon Dec 20 18:56:53 EST 2004 i686
Build Date May 4 2005 10:57:02
Configure Command ’./configure’ ’--host=i686-redhat-linux-gnu’ ’--build=i686-redhat-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’ ’--cache-file=../config.cache’ ’--with-config-file-path=/etc’ ’--with-config-file-scan-dir=/etc/php.d’ ’--disable-force-cgi-redirect’ ’--disable-debug’ ’--enable-pic’ ’--disable-rpath’ ’--enable-inline-optimization’ ’--with-bz2’ ’--with-db4=/usr’ ’--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-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-pcre-regex=/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’ ’--enable-mbstring’ ’--enable-mbstr-enc-trans’ ’--enable-mbregex’ ’--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-unixODBC=shared’ ’--enable-memory-limit’ ’--enable-bcmath’ ’--enable-shmop’ ’--enable-versioning’ ’--enable-calendar’ ’--enable-dbx’ ’--enable-dio’ ’--enable-mcal’ ’--disable-force-cgi-redirect’ ’--enable-pcntl’
Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /var/www/users/serviterm/html/php.ini
Scan this dir for additional .ini files /etc/php.d
additional .ini files parsed /etc/php.d/imap.ini, /etc/php.d/ldap.ini, /etc/php.d/mysql.ini, /etc/php.d/odbc.ini, /etc/php.d/pgsql.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, https, ftps, compress.bzip2, compress.zlib
Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
PHP Credits
Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log error_log error_log
error_prepend_string no value no value
error_reporting 2039 2039
expose_php On On
extension_dir ./ ./
file_uploads On On
gpc_order GPC GPC
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 On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/lib/php:/usr/local/lib/php .:/usr/lib/php:/usr/local/lib/php
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 30 30
max_input_time 60 60
memory_limit 8M 8M
open_basedir no value no value
output_buffering 1 1
output_handler no value no value
post_max_size 32M 32M
precision 12 12
register_argc_argv On On
register_globals On On
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 32M 32M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
bcmath
BCMath support enabled
bz2
BZip2 Support Enabled
BZip2 Version 1.0.2, 30-Dec-2001
calendar
Calendar support enabled
ctype
ctype functions enabled
curl
CURL support enabled
CURL Information libcurl/7.10.6 OpenSSL/0.9.7a ipv6 zlib/1.1.4
dba
DBA support enabled
Supported handlers cdb cdb_make db4 flatfile
dbx
dbx support enabled
dbx version 1.0.0
supported databases MySQL ODBC PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8) Sybase-CT
Directive Local Value Master Value
dbx.colnames_case unchanged unchanged
dio
dio support enabled
domxml
DOM/XML enabled
DOM/XML API Version 20020815
libxml Version 20510
HTML Support enabled
XPath Support enabled
XPointer Support enabled
exif
EXIF Support enabled
EXIF Version 1.4 $Id: exif.c,v 1.118.2.19 2003/04/16 18:25:35 helly Exp $
Supported EXIF Version 0220
Supported filetypes JPEG,TIFF
ftp
FTP support enabled
gd
GD Support enabled
GD Version bundled (2.0.12 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
gettext
GetText Support enabled
gmp
gmp support enabled
iconv
iconv support enabled
iconv implementation glibc
iconv library version 2.3.2
Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1
mbstring
Multibyte Support enabled
Japanese support enabled
Multibyte (japanese) regex support enabled
mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding none none
mbstring.language neutral neutral
mbstring.substitute_character no value no value
ncurses
ncurses support enabled
ncurses library version 5.3
color support yes
openssl
OpenSSL support enabled
OpenSSL Version OpenSSL 0.9.7a Feb 19 2003
overload
User-Space Object Overloading Support enabled
pcntl
pcntl support enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 3.9 02-Jan-2002
posix
Revision $Revision: 1.51.2.2 $
pspell
PSpell Support enabled
session
Session Support enabled
Registered save handlers files user
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /tmp /tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off
shmop
shmop support enabled
sockets
Sockets Support enabled
standard
Regex Library System library enabled
Dynamic Library Support enabled
Path to sendmail /usr/sbin/sendmail -t -i
Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,form=,fieldset= a=href,area=href,frame=src,form=,fieldset=
user_agent no value no value
tokenizer
Tokenizer Support enabled
wddx
WDDX Support enabled
WDDX Session Serializer enabled
xml
XML Support active
XML Namespace Support active
EXPAT Version expat_1.95.5
yp
YP Support enabled
zlib
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
Additional Modules
Module Name
sysvsem
sysvshm
Environment
Variable Value
PATH /usr/local/bin:/usr/bin:/bin
UNIQUE_ID x2oOacNMXUQAAGpFTPoAAAAL
HTTP_HOST www.serviterm.com
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_LANGUAGE es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_KEEP_ALIVE 300
HTTP_CONNECTION keep-alive
HTTP_COOKIE SN43d3b6c807549=31bc9db3b855210e6d7dbea1c4eb22d9; PHPSESSID=6233c8ba13a15998a0081443d6c13008
HTTP_CACHE_CONTROL no-cache
SERVER_SOFTWARE Apache/2.0.46 (Red Hat)
SERVER_NAME www.serviterm.com
SERVER_ADDR 195.76.93.68
SERVER_PORT 80
REMOTE_ADDR 83.55.20.235
DOCUMENT_ROOT /var/www/users/serviterm/html
SERVER_ADMIN [email protected]
SCRIPT_FILENAME /var/www/users/serviterm/html/phpinfo.php
REMOTE_PORT 1693
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING no value
REQUEST_URI /phpinfo.php
SCRIPT_NAME /phpinfo.php
PHP Variables
Variable Value
PHP_SELF /phpinfo.php
_REQUEST["SN43d3b6c807549"] 31bc9db3b855210e6d7dbea1c4eb22d9
_REQUEST["PHPSESSID"] 6233c8ba13a15998a0081443d6c13008
_COOKIE["SN43d3b6c807549"] 31bc9db3b855210e6d7dbea1c4eb22d9
_COOKIE["PHPSESSID"] 6233c8ba13a15998a0081443d6c13008
_SERVER["PATH"] /usr/local/bin:/usr/bin:/bin
_SERVER["UNIQUE_ID"] x2oOacNMXUQAAGpFTPoAAAAL
_SERVER["HTTP_HOST"] www.serviterm.com
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
_SERVER["HTTP_ACCEPT"] text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_SERVER["HTTP_ACCEPT_LANGUAGE"] es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["HTTP_COOKIE"] SN43d3b6c807549=31bc9db3b855210e6d7dbea1c4eb22d9; PHPSESSID=6233c8ba13a15998a0081443d6c13008
_SERVER["HTTP_CACHE_CONTROL"] no-cache
_SERVER["SERVER_SOFTWARE"] Apache/2.0.46 (Red Hat)
_SERVER["SERVER_NAME"] www.serviterm.com
_SERVER["SERVER_ADDR"] 195.76.93.68
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 83.55.20.235
_SERVER["DOCUMENT_ROOT"] /var/www/users/serviterm/html
_SERVER["SERVER_ADMIN"] [email protected]
_SERVER["SCRIPT_FILENAME"] /var/www/users/serviterm/html/phpinfo.php
_SERVER["REMOTE_PORT"] 1693
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /phpinfo.php
_SERVER["SCRIPT_NAME"] /phpinfo.php
_SERVER["PHP_SELF"] /phpinfo.php
_SERVER["argv"]
Array
(
)
_SERVER["argc"] 0
_ENV["PATH"] /usr/local/bin:/usr/bin:/bin
_ENV["UNIQUE_ID"] x2oOacNMXUQAAGpFTPoAAAAL
_ENV["HTTP_HOST"] www.serviterm.com
_ENV["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
_ENV["HTTP_ACCEPT"] text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
_ENV["HTTP_ACCEPT_LANGUAGE"] es-es,es;q=0.8,en-us;q=0.5,en;q=0.3
_ENV["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_ENV["HTTP_KEEP_ALIVE"] 300
_ENV["HTTP_CONNECTION"] keep-alive
_ENV["HTTP_COOKIE"] SN43d3b6c807549=31bc9db3b855210e6d7dbea1c4eb22d9; PHPSESSID=6233c8ba13a15998a0081443d6c13008
_ENV["HTTP_CACHE_CONTROL"] no-cache
_ENV["SERVER_SOFTWARE"] Apache/2.0.46 (Red Hat)
_ENV["SERVER_NAME"] www.serviterm.com
_ENV["SERVER_ADDR"] 195.76.93.68
_ENV["SERVER_PORT"] 80
_ENV["REMOTE_ADDR"] 83.55.20.235
_ENV["DOCUMENT_ROOT"] /var/www/users/serviterm/html
_ENV["SERVER_ADMIN"] [email protected]
_ENV["SCRIPT_FILENAME"] /var/www/users/serviterm/html/phpinfo.php
_ENV["REMOTE_PORT"] 1693
_ENV["GATEWAY_INTERFACE"] CGI/1.1
_ENV["SERVER_PROTOCOL"] HTTP/1.1
_ENV["REQUEST_METHOD"] GET
_ENV["QUERY_STRING"] no value
_ENV["REQUEST_URI"] /phpinfo.php
_ENV["SCRIPT_NAME"] /phpinfo.php
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
any idea?
thanks