From: ajron at wp dot pl Operating system: Windows PHP version: Irrelevant Package: Compile Failure Bug Type: Bug Bug description:vs2012 link error
Description: ------------ Microsoft linker version information option has format: /VERSION:major[.minor] The major and minor arguments are decimal numbers in the range 0 through 65,535. The default is version 0.0. Linker puts this version number in the PE header of the .EXE file or DLL. There is no room in the PE header to put more than 2 numbers. Linkers before vs2012 skip extra numbers during linking, but vs2012 linker throws error. The problem is in \win32\build\config.w32 file. There is: // General link flags DEFINE("LDFLAGS", "/nologo /version:" + PHP_VERSION + "." + PHP_MINOR_VERSION + "." + PHP_RELEASE_VERSION); Should be: // General link flags DEFINE("LDFLAGS", "/nologo /version:" + PHP_VERSION + "." + PHP_MINOR_VERSION); -- Edit bug report at https://bugs.php.net/bug.php?id=63537&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63537&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63537&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63537&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63537&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63537&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63537&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63537&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63537&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=63537&r=support Expected behavior: https://bugs.php.net/fix.php?id=63537&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63537&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63537&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63537&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63537&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63537&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63537&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=63537&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63537&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63537&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63537&r=mysqlcfg