Req #74818 [NEW]: opcache.file_cache should not require drive letter paths

From: Date: Mon, 26 Jun 2017 17:02:30 +0000
Subject: Req #74818 [NEW]: opcache.file_cache should not require drive letter paths
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209687@lists.php.net to get a copy of this message
From: jerry at jmweb dot net Operating system: Windows 7 64bit PHP version: 7.1.6 Package: opcache Bug Type: Feature/Change Request Bug description:opcache.file_cache should not require drive letter paths Description: ------------ opcache.file_cache should not require drive lettered paths. There are several ini path options that do not require drive letter prefixes in their values. The few that I am aware of include: error_log extension_dir sys_temp_dir upload_tmp_dir session.save_path The impementation of each of the settings above are 'smart' enough to default to the drive which the PHP binary is running. This flexibility is appreciated when managing identical PHP installs across Windows and Linux as it minimizes the number of exclusive ini options (in separate files) required to maintain both. Test script: --------------- opcache.file_cache=/WAMP/php/ini Expected result: ---------------- Opcache should not fail and default to C:/WAMP/php/ini in Windows or /WAMP/php/ini in Linux. The drive letter (in Windows) should default to the drive the PHP binary is currently running in. Actual result: -------------- Fatal Error opcache.file_cache_only is set without a proper setting of opcache.file_cache -- Edit bug report at https://bugs.php.net/bug.php?id=74818&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74818&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74818&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74818&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=74818&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=74818&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=74818&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=74818&r=needscript Try newer version: https://bugs.php.net/fix.php?id=74818&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=74818&r=support Expected behavior: https://bugs.php.net/fix.php?id=74818&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=74818&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=74818&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=74818&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74818&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=74818&r=dst IIS Stability: https://bugs.php.net/fix.php?id=74818&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=74818&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=74818&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=74818&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=74818&r=mysqlcfg

« previous php.bugs (#209687) next »