php trouble
| From: | Fanda [efesh.cz] | Date: | Wed, 10 Oct 2001 12:46:33 +0000 |
| Subject: | php trouble | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4582@lists.php.net to get a copy of this message | ||
Hello there,
I am a beginner in php scripting,
I have following trouble: I am using PHP 4.0+ and Apache web server 1.3+.
Both running under Windows 98. I am not quite sure how to set up php.ini + httpd.conf in order to be able to use
dbm functions (dbm_open, ..etc)
Is there a way how to set configuration files and use this functions?
When using
-------------------------------------------------------
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "c:/php/php.exe"
-------------------------------------------------------
in .conf file, i am not able to run any php script
on the other hand, when using
-------------------------------------------------------
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
-------------------------------------------------------
it won't let me use "Dl()" ... [dl() is not supported in multithreaded Web servers - use extension statements in your php.ini in ...], and dbm functions cause the script to stop and write an error function not supported.
Thanks in advance for any help.
efesh
efesh@efesh.cz