Index of /yeast/cluster/database/php-3.0.14/dl
Name Last modified Size Description
Parent Directory 20-Jan-2000 21:09 -
Makefile.tmpl 10-Oct-1999 10:49 3k
README 12-May-1999 08:02 1k
calendar/ 13-Jan-2000 08:17 -
crypt/ 13-Jan-2000 08:17 -
imap/ 13-Jan-2000 08:17 -
informix/ 13-Jan-2000 08:17 -
log/ 13-Jan-2000 08:17 -
mssql/ 13-Jan-2000 08:17 -
phpdl.h 31-Dec-1999 23:44 2k
setup 12-May-1999 08:02 2k
snmp/ 13-Jan-2000 08:17 -
vmailmgr/ 13-Jan-2000 08:17 -
PHP3 Dynamically Loadable Libraries
The build procedure for dynamic modules is not very clean yet.
It will be improved in PHP4.
Try:
./setup
This will generate a Makefile. You should edit this Makefile
and on the CC line add your Apache include directories.
Something similar to:
-I/path/apache/src/include -I/path/apache/src/os/unix
To build an individual library type, for example:
make calendar.so
You can then put the library somewhere and from within PHP
use: dl("/path/calendar.so");
A function from within the library can then be called like any
regular PHP function. For example:
echo jdmonthname(1,3);