Hi,
I am having an issue getting php scripts to work from certain directories.
I am running php 5 and IIS 6
I have a scirpt directory that works in www.mydomain.co m/scripts/
however, if I try to get it to work in www.mydomain.co m it does not work.
I have set the document root to c:\inetpub which is where the folder with the scripts resides.
php is installed and working on the server. I have set the isapi filters etc...but can not get it to work from one directory higher..any one have any idea what I might be doing wrong?
Miles
3 1738 Motoma 3,237
Recognized Expert Specialist
Hi,
I am having an issue getting php scripts to work from certain directories.
I am running php 5 and IIS 6
I have a scirpt directory that works in www.mydomain.co m/scripts/
however, if I try to get it to work in www.mydomain.co m it does not work.
I have set the document root to c:\inetpub which is where the folder with the scripts resides.
php is installed and working on the server. I have set the isapi filters etc...but can not get it to work from one directory higher..any one have any idea what I might be doing wrong?
Miles
Make sure that the permissions for the inetpub allow the appropriate 'user' to execute in the directory. I think the 'user' is IUSR_COMPUTERNA ME.
This is just a guess but maybe
open_basedir = "xxxxxxx"
or
doc_root = "xxxxxxxx"
in php.ini ?
Motoma 3,237
Recognized Expert Specialist
This is just a guess but maybe
open_basedir = "xxxxxxx"
or
doc_root = "xxxxxxxx"
in php.ini ?
Hey ocpaul20,
Welcome to The Scripts.
Thanks for the help :)
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Jeffry van de Vuurst |
last post by:
Hi,
(sorry for the crosspost, I wasn't sure which was the best place to
put this).
I was just thinking about something and wondered if any of you has
some ideas about this.
I'm using the NetAdvantage component suite from Infragistics for my
web applications. When installing they create several virtual
|
by: TM |
last post by:
I am trying to create an asp.net web application in Visual Studio.Net 2003
and when I try to create it on my windows 2003 server, I get this error "The
web server reported the following error when attempting to create or open
the web project at the following url: ......... HTTP/1.1 403 Forbidden"
I went through the readme from the Visual Studio Install, and made sure the
ASP.Net server extensions, front page server extensions and other...
|
by: TM |
last post by:
When I run an ASP.Net application I am getting the following error:
"Error while trying to run project: Unable to start debugging on the web
server. The project is not configured to be debugged."
I checked and made sure the Machine Debug Manager is running on the server,
made sure the web.comfit file has debug=true. Mine is:
<compilation defaultLanguage="vb" debug="true" />
I also checked the directory executions permissions and it...
|
by: Jed |
last post by:
I am trying to open web project in VS 2003 using the File Share method.
VS is running on XP Pro (Host) and I am accessing the root web of an XP Pro
install on Virtual PC (Server) running on the same machine.
I have the loopback adapter running on the Host. The Host is sharing it's
Internet connectivity with the loopback adapter and the Server is using the
loopback it for Internet connectivity. All the networking stuff is working
fine.
|
by: Buddy Home |
last post by:
Hello,
I'm trying to upload a file programatically and occasionally I get the
following error message.
Unable to write data to the transport connection: An established connection
was aborted by the software in your host machine.
Stack Trace
at System.Net.Sockets.NetworkStream.Write(Byte buffer, Int32 offset, Int32
| |
by: Buddy Home |
last post by:
Hello,
I'm trying to upload a file programatically and occasionally I get the
following error message.
Unable to write data to the transport connection: An established connection
was aborted by the software in your host machine.
Stack Trace
at System.Net.Sockets.NetworkStream.Write(Byte buffer, Int32 offset, Int32
|
by: S.Tedeschi |
last post by:
Hi all guru,
for sure I'm too old for a bunch of no-sleep-nights. M$' drivin' me
nut.
Switching my ASP.NET 1.1 apps to 2.0 has made me tryin' for several
days with no success.
-My IIS5.1 (Xp Media Center, SP2) refuses to serve even the simplest
aspx page (1 button + 1 textBox), rendering only "Server Application
Error
The server has encountered an error while loading an application
during the processing of your request"
|
by: =?Utf-8?B?SnVhbiBEZW50?= |
last post by:
Hi,
I am getting the following in a VC++ EXE (using VS2005) that links several
C++ DLLs and uses MFC and ATL, when I try to start it under the debugger:
-------
'Exactus.UX.Studio.v1.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No
symbols loaded.
'Exactus.UX.Studio.v1.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No
symbols loaded.
|
by: Markus |
last post by:
I'm adding to my script a section that allows a thumbnail to be created and saved. I get this error:
Warning: imagejpeg() : Unable to open '../uploads/thumb/' for writing: Is a directory in /home/.gobbles/mahcuz/mahcuz.com/upload/uploaded.php on line 129
And this is some of the code from the page:
/* New code for thumbnails. Will on work if user selects "create thumb on upload" on the upload page */
//check to see if checkbox is...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |