PHP Runkit in Windows

PHP Runkit in Windows

https://hakre.wordpress.com/2010/01/12/pecl-binaries-on-windows/ » PECL Binaries on Windows | hakre on wordpress https://wiki.php.net/internals/windows/stepbystepbuild » PHP: internals:windows:stepbystepbuild [PHP Wiki]

Compile: 1. Install Windows 6.1 SDK (Change install dir to Program Files (x86)) 2. 1. Install Visual Studio 2008 C++ (Express Edition) 3. Execute patch: setup_x64.bat from www.cppblog.com/Files/xcpp/XVCE.zip http://www.cppblog.com/xcpp/archive/2011/08/01/80936.html :: VC++ 2008 Express http://pixinsight.com/forum/index.php?topic=1902.0 :: Compiling for 64-bit with VC++ 2008 Express 4. Fix Windows 6.1 SDK Locations (variables), as in: In regedit, search for: “CurrentInstallFolder”

       HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows
          CurrentInstallFolder
          CurrentVersion
          ProductVersion

       HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SDKs\Windows
       or HKEY_CURRENT_USER (same key)
          CurrentInstallFolder

   Or just uninstall Microsoft Windows SDK for Visual Studio 2008 (Three Items) 
   http://stackoverflow.com/questions/3599079/windowssdkdir-is-not-set-correctly-in-visual-studio-2010 :: windows sdk - WindowsSdkDir is not set correctly in Visual Studio 2010 - Stack Overflow
   http://helgeklein.com/blog/2010/01/visual-studio-fixing-broken-windowssdkdir-variable/ :: Visual Studio: Fixing Broken $(WindowsSdkDir) Variable | Helge Klein | Home of SetACL

5. Download x64 Build Dependencies:
   http://static.tommymontgomery.com/misc/php64/php64-deps.7z

IMPORTANT - Start:
    http://tmont.com/blargh/2009/10/compiling-php-on-windows-64-bit-with-vc9/ :: tommy montgomery // blargh
    https://wiki.php.net/internals/windows/stepbystepbuild :: PHP: internals:windows:stepbystepbuild [PHP Wiki]
    https://wiki.php.net/internals/windows/windowssdk :: PHP: internals:windows:windowssdk [PHP Wiki]
    https://wiki.php.net/internals/windows/compiler :: PHP: internals:windows:compiler [PHP Wiki]
    https://wiki.php.net/internals/windows/libs :: PHP: internals:windows:libs [PHP Wiki]
  1. Start CMD Shell from Microsoft Windows SDK v6.1

  2. setenv /x64 /2008 /release cd \php64\php-5.4.5 path = %PATH%;c:\php64\deps\bin “c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat” svn checkout http://svn.php.net/repository/pecl/runkit/trunk pecl/runkit buildconf cscript /nologo configure.js –with-php-build=c:\php64\deps –enable-runkit=shared

    Ustvari: cscript ./configure.js –disable-all –enable-runkit=shared

  3. cscript /nologo configure.js –with-php-build=c:\php64\deps

    http://flourishlib.com/docs/CompilingPHPOnWindows :: Compiling PHP On Windows - General Documentation - Flourish

    http://wiki.apache.org/httpd/Win64Compilation :: Win64Compilation - Httpd Wiki http://avapug.net/?p=227 :: Compile php5apache2_4.dll | Ava Pug’s Webspace For Crap

    Needed: http://www.microsoft.com/visualstudio/en-us/products/2008-editions/express » Visual Studio 2008 Express | Microsoft Visual Studio

    Tricks: Installing the 6.1 SDK before installing VC9SP1 is the recommended route https://wiki.php.net/internals/windows/windowssdk :: PHP: internals:windows:windowssdk [PHP Wiki]

    http://www.php.net/manual/en/install.windows.building.php :: PHP: Building from source - Manual

  • What’s the difference between thread-safe and non-thread-safe? The non-thread-safe version of PHP should be used when there is a single request per instance of PHP–like, when you use FastCGI—a single PHP-CGI.EXE handles a single request at a time, and the Web Server spins off multiple instances of PHP-CGI.EXE to handle requests in parallel. Because each instance is in a separate process, there is no need to have all the thread-safety code in PHP.

    The thread-safe version is required when you use PHP as a module—as you would in Apache on Windows—and the WebServer handles multiple requests in the same process.

    http://fearthecowboy.com/2009/05/18/php-on-windows-optimized-build%e2%80%94thread-safe-version-too/ :: PHP on Windows Optimized build—Thread Safe version too! - FearTheCowboy -FearTheCowboy

https://hakre.wordpress.com/2010/01/12/pecl-binaries-on-windows/ » PECL Binaries on Windows | hakre on wordpress https://github.com/zenovich/runkit » zenovich/runkit · GitHub http://stackoverflow.com/questions/5986710/how-can-i-install-compile-php-extension-on-windows » php5 - how can I install/compile PHP extension on windows - Stack Overflow https://wiki.php.net/internals/windows/stepbystepbuild » PHP: internals:windows:stepbystepbuild [PHP Wiki] http://www.php.net/manual/en/install.windows.building.php » PHP: Building from source - Manual http://www.php.net/manual/en/install.windows.extensions.php » PHP: Installation of extensions on Windows - Manual http://www.php.net/manual/en/install.windows.building.php » PHP: Building from source - Manual http://tmont.com/blargh/2009/10/compiling-php-on-windows-64-bit-with-vc9/ » tommy montgomery // blargh http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express » Free Developer Tools - Visual Studio 2010 Express | Microsoft Visual Studio http://www.apachelounge.com/viewtopic.php?t=4726 » Apache :: PHP 5.4.3 - NTS - win64 - VC10 version? http://www.ksingla.net/2010/05/setting-up-php-build-environment-on-windows/ » Setting up PHP build environment on Windows « Kanwaljeet Singla http://www.ksingla.net/2010/05/adding-a-pecl-extension-to-your-php-build-environment/ » Adding a PECL extension to your PHP build environment « Kanwaljeet Singla https://wiki.php.net/internals/windows/stepbystepbuild » PHP: internals:windows:stepbystepbuild [PHP Wiki]

date 20. Jul 2012 | modified 10. Jun 2024
filename: PHP » Runkit in Windows
Article Content