Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 965433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T01:59:50+00:00 2026-05-16T01:59:50+00:00

A very strange thing is happening. I am running a script on a new

  • 0

A very strange thing is happening. I am running a script on a new server (it works on my current server and laptop).

The strange thing is that I only get it to (sort of) work when I increase memory limit to 1024M (!). It is extracting a large zip file and going through the files, so I thought it was normal. Instead of this script terminating or ending with errors. I get an error from my browser:

The server at http://www.localhost.com is
taking too long to respond.

Localhost.com? The web server is just localhost:9090 and I can see Apache is still running. Maybe Apache crashes momentarily and it can’t find the server? But nothing about apache crashing in the log files.

This isn’t a server issue, its more to do with my PHP script and memory usage I think, so no need to move to server fault.

What could be the problem? How can I narrow do the cause, I am at loss here!

The server is a windows server running Apache 2.2 with PHP version 5.3.2. May laptop and the other working server are running version 5.3.0 and 5.3.1 for PHP.

Thanks all for any help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T01:59:51+00:00Added an answer on May 16, 2026 at 1:59 am

    Ensure that,

    ini_set('display_errors','On');
    ini_set('error_reporting',E_ALL);
    ini_set('max_execution_time', 180);
    ini_set('memory_limit','1024MB' );
    

    I’d pop this in the top of the script and see what comes out. It should show you errors and the like.

    The other thing, have you checked fopen and the path of the file which it’s loading?

    Abs said,

    check files being zipped up can be zipped by PHP (permissions
    especially on a Windows OS with multi
    users)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This seems very strange to me but I have a script that I'm running
Most of Knockout seems very intuitive. One thing that is strange to me though
Very strange thing happening here in IE7, IE8: index.php versus index-2.php As you can
Possible Duplicate: Generate multiple graphics from within an R function Very strange thing happening
Just trying to get my head around Javascript a very strange thing has happened.
Hi guys I have a very frustrating and strange thing happening here, when I
Very strange thing here. I initially had an activity that was the start up
I am running into a very strange situation with an app I have that
Very strange thing happening on iPad2 safari browser. The following page (homepage) is cutting
I found a very interesting/strange thing about MAX() function in SQL. I have column

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.