PHP4 Stuff   (Win32)
My PHP4 Page
PHP4 module for Apache Win32 : COMPILATION
PHP4 Home
PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly.
Zend Home
My favorite features:
ODBC connectivity whith persistent connections on mod_php4, more speed and less startup latency.
Yeah , great ! But I have to make it by my self. I have looked at Win 32 build Info but I cannot build some odd files (*.l , *.y). Why to download CygWin (20 MB) to acomplish this simple task ?

What you do need:     (Read first the official Win32 Build Instructions )

bison, flex, untgz, unix2dos ;  Apache sources ;  PHP4 sources ;  win32build.zip ;  number.tar.gz ;  resolv.lib.gz ; 

  1. Put all tools into a directory, say  <bin>
  2. Put apache sources into a directory, say <apache>
  3. Put PHP4 sources into a directory, say <php4>
  4. Extract win32build.zip into a directory, say <build>
  5. Replace the lib <build>\lib\resolv.lib with this new one from resolv.lib.gz
  6. Untgz number.tar.gz against <php4> directory
  7. For each *.dsp file in <php4> and recursed do unix2dos translation
  8. Start MS VC 6
  9. Go to Menu Tools->Options->Directories tab and for each pane mentioned below add:
    • INCLUDE FILES:
      • <build>\include
      • <apache>\src\include
    • EXECUTABLE FILES
      • <bin>
    • LIBRARY FILES
      • <apache>
      • <build>\lib
  10. Create ApacheCore.lib
  11. Load from <php4> php4ts.dsw
  12. Read <bin>\readme.txt and apply it to php4ts.dsw (WORKSPACE)
  13. Select ApachePHP4 project as current project. Select config: Win32 Release_TS_Inline
  14. Rebuild All
  15. Copy <php4>\sapi\apache\Release_TS_Inline\ApachePHP4.dll to  <server_root>\modules\mod_php4.dll
  16. Follow Installation Info

 PHP4 module for Apache Win32 : INSTALLATION 


1