logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache running php can't see the network!
Author
merlinfire



Joined: 07 Oct 2010
Posts: 2

PostPosted: Thu 07 Oct '10 22:15    Post subject: Apache running php can't see the network! Reply with quote

I have apache 2.2 running (xampp setup) and am running apache as a service and have the log-on as set to my own user account. This account has full admin access on the network.

However, when I run php on the apache server, it cannot "see" the network resources. I can access them directly with no problem in windows explorer. The error log doesn't really help...here's what it says

[Thu Oct 07 14:49:28 2010] [notice] Server built: Nov 11 2009 14:29:03
[Thu Oct 07 14:49:29 2010] [notice] Parent: Created child process 4352
[Thu Oct 07 14:49:30 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Oct 07 14:49:30 2010] [notice] Digest: done
[Thu Oct 07 14:49:30 2010] [notice] Child 4352: Child process is running
[Thu Oct 07 14:49:30 2010] [notice] Child 4352: Acquired the start mutex.
[Thu Oct 07 14:49:30 2010] [notice] Child 4352: Starting 150 worker threads.
[Thu Oct 07 14:49:30 2010] [notice] Child 4352: Starting thread to listen on port 443.
[Thu Oct 07 14:49:30 2010] [notice] Child 4352: Starting thread to listen on port 80.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Fri 08 Oct '10 17:01    Post subject: Reply with quote

A php script can't access the internet or you can't access apache from the web?
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 08 Oct '10 17:22    Post subject: Reply with quote

thinks he means network shares

@merlinfire, have you tried paths like
//computer/sharename/path/to/whatever
Back to top
merlinfire



Joined: 07 Oct 2010
Posts: 2

PostPosted: Fri 08 Oct '10 20:14    Post subject: Reply with quote

yes, I have tried it 3 different ways:

double quotes with escaped backslash
single quotes with unescaped backslash
single/double quotes with forward slashes.

and yes, its related to php and its access to the network share
Back to top


Reply to topic   Topic: Apache running php can't see the network! View previous topic :: View next topic
Post new topic   Forum Index -> Apache