Bug #76327 [NEW]: long path support not available for Windows Server 2008 r2 sp1-Apache restarted
| From: | tumul dot kumar at veneratech dot com | Date: | Fri, 11 May 2018 12:27:19 +0000 |
| Subject: | Bug #76327 [NEW]: long path support not available for Windows Server 2008 r2 sp1-Apache restarted | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-215201@lists.php.net to get a copy of this message | ||
From: tumul dot kumar at veneratech dot com
Operating system: Windows Server 2008 R2 SP1
PHP version: 7.1.17
Package: Apache related
Bug Type: Bug
Bug description:long path support not available for Windows Server 2008 r2 sp1-Apache restarted
Description:
------------
I'm using Apache 2.4.29 (Win 64), Php 7.1.12. I'm unable to use php
functions such as file_exists() for long file path (having length more
than 259) Whereas it is feature of Php 7.1 which works fine with Windows
10.
Support must be in windows server 2008 r2 sp1 as it is not written
anywhere that php 7.1 or Apache 2.4.29 (Win 64) don't support long file
path feature for this window version.
Test script:
---------------
<?php
//You may give any long path having length of more than 259 characters
echo
file_put_contents("C:\ProgramData\Pulsar\Jobs_Report\Pul0510_112_third -
Copddddddddddddddddddddddddddddyssssssssssssssslllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllxyz\abc.txt");
?>
Expected result:
----------------
If path is accessible it must return 1, otherwise 0
Actual result:
--------------
Apache is being restarted.
In apache error log, following Error message is being printed - ([Wed
May 09 19:21:03.822918 2018] [mpm_winnt:notice] [pid 3776:tid 328]
AH00428: Parent: child process 5360 exited with status 255 --
Restarting)
--
Edit bug report at https://bugs.php.net/bug.php?id=76327&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76327&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76327&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76327&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76327&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76327&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76327&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76327&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76327&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76327&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76327&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76327&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76327&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76327&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76327&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76327&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76327&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76327&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76327&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76327&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76327&r=mysqlcfg