473,387 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Unable to get PHP scripts to work from root directory

1
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.com/scripts/

however, if I try to get it to work in www.mydomain.com 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
Jul 3 '07 #1
3 1720
Motoma
3,237 Expert 2GB
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.com/scripts/

however, if I try to get it to work in www.mydomain.com 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_COMPUTERNAME.
Jul 3 '07 #2
This is just a guess but maybe

open_basedir = "xxxxxxx"

or

doc_root = "xxxxxxxx"

in php.ini ?
Jul 6 '07 #3
Motoma
3,237 Expert 2GB
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 :)
Jul 6 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
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...
1
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...
2
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."...
7
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...
0
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...
3
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...
4
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...
4
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':...
6
Markus
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
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...
0
Oralloy
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.