Thommie Rother <[EMAIL PROTECTED]> wrote:
> I keep on playing ;-) : I re-installed /mod, /php4, lib/ and data/. 
> When midgard.so is located in /usr/local/lib, and the extension_dir in 
> php.ini points on that, other .php projects are -at least- not blocked.
> 
> But there are still two problems here: For testing only, I moved 
> midgard-root.php from /usr/local/lib/php/extensions/ to the document 
> root and accessed it there. Now I get:

You should NOT put the midgard-root.php startup script in the document root.
It is meant to stay in the apache's modules directory. Midgard will drive apache to 
read that script and to pass it over to PHP, this is the way it works.

> [23-Apr-2001 18:52:57] PHP Fatal error:  Dynamically loaded extensions 
> aren't allowed when running in SAFE MODE
> 
> Therefore I changed 
> 
> ; Safe Mode
> safe_mode               =       Off
> safe_mode_exec_dir      
> safe_mode_allowed_env_vars = PHP_
> 
> I don't know what that means but maybe this issue should be adressed? 
> The standard setting was "Safe Mode = On". This is what I used up to 
> now with other php projects (and may be the better setting for security 
> reasons?). Then, this message is gone. The next error is 
> 
> [23-Apr-2001 18:54:38] PHP Fatal error:  Cannot get midgard module 
> descriptor in /usr/local/httpd/htdocs/midgard-root.php on line 12
> 
> This line says 
> 
> dl ("midgard.so"); 
> 
> I assume we're still having a prob with the dynamic loading or some 
> interference between midgard and php4. Meanwhile, errors only occur 
> when accessing the midgard-root.php but no more when accessing other 
> php files. This is one small step further ....
> 
> Does this info help on investigation? 
> 
> -------------------------------------------------------
> Thomas M. ROTHER - "netzwissen" - D-73728 Esslingen
> F.R. Germany/EU
 - http://www.netzwissen.de (Updated!)
> Public PGP Key available from http://www.keyserver.net
> -------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Best regards,                                 David Guerizec
http://www.guerizec.net/david/       http://www.imuable.org/
http://www.midgard-project.org/ http://www.aurora-linux.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to