logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Apache 2.4.66+ PHP error in Nutstore sync folder
Author
nhafeng



Joined: 15 Oct 2026
Posts: 1
Location: China, Foshan

PostPosted: Thu 15 Oct '26 9:09    Post subject: Apache 2.4.66+ PHP error in Nutstore sync folder Reply with quote

I meet issue when upgrade apache to 2.4.66+ (below 2.4.65 are ok)

Apache 2.4.65 x64
PHP 7 / 8 (installed as a module of Apache)
Nutstore 7.212 (a sync tool)

PHP files are in Nutstore sync folders.

When I access PHP files in Browser, it shows:

Quote:
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0

Fatal error: Unknown: Failed opening required 'xxx/xxx/xxx.php' (include_path='.;C:\php\pear') in Unknown on line 0


When the file is not in Nutstore sync folder, it's ok.
When Apache downgraded to 2.4.65 or below, it's ok too.

Does anyone meet same problem and solved it ?

Thanks.
Back to top
tangent
Moderator


Joined: 16 Aug 2020
Posts: 470
Location: UK

PostPosted: Thu 15 Oct '26 21:46    Post subject: Reply with quote

The fact you are able to access PHP files outside the Nutstore folder with Apache 2.4.66, rather suggests a file locking or permissions issue of some form. Having said that, there's nothing specifically listed in the 2.4.66 changelog that relates to file locking, though there is mention of a security change relating to mod_userdir, which might be relevant (ASF changelog history can be found here https://www.apachelounge.com/Changelog-2.4.html).

One thing that might be worth trying.

You mention you're using PHP as a module, whereas perceived wisdom suggests running PHP code through mod_fcgid. There is an excellent tutorial on how to use mod_fcgid here https://www.apachelounge.com/viewtopic.php?t=2394

This would decouple the PHP code to run in a separate process from Apache, and might resolve your Nutstore access issue.
Back to top


Reply to topic   Topic: Apache 2.4.66+ PHP error in Nutstore sync folder View previous topic :: View next topic
Post new topic   Forum Index -> Other Software