PHP4 win32 DSO
| From: | Cynic | Date: | Mon, 08 May 2000 19:39:55 +0000 |
| Subject: | PHP4 win32 DSO | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14688@lists.php.net to get a copy of this message | ||
After several attempts to get PHP4 win32 DSO running, I give up.
Please help.
Apache 1.3.12 compiled fine.
I added
D:\Program Files\Apache Group\Apache_1.3.12\src\include
into includes (Tools > Options > Directories > Include files),
D:\Program Files\Apache Group\Apache_1.3.12\src\lib
D:\Program Files\Apache Group\Apache_1.3.12\src\ApacheR
D:\Program Files\Apache Group\Apache_1.3.12\src\CoreR
into Library files. The rest stayed the same as with CGI builds.
Then I built ApachePHP4.dll. It compiled fine. I got some
warnings, but as far as I can tell these are benign:
configuration-scanner.c(715) : warning C4102: 'find_rule' : unreferenced label
configuration-scanner.c(1485) : warning C4273: 'isatty' : inconsistent dll linkage.
dllexport assumed.
..\bindlib_w32\arpa/inet.h(74) : warning C4005: 'FD_SETSIZE' : macro redefinition
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(46) : see previous
definition of 'FD_SETSIZE'
D:\Program Files\Apache Group\Apache_1.3.12\src\include\../os/win32/os.h(111) : warning C4142:
benign redefinition of type
G:\Compile\php\php4-200005070845\sapi\Apache\mod_php4.c(145) : warning C4018: '!=' :
signed/unsigned mismatch
php_apache.c
D:\Program Files\Apache Group\Apache_1.3.12\src\include\../os/win32/os.h(111) : warning C4142:
benign redefinition of type
sapi_apache.c
D:\Program Files\Apache Group\Apache_1.3.12\src\include\../os/win32/os.h(111) : warning C4142:
benign redefinition of type
The whole thing was basically a guesswork, so I bet there's
a mistake on my part.
____________________________________________________________
Cynic:
A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.
cynic@mail.cz
ICQ: 2808 2505