#40856 closed enhancement (fixed)
PHPUnit tests on Windows
| Reported by: | danielhuesken | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.5 |
| Component: | Build/Test Tools | Version: | 4.8 |
| Severity: | normal | Keywords: | has-patch needs-refresh |
| Cc: | Focuses: |
Description
We can get more PHP unit tests work under windows system if files wil not created in /temp and symlinks will not be used.
Attachments (1)
Change History (11)
#4
@
9 years ago
- Keywords reporter-feedback removed
@netweb Yes, there are supported but with limitations minimum Windows Version is Windows Vista or Server 2008 and you must use NTFS File System.
I use Windows 10 with NTFS (Apache, PHP 7.1) and they will not work. There error message is "Warning: symlink(): Cannot create symlink, error code(1314)" it should be Permission related. See https://bugs.php.net/bug.php?id=54141.
I think that are many things you must know to run test on windows correctly.
Note:
See TracTickets
for help on using tickets.
Related, possible duplicate of #39975
The patch in #39975 appears to cover a few more instances of
/tmpusage in the codebase.@danielhuesken The [symlink https://secure.php.net/manual/en/function.symlink.php] function is avialble on Windows with PHP 5.3 or greater, can I ask what issues you're having with
symlinkon Windows?