1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

localhost web browser application running slow

Discussion in 'Apple Mac' started by andynic, Oct 7, 2011.

Thread Status:
Not open for further replies.
  1. andynic

    andynic Thread Starter

    May 25, 2007

    Any ideas what might be going on here?

    Some months ago I developed a database management application that had a very fast response time -- click a button and immediately the next page displayed (with or without a database access).

    For several months the application has been dormant. I am now using it again, and between button clicks I need to wait from 5 to 15 seconds.

    The applcation was developed under and is still using:
    Mac OS 10.6.8
    Apache 2.2
    MySql 5.1.39
    Perl 5.10.0
    Perl CGI
    Perl DBI
    DB connect method:
    $dbHandle = DBI->connect("DBI:mysql:database=$GCdbSchemaName", $GCdbUn, $GCdbPw)

    The only "significant" change to the system in the time the above application was dormant, is that I activated PHP and have developed a second application using all of the above, but instead of Perl and Perl CGI, I am using PHP. Can the configuration of Apache and the the PHP init file be having an impact on the performance of the first application?
    $ php -v
    PHP 5.3.4 (cli) (built: Dec 15 2010 12:15:07)
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with Xdebug v2.1.1, Copyright (c) 2002-2011, by Derick Rethans

    Thanks for your help.
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1021165