473,544 Members | 2,322 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

php_network_get addresses: getaddrinfo failed: Name or service not known in

3 New Member
Hello all,

I have implemented a integration of payment gateway with paypal. Currently my site is hosted at a shared server. The site under test was working properly till there was no change on hosting server. But now on hosting server (server admin) made some changes(update) . and now i as getting the warning shown above ... What changes has been occurred in the environment for php i don't know but thank god i have noted some information given by phpinfo() of both the version.

I have attached both the phpinfo() pages old_phpinfo and new_phpinfo

by checking the diff. please can any help me that what could be the change?
May 1 '07 #1
3 39968
sandipbhoi
3 New Member
old_phpinfo()
[HTML]
PHP Version 4.4.2

System Linux srv1.webhosting suite.com 2.6.9-023stab043.1-smp #1 SMP Mon Mar 5 16:38:22 MSK 2007 i686
Build Date Jul 5 2006 22:54:07
Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/local' '--with-xml' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--enable-discard-path' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-zlib'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety disabled
Registered PHP Streams php, http, ftp, compress.zlib

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.i nput & &
arg_separator.o utput & &
asp_tags Off Off
auto_append_fil e no value no value
auto_prepend_fi le no value no value
browscap no value no value
default_charset no value no value
default_mimetyp e text/html text/html
define_syslog_v ariables Off Off
disable_classes no value no value
disable_functio ns 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_st ring no value no value
error_log error_log error_log
error_prepend_s tring 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.comme nt #FF8000 #FF8000
highlight.defau lt #0000BB #0000BB
highlight.html #000000 #000000
highlight.keywo rd #007700 #007700
highlight.strin g #DD0000 #DD0000
html_errors On On
ignore_repeated _errors Off Off
ignore_repeated _source Off Off
ignore_user_abo rt 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_gp c On On
magic_quotes_ru ntime Off Off
magic_quotes_sy base Off Off
max_execution_t ime 30 30
max_input_time -1 -1
open_basedir /home/wissen/:/usr/lib/php:/usr/local/lib/php:/tmp no value
output_bufferin g no value no value
output_handler no value no value
post_max_size 55M 55M
precision 14 14
register_argc_a rgv On On
register_global s 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_inclu de_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_preci sion 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_cal lback_func no value no value
upload_max_file size 2M 2M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_nu mber 0 0
xmlrpc_errors Off Off
y2k_compliance Off Off

APACHE_INCLUDE no value
APACHE_TARGET no value
Apache Version Apache/1.3.36 (Unix) mod_jk/1.2.14 mod_auth_passth rough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.2 FrontPage/5.0.2.2635.SR1. 2 mod_ssl/2.8.27 OpenSSL/0.9.7a
Apache Release 10336100
Apache API Version 19990320
Hostname:Port www.wissen.co.i n:80
User/Group nobody(99)/99
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Server Root /usr/local/apache
Loaded Modules mod_jk, mod_security, mod_auth_passth rough, mod_log_bytes, mod_bwlimited, mod_php4, mod_frontpage, mod_ssl, mod_setenvif, mod_so, mod_expires, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation , mod_mime, mod_log_config, mod_env, http_core

Directive Local Value Master Value
child_terminate 0 0
engine 1 1
last_modified 0 0
xbithack 0 0

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 4.1.21
MYSQL_MODULE_TY PE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient

Directive Local Value Master Value
mysql.allow_per sistent On On
mysql.connect_t imeout 60 60
mysql.default_h ost no value no value
mysql.default_p assword no value no value
mysql.default_p ort no value no value
mysql.default_s ocket no value no value
mysql.default_u ser no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persi stent Unlimited Unlimited
mysql.trace_mod e Off Off


sockets
Sockets Support enabled


standard
Regex Library Bundled 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_ev al 0 0
assert.warning 1 1
auto_detect_lin e_endings 0 0
default_socket_ timeout 60 60
safe_mode_allow ed_env_vars PHP_ PHP_
safe_mode_prote cted_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.ta gs a=href,area=hre f,frame=src,for m=,fieldset= a=href,area=hre f,frame=src,for m=,fieldset=
user_agent no value no value
[/HTML]
May 1 '07 #2
sandipbhoi
3 New Member
new_phpInfo()

[HTML]

PHP Version 5.1.2

System Linux srv1.webhosting suite.com 2.6.9-023stab043.1-smp #1 SMP Mon Mar 5 16:38:22 MSK 2007 i686
Build Date Apr 29 2007 23:20:54
Configure Command './configure' '--prefix=/usr' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--enable-exif' '--with-swf=/usr/local/flash' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-gettext' '--with-imap=/usr/local/imap-2004g' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' '--with-mhash' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--with-snmp' '--enable-ucd-snmp-hack' '--with-openssl' '--enable-discard-path' '--with-pear' '--enable-safe-mode' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--enable-versioning' '--with-xmlrpc' '--with-zip' '--with-zlib'
Server API CGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini
PHP API 20041225
PHP Extension 20050922
Zend Extension 220051025
Debug Build no
Thread Safety disabled
Zend Memory Manager enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp, compress.zlib, https, ftps
Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters string.rot13, string.toupper, string.tolower, string.strip_ta gs, convert.*, convert.iconv.* , zlib.*

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.i nput & &
arg_separator.o utput & &
asp_tags Off Off
auto_append_fil e no value no value
auto_globals_ji t On On
auto_prepend_fi le no value no value
browscap no value no value
default_charset no value no value
default_mimetyp e text/html text/html
define_syslog_v ariables Off Off
disable_classes no value no value
disable_functio ns dl,passthru,pro c_open,proc_clo se,shell_exec,s ystem dl,passthru,pro c_open,proc_clo se,shell_exec,s ystem
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_st ring no value no value
error_log error_log error_log
error_prepend_s tring no value no value
error_reporting 2039 2039
expose_php On On
extension_dir ./ ./
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comme nt #FF8000 #FF8000
highlight.defau lt #0000BB #0000BB
highlight.html #000000 #000000
highlight.keywo rd #007700 #007700
highlight.strin g #DD0000 #DD0000
html_errors On On
ignore_repeated _errors Off Off
ignore_repeated _source Off Off
ignore_user_abo rt 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_gp c On On
magic_quotes_ru ntime Off Off
magic_quotes_sy base Off Off
mail.force_extr a_parameters no value no value
max_execution_t ime 30 30
max_input_time 60 60
open_basedir no value no value
output_bufferin g no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
realpath_cache_ size 16K 16K
realpath_cache_ ttl 120 120
register_argc_a rgv On On
register_global s Off Off
register_long_a rrays On On
report_memleaks On On
report_zend_deb ug On On
safe_mode Off Off
safe_mode_exec_ dir no value no value
safe_mode_gid Off Off
safe_mode_inclu de_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_preci sion 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_cal lback_func no value no value
upload_max_file size 2M 2M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_nu mber 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compat ibility_mode Off Off

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 4.1.19
MYSQL_MODULE_TY PE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient

Directive Local Value Master Value
mysql.allow_per sistent On On
mysql.connect_t imeout 60 60
mysql.default_h ost no value no value
mysql.default_p assword no value no value
mysql.default_p ort no value no value
mysql.default_s ocket no value no value
mysql.default_u ser no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persi stent Unlimited Unlimited
mysql.trace_mod e Off Off

mysqli
MysqlI Support enabled
Client API version 4.1.19
MYSQLI_SOCKET /var/lib/mysql/mysql.sock

Directive Local Value Master Value
mysqli.default_ host no value no value
mysqli.default_ port 3306 3306
mysqli.default_ pw no value no value
mysqli.default_ socket no value no value
mysqli.default_ user no value no value
mysqli.max_link s Unlimited Unlimited
mysqli.reconnec t Off Off

sockets
Sockets Support enabled

standard
Regex Library Bundled 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_ev al 0 0
assert.warning 1 1
auto_detect_lin e_endings 0 0
default_socket_ timeout 60 60
safe_mode_allow ed_env_vars PHP_ PHP_
safe_mode_prote cted_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.ta gs a=href,area=hre f,frame=src,inp ut=src,form=,fi eldset= a=href,area=hre f,frame=src,inp ut=src,form=,fi eldset=
user_agent no value no value

[/HTML]
May 1 '07 #3
HotShot
3 New Member
No hostname set, or it's mis-set.

Advise Administrator that the HOSTNAME is mis-set.
May 9 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1567
by: Bernhard Schmidt | last post by:
Hello, sorry for bothering, I'm not a programmer and I don't do much python, I'm more a networking guy trying to get his favourite linux distribution to update through the shiny new protocol IPv6 again (for those who are interested, I'm talking about Gentoo Linux) Gentoo's portage system is implemented in python calling rsync to sync...
0
4954
by: Matt | last post by:
I'm trying to get the HTML data off of a webpage. Let's say for the sake of argument it's the python homepage. I've googled around and found some examples that people said worked. Here's what I've cobbled together: #getHTML.py ############################################ import urllib import urllib2 proxy_info = {'user':'us3r',
0
1828
by: StevePBurgess | last post by:
Hi - I am using this url_exists function: to check whether files exist on other peoples webservers (before allowing my users to add the site to their directory of rss feeds). On my current shared hosting (running Apache 1.3.29 Red Hat Linux PHP 4.3.10) the function works perfectly. On my new, Plesk VPS system (running Apache 2.0.51 Fedora PHP...
4
2189
by: edcdave | last post by:
I'm trying to get MoinMoin 1.5.4 running with Python 2.3.4 (installed from an SCO Skunkworks binary). Python 2.3.4 (#1, Aug 27 2004, 18:22:39) on sco_sv3 One of the MoinMoin modules attempts to import cgi and triggers this traceback: Traceback (most recent call last): File "./moin.cgi", line 43, in ? from MoinMoin.request import...
1
23741
by: Henry16 | last post by:
Never seen such a situation ! Do you have once faced this problem ? We use a fsockopen to retrieve a content from a URL . The content is dispalid corretly on a page on one of our servers. But on an other server (more-or-less same config.) the content is not displaid !! with the error message :: Warning: fsockopen():...
1
3160
by: mirandacascade | last post by:
I noticed the following lines from the connect() method of the HTTPConnection class within httplib: for res in socket.getaddrinfo(self.host, self.port, 0, socket.SOCK_STREAM): af, socktype, proto, canonname, sa = res This led me to the docs that describe the socket.getaddrinfo() method: ...
2
4022
by: John Nagle | last post by:
Here's a strange little bug. "socket.getaddrinfo" blows up if given a bad domain name containing ".." in Unicode. The same string in ASCII produces the correct "gaierror" exception. Actually, this deserves a documentation mention. The "socket" module, given a Unicode string, calls the International Domain Name parser, "idna.py", which...
5
20970
by: _q_u_a_m_i_s's | last post by:
Hy, i have a problem with PHP 5.1.6 I have a script containing something like this: $f=fsockopen("www.site01.com",80,$errNo,$errStr); var_dump($f); When accessing this from apache, i get this error: php_network_getaddresses: getaddrinfo failed. When running the same scipt from the CLI (php ./dns.php), i get no
3
8254
by: Nathan | last post by:
Hi, I'm trying to do some network programming, but when I use 'struct addrinfo' or getaddrinfo, I see errors: gcc --std=c99 -Wall ipv6_test.c -o it ipv6_test.c: In function `main': ipv6_test.c:25: error: storage size of 'hints' isn't known ipv6_test.c:34: warning: implicit declaration of function `getaddrinfo' ipv6_test.c:38: error:...
4
3777
by: Brett | last post by:
I have an ASP.NET 2.0 application that uses Forms Authentication. The startup page contains just a login control, and the site works well on an IIS 6 web server. I am now setting the site up on the production web server, which runs Windows 2008 Server and IIS 7. The login page comes up, but when I try to log in, I get the error, "Login...
0
7374
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7783
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7392
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7720
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
4930
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3430
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1850
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
996
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
677
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.