note 34638 deleted from install.windows by nlopess
| From: | nlopess@php.net | Date: | Thu, 12 Aug 2004 21:28:34 +0000 |
| Subject: | note 34638 deleted from install.windows by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-80028@lists.php.net to get a copy of this message | ||
Note Submitter: Lidiya
----
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.