hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : Problem installing php on windows 2000
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

Problem installing php on windows 2000

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-12-2002, 06:58 AM
AC1 AC1 is offline
Newbie
 
Join Date: Aug 2002
Location: Originally from Bolton, England. I have been working in Brussels, Belgium for the last 2.5 years.
Posts: 29

Problem installing php on windows 2000


Hi

I have my website running OK on a unix server on the web, but I want to set it up on my local windows 2000 PC for testing as I currently use a dialup connection to the internet.

I am running windows 2000, PWS, php and mysql.

Everytime I call my php screens I get the error

Warning: Failed opening 'c:\inetpub\wwwroot\it_and_computing.php' for inclusion (include_path='.;C:\php4\pear') in unknown on line 0

I have tried numerous things from the php installation manual as well as looking at the mailing lists but I still can't get it working, maybe I am missing something obvious here.

I have checked all the following:
a) I have made sure the file it_and_computing.php exists in the specified directory
b) I have checked I only have 1 php.ini file in the winnt group
c) I have changed the include_path parameter in the php.ini file and the include_path in the warning message changes accordingly, so I believe it is using the php.ini file.
d) I have removed all include statements from my PHP code as this is not fully supported in windows 2000 version of php.
e) I have checked the permissions on the file and everyone can read the file
f) The calling screen and the php screen are both located in the same directory.
g)pws has execution permissions to webroot

Any ideas as to what else I could try?

Thanks in advance for any help,

Cheers

Andy

Reply With Quote


Sponsored Links
  #2  
Old 09-12-2002, 07:44 AM
CJCS CJCS is offline
Junior Guru Wannabe
 
Join Date: Jun 2001
Location: Germany
Posts: 69
Hy,

this is a permission problem.

Try to set the permissions to Full Access to your webserver user then try again. If it works, then pull back some permissions and try again, and again and again...

Greetings
Oliver

Reply With Quote
  #3  
Old 09-14-2002, 03:33 PM
AC1 AC1 is offline
Newbie
 
Join Date: Aug 2002
Location: Originally from Bolton, England. I have been working in Brussels, Belgium for the last 2.5 years.
Posts: 29
Hi

I have allowed my PWS full access and I still get the same error, is there anything else I could maybe try?

Cheers
Andy

Reply With Quote
Sponsored Links
  #4  
Old 09-14-2002, 04:18 PM
prosayist prosayist is offline
Junior Guru Wannabe
 
Join Date: Dec 2001
Location: New Hampshire
Posts: 93
.. it may or may not apply to your situation, but 'good' coding practice is, if you're including a file in the current directory, use
PHP Code:
include'./filename.ext'
/*rather than*/
include'filename.ext'
which sometimes prevents those kind of errors

__________________
WYSIWYG

Reply With Quote
  #5  
Old 09-15-2002, 10:52 AM
AC1 AC1 is offline
Newbie
 
Join Date: Aug 2002
Location: Originally from Bolton, England. I have been working in Brussels, Belgium for the last 2.5 years.
Posts: 29
Hi Prosayist,

It can't be this as I have removed all the include commands from my code and included the code directly in the php code.

Andy

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Site24x7 Offers Website Monitoring Service via New WHMCS Plug-in Web Hosting News 2013-04-19 12:16:46
Windows Azure SSL Slip-up Brings SSL Checker Tools Business Blog 2013-02-26 12:25:08
Web Host OrcsWeb Offers Support for Windows Server 2012 Web Hosting News 2012-08-24 11:08:35
Rogue Antivirus Campaign Tricks WordPress Users, Infects 30,000 Sites Web Hosting News 2012-03-08 12:10:48
Microsoft Releases Windows Server “8” Beta with Focus on Cloud, Virtualization Web Hosting News 2012-03-01 12:08:55


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?