cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Can't use Curl from new server

From: white <123_at_whitemail.co.uk>
Date: Sat, 23 Oct 2004 17:57:27 +0100

Hi,

I am trying to move a site from one ISP's server to another and there
are some portability problems. The site uses Curl in PHP to grab some
data from another URL (example.com) (XML feed) which doesnt work from
the new server. Strangeley it will not connect to the example.com site,
but it will to another.com . I have suggested to the new ISP this might
be a routing problem, but they say not.
Out of my depth, any ideas?
Partial dump from new server is below.
Many thanks
James

PHP Version 4.3.8
Server API CGI
CURL support enabled
CURL Information libcurl/7.10.3 OpenSSL/0.9.6g ipv6 zlib/1.2.1

System Linux infong 2.4 #1 SMP Mon Aug 9 10:21:08 CEST 2004 i686 unknown
Build Date Aug 31 2004 11:47:17
Configure
Command
'../configure' '--with-mysql=/usr' '--with-zlib' '--enable-debug=no'
'--enable-safe-mode=no'
'--enable-discard-path=no' '--with-gd=/usr' '--with-png-dir=/usr/lib'
'--enable-track-vars'
'--with-db' '--with-gdbm' '--enable-force-cgi-redirect'
'--with-ttf=/usr/' '--enable-ftp' '--with-mcrypt'
'--enable-dbase' '--enable-memory-limit' '--enable-calendar' '--enable-wddx'
'--with-jpeg-dir=/usr/src/kundenserver/jpeg-6b' '--enable-bcmath'
'--enable-gd-imgstrttf'
'--enable-shmop' '--enable-mhash'
'--with-mhash=/usr/src/kundenserver/mhash-0.8.9/'
'--with-openssl' '--enable-xslt' '--with-xslt-sablot' '--with-dom'
'--with-dom-xslt' '--with-dom-exslt'
'--with-imap' '--with-curl' '--with-iconv=/usr/local'
'--with-freetype-dir=/usr/include/freetype2'
'--with-bz2' '--with-gettext' '--enable-exif' '--with-idn'
'--enable-mbstring=all'
Server API CGI
Virtual
Directory
Support
disabled
Configuration
File (php.ini)
Path
/usr/local/lib/php.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

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 /usr/local/lib/browscap.ini /usr/local/lib/browscap.ini
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
phpinfo() http://www.xxxx.com/phpinfo.php
2 of 11 16/10/2004 17:31
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 no value no value
error_prepend_string no value no value
error_reporting 2037 2037
expose_php On On
extension_dir /usr/local/lib/php/extensions/no-debug-non-zts-20020429
/usr/local/lib/php/extensions/no-debug-non-zts-2002
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/local/lib/php .:/usr/local/lib/php
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 50000 50000
max_input_time -1 -1
memory_limit 40M 40M
open_basedir no value no value
output_buffering 0 0
output_handler no value no value
post_max_size 8M 8M
precision 14 14
register_argc_argv On On
register_globals On On
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir /usr/local/php/bin /usr/local/php/bin
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
phpinfo() http://www.xxxx.com/phpinfo.php
3 of 11 16/10/2004 17:31
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 20M 20M
upload_tmp_dir no value no value
user_dir no value no value
variables_order no value no value
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On

CURL support enabled
CURL Information libcurl/7.10.3 OpenSSL/0.9.6g ipv6 zlib/1.2.1

-- 
This message is intended for the stated addressee(s) only and may be confidential. Access to this email by anyone else is unauthorised.  Any opinions expressed in this email do not necessarily reflect the opinions of the Company. Any unauthorised disclosure, use or dissemination,either whole or in part is prohibited. If you are not the intended recipient of this message, please notify the sender immediately. Please scan all attachments for viruses.
-- 
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.280 / Virus Database: 264.12.2 - Release Date: 22/10/2004
Received on 2004-10-23