The developers in our establishment are administrators on the development Windows 2000 
server, which runs IIS 5 and PHP 4.2.3 (as of today).  This problem was also 
reproduced on PHP 4.2.2.

When a PHP page was served to a non-privledged domain user (something as simple as 
echo 'blah'; for example), the users browser would hang.  Eventually it would print 
the following error:

X-Powered-By: PHP/4.2.3 Content-type: text/html blahPHP Warning: Unable to load 
dynamic library 'C:\php\extensions\php_oracle.dll' - Access is denied. in Unknown on 
line 0

Since the first half of the line actually printed expected html document, but broke on 
the php_oracle.dll, we were lead to believe that it was the oracle piece under IIS/PHP.

The oracle extension in itself is not the problem, since I am developing a page using 
the php_oracle.dll extension on this server just fine (returns valid data, etc).  If 
this extension is commented out of the php.ini file, then a non-privledged user can 
execute any other php file from that point forth just fine (again, the simple echo 
script for example).

Alternatively, if that user is given administrator access to the webserver, the 
php_oracle.dll extension can stay in place, and the user can properly execute a php 
script (including something that integrates with oracle, beyond just a basic script).

I'm not sure why scripts would fail with the oracle extension in place, even though 
they have nothing to do with that piece.  I also don't understand why a user needs 
higher privs to execute scripts with it in place.

I wasn't able to find this problem in the bug list, nor did google return anything.  
There were alot of hits for "Unable to load dynamic library", but none of them seemed 
to be specific to user privledges.


-- 
-- bojo

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to