طيب شوف هذا الشرح لان يتوافق مع الاباتشي اللي عندي لبرنامج اخر ولكن ليس مترجم ربما نستفيد منه اكثر وحبيت اعرفه اكثر فالاول صعب شوي ما يتوافق مع اللي عندي لان يحتاج تغيير اسماء مجلدات اكون شاكر لك
طبعا هو تبابع لهذا الموقع بالضبط
eAccelerator - Trac
ولكن احتاج ترجمته وشكرا لك اخي والله يعافيك
كود:
1) Unzip the php source to a directory, we will use c:\php for this example.
2) Unzip the eAccelerator source in the ext\ subdirectory of the php source.
You should have something like c:\php, c:\php\ext and c:\php\ext\eaccelerator
3) Unpack binary PHP in any other directory, and search for the .lib file. If you are using PHP4, search for php4ts.lib. If you are using PHP5 search for php5ts.lib. For PHP5, php5ts.lib is located in the dev\ subdirectory of the root folder.
Copy the .lib file to the PHP sources root directory that you unpacked the source files to earlier. For our example, this is in c:\php. This file will be used for linking
4) Start Visual Studio and open the eAccelerator workspace:
File > Open Workspace ...
The workspace is located in the win32 subdirectory of the eAccelerator source (c:\php\ext\eaccelerator\win32\eaccelerator.dsw)
6) Go to Build > Set active configuration ... and select the target you want to build. Included Visual Studio profiles are:
Debug
Debug PHP5
Release
Release PHP5
Select the profile according the PHP version you will compile.
Debug and Release are used for PHP4. Debug PHP5 and Release PHP5 are used for PHP5. For our example, we will compile with Release PHP5.
7) Go to Build > Build eAccelerator.dll to build the eaccelerator extension.
The .dll file will be created in sub-directories according to profile selection. Our example will place the compiled .dll file in c:\php\ext\eaccelerator\win32\Release
eLoader
------------
If you want to build the eLoader dll you need to set eLoader as the active project:
Project > Set Active Project > 2 eLoader
Everything is the same as for eAccelerator. If have already done the steps above you have to start at step 6 but set eLoader instead of eAccelerator.
WARNING: If you have build the eAccelerator project you have to do a Clean first else you'll get linker errors.
Build > Clean