(extension_dir = d:\php4\extensions ; directory in which the loadable extensions (modules) reside.) |
assoc .php=PHPScript |
ftype PHPScript=d:\php4\php.exe %1 %* |
<? echo("Nothing to write"); ?> |
test.php |
pause |
X-Powered-By: PHP/4.0.3 |
Content-type: text/html |
Nothing to write |
./configure --with-nsapi=/usr/local/netscape/server4 --enable-libgcc |
make |
make install |
Add LD_LIBRARY_PATH=<libdir> to your Netscape server startup script where <libdir> is the full path to the directory where libstdc++.so.2.10.0 is located (usually /usr/local/lib) |
For NT users |
Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="d:/php4/sapi/php4nsapi.dll" |
Init fn="php4_init" errorString="Failed to initialise PHP!" |
For Unix users |
Init fn="load-modules" funcs="php4_init,php4_close,php4_execute,php4_auth_trans" shlib="/usr/local/netscape/server4/bin/libphp4.so" |
Init fn="php4_init" errorString="Failed to initialise PHP!" |
Service fn="php4_execute" type="magnus-internal/x-httpd-php" |
<Object name="x-httpd-php"> |
ObjectType fn="force-type" type="magnus-internal/x-httpd-php" |
Service fn=php4_execute |
</Object> |