php-windows Digest 12 Sep 2002 08:13:39 -0000 Issue 1335

Topics (messages 15769 through 15772):

Weird Error
        15769 by: Alexandru Martin

php_oracle.dll causes server to hang for non-privledged user
        15770 by: Brian Jones
        15772 by: Matt Kynaston

Re: using apache on a network
        15771 by: Constantin Baciu

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
    Hello, i have a IRC bot made in php that worked and now it only outputs
"(0)" on the whole page !
    Please help me i am very confused. You can see my code at
http://nopaste.snit.ch:8000/756 .

--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Dumb question, but does the IIS user (IUSR_machinename) have read and
execute rights to C:\php\extensions\?

Matt

> -----Original Message-----
> From: Brian Jones [mailto:[EMAIL PROTECTED]]
> Sent: 11 September 2002 21:47
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] php_oracle.dll causes server to hang for
> non-privledged user
>
>
> 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
>
>
--- End Message ---
--- Begin Message ---
No...

What I mean is:
1. Either you setup a DNS server on the computer that you run apache on. If
you do that, you have to set the
 DNS on the computer that are on the local network. Then, in the browsers,
you refer by server-name.....

2. You do not set any DNS server, and you refer to the site (in the
browsers)    by the IP of the computer with apache....

Hope that you understand and hope that helps...

Best...

"M.B." <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> So you mean by listening to the IP (in the httd.conf-file)?
> I already done that, but then I typed the IP of my server in my browser
> (wich can't be written in the httd.conf-file because it crahsses then) and
> then my computer needs an internetconnection.
> But that is the thing I do not want to use.
> How do I get to the pages to see on my ather computers in the network,
what
> do I have to type in my browser, when I'm listening to the IP from that
> computer so that I don't have to make an internetconnection? (I already
> tried listening to a port, and then giving an IP to, but that didn'help.
> So what is it that I do wrong?
>
> M.B.
>
>
> "Constantin Baciu" <[EMAIL PROTECTED]> schreef in bericht
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > For the second question:
> >
> > try connecting through the IP (not the server name.....)
> >
> >
> > "M.B." <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Hi, I have installed PHPTraid so, that went OK.
> > > But I have a network and I would like to see the pages on the
computers
> > that
> > > are connected to the servercomputer. (win ME)
> > > I tried a lot of things already and I have one problem:
> > > when I type in that he must Listen to <IP computer> then everytime I'm
> not
> > > connected  to to the network, my computer with the apache server can't
> > run.
> > > And anouther problemm that I have is: that when I try to go to the
site
> on
> > > one of the connected computers in my network, I have to have an
> > > internetconnection to view the pages (I also use a port to listen to
in
> > the
> > > file) but when I have my internetconnection it isn't used only the
> network
> > > is used, how can I make it work without the use of an
> internetconnection?
> > >
> > > M.B.
> > >
> > >
> >
> >
>
>


--- End Message ---

Reply via email to