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

  • Home
  • SEARCH
  • 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 8805353
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T01:50:41+00:00 2026-06-14T01:50:41+00:00

Details: PHP Version: 5.3.0 Apache 2.2.37 Windows XP SP3 I am creating a system

  • 0

Details:

  • PHP Version: 5.3.0
  • Apache 2.2.37
  • Windows XP SP3

I am creating a system backup error (php error and custom error) in TXT, not user data but the dynamically generated page.
If you have already generated the LOG other user does not need to generate as ever existed.

I simulated 10 concurrent connections/requests and sometimes this error occurs:
No such file

Code:

<?php
$p = 'errs/'.$arqErr;
$o = 'temp/'.$arqErr;
if(file_exists($o) && is_readable($o) && is_writable($o)){
    if(!copy($o,$p)){
        echo 'Error copy "',$p,'" to "',$o,'"';
    }
    if(file_exists($o) && is_readable($o) && is_writable($o)){
        unlink($o);
    }
}
?>

sometimes the error occurs:
Warning: Unable to open 'temp/6039dd66559c9431004109202d279557.php' for reading: No such file or directory

and sometimes the error occurs:
Warning: Unlink failed (No such file or directory)

Is it a bug of PHP_5.3.0?

Note: In Windows Seven with PHP5.3.4 this failure does not occur.

  • 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-06-14T01:50:42+00:00Added an answer on June 14, 2026 at 1:50 am

    The problem seems to be having multiple concurrent users trying to access the same files, it doesn’t seem to be a PHP related problem.

    Try to think of a different logging scheme, maybe using the error_log() function you can have PHP manage concurrency access issues for you.

    <?php
    error_log('Log message', 3, "md5(address of the page).LOG.txt");
    ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Server Details: FreeBSD PHP Version 4.3.11 Apache Appache Modules: mod_throttle, mod_php4, mod_speedycgi, mod_ssl, mod_setenvif,
I'm writing a php code where the user enter various details and then submits
My work host has an old version of PHP and it's not supporting json_encode(),
PHP Version: 5.3.3 I'm using the SOAP extension to pull data from a web
Server details: PHP v5.3.5 Using MySQLi library client api version: mysqlnd 5.0.7-dev - 091210
According to the PDO documentation , you can store database login details in php.ini,
I have a php file that holds my login details named connect.php. $host =
Details: OS: Mac OS X 10.7.3 PHP 5.3.8: Shipped with Mac OS How APC
Language: PHP I have a form which asks users for their educational details, course
I am rewriting a php file which gets persons and their details from an

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.