note 34638 added to install.windows
| From: | Lidiya at rack1 dot php dot net | Date: | Fri, 01 Aug 2003 22:25:47 +0000 |
| Subject: | note 34638 added to install.windows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-53167@lists.php.net to get a copy of this message | ||
So, I had some problems compiling php4apache.dll. Here is the post that I found at:
http://forums.serverwatch.com/showthread.php?s=&postid=27
Compiling php4apache.dll as an EAPI
Here are the steps I followed to compile php4apahce.dll--as EAPI--under windows. In this case,
I'm using Microsoft's--curse them--visual c++ 6.0. The first part of this tutorial is
taken directly from the php online manual. So, go to:
http://www.php.net/manual/en/install.windows.php
start at "Building From Source." You'll want to follow these steps verbatum, all the
way through "Build reslov.lib." Once you have finished the steps under the "Build
resolve.lib" section," you should open Visual C++. Under "File" select
"Open workspace." You'll want to open php4ts.dsw, this is located in the win32 folder
of you php source. Once the php4ts workspace is loaded, select "projects" ->
"settings" from the main menu. Then select the php4apache project in the list. Now click
on the "c/c++" tab and you will see the preprocessor definitions. Here you should add
"EAPI,"(without the quotes). Now go back to the main menu. Select "Tools" ->
"Options." Now click on the "Directories" tab and select "include
files" from the drop down menu. You will need to add the path to your apache include directory.
Ex: "C:\apache\include" Now select "library files" from the drop down menu. YOu
need to add the path to your apache lib directory: "c:\apache\lib" and your apache
"libexec" directory "c:\apache\libexec" Now click "ok" and return to
the main menu. Go to "Build" and select "active configuration." From the menu
select "php4apache-Win32Release_TS" and click "ok" Select "Build"
again and then select "Rebuild all." Once the compile has comleted, go to your php source,
and look in the Release_TS directory. You should have "php4apache.dll" compiled as an
EAPI.
----
Manual Page -- http://www.php.net/manual/en/install.windows.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34638
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34638&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34638&report=yes