Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

DNS querys slow when using PHP and Perl in Apache

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
apache 2.0.47 and perl/cgi - Hello, I have installed apache 2.0.47 on my linux red hat 9.0. but the cgi script not work..... Bye,

Apache doesn't exec perl - Hi folks, I am absolutly new with Linux and with Apache. I've set up Apache 2 on my Suse 8.2. Further the needed mods are installed ...) Apache responds on port 80. for example is shown when asked for the web..

What about perl on linux apache? - Hi. I see that some Win2K folks (of which I'm one) are having a problem with perl on apache. I am having a problem on RH Linux 9.0; I finally got httpd so I think, but my perl scripts display their code. This has happened more than once..

Apache 2.0 and cgi-bin perl problem - Hello Gents I have installed now on my pc (windows 20000) the latest version of apache 2.0.48 and perl 5.6.1 After the i try to run the and the the server not execute the perl scrit but the browser..

newbie - apache and perl - Hi, after the of apache 2.0 on a Win XP system I have problems to execute I read the Manual and I think I have done the same things. The version of perl is In the file I have added the following lines: ..
Next:  Apache: IE 6.0 sp1 downloads the site  
Author Message
user2685

External


Since: Feb 24, 2004
Posts: 1



(Msg. 1) Posted: Tue Feb 24, 2004 6:23 pm
Post subject: DNS querys slow when using PHP and Perl in Apache
Archived from groups: alt>apache>configuration (more info?)

Hi Group.

I've got a strange problem with my apache webserver.

When i call a script like

<?
gethostbyname("foo.bar") ;
?>

via /usr/local/bin/php /home/foo/html/dnstest.php it takes not a sec.

But when i call the same script via http://localhost/foo/dnstest.php it
takes about 5 sec. to get a result.
At first i think the problem was PHP. But now i tried it with perl. And the
same happens.
A nslookup foo.bar is also fsat so my nameserver is reachable.

It must be something in my Apache config. PHP and PERL is called by
module.so

I use Apache2 / PHP 4.3.4 / RH 7.2

Maybe you can help me.
Regards Rene

 >> Stay informed about: DNS querys slow when using PHP and Perl in Apache 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]