Bad file descriptor | Failed opening required

A

Anonymous

Guest
hi,

I have an error which i actually don't understand.
If I'm on localhost and i'm browsing using my local ip address, i don't see them, but when i'm browsing to my webserver using my extern ip or dns i get

Warning: main(http://jpstuff.servehttp.com/include/menu_bar.php): failed to open stream: Bad file descriptor in d:\server_applications\root\http\default.php on line 57

Fatal error: main(): Failed opening required 'http://jpstuff.servehttp.com/include/menu_bar.php' (include_path='.;c:\php4\pear') in d:\server_applications\root\http\default.php on line 57


Do i have to change something in php.ini or something?
What does Bad file descripter mean?
thanks!
 
Me first thought is, your webserver isn't working the right way!

So check your config of your webserver! What kind of webserver you are using?

Greetz,
Enq
 
I use Apache 1.3.x under Win9x

This is what i have in httpd.conf:

# Start PHP Plugin
LoadModule php4_module d:/server_applications/plugins/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
# End Plugin
 
Have these parms to:

DirectoryIndex index.php index.html index.php.var index.html.var
ServerName localhost
DocumentRoot <your wwwroot>
Action application/x-httpd-php /php/php.exe

works fine for me. I'm also using Apache 1.3.x on win2000 and winXP.

Greetz,
Enq
 
Back
Top