Old 12-22-2005   #1 (permalink)
Yup, that's meee!
 
thecubed's Avatar
 
Join Date: Jun 2004
Location: Infront of my screen (most of the time)
Posts: 89

Send a message via AIM to thecubed Send a message via Yahoo to thecubed Send a message via Skype™ to thecubed
Exclamation Upgrading from PHP4 to PHP5 Access is Denied Error!

Hi all!
Well, I was trying to upgrade my PHP version on my testing server from PHP4 as CGI module to PHP5 isapi .

PHP4 worked fine, without any problems - but I have read that the CGI version is not as safe, and is slower- so I decided to upgrade to PHP5.
I went to PHP.net and downloaded the .zip file containing the compiled extentions and everything. I renamed the existing install folder of c:\php to c:\php_old and extracted everything in the zip file to c:\php .
As per the instructions, I added c:\php to my server's PATH variable, and rebooted. I then proceeded to rename the php.ini-recommended to php.ini and set up IIS6 to use the ISAPI dll instead of the old php4 cgi.

Then- when I opened a php document, immediately a login page occurred. I entered in my password for the Admin account, and it said: Error: Access is Denied.
Hmm... It didn't ask me for my password before? So, I went in and made sure that the permissions for c:\inetpub\wwwroot were set to the correct for IUSR_thecubed-2k3 -and they were.
Still puzzled, I checked the INI file, and nothing there either.
I followed a few PHP guides, that led me through everything that i've done before. I'm so puzzled.

Just some quick info:
My server is Windows Server 2003
I rebooted after modifying the PATH variable
I added the ISAPI filter to my Web Sites folder,
and the ISAPI extention, and the Web Services extention set to Allow.

And there's most likely some things that I forgot to mention

Last, but not least -- Happy Hollidays!

Thanks!
__________________

www.thecubed.com <--- TheCubed Homepage!
thecubed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 12-22-2005   #2 (permalink)
code anyone?
 
scrowler's Avatar
 
Join Date: Feb 2004
Location: New Zealand
Posts: 590

Send a message via MSN to scrowler Send a message via Skype™ to scrowler
i can't really help you much because this sounds like a conflict with IIS, and i have never used it. what i can suggest is upgrading to an apache server
__________________
BioRUST Tutorials - the birthplace
scrowler is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 12-23-2005   #3 (permalink)
Yup, that's meee!
 
thecubed's Avatar
 
Join Date: Jun 2004
Location: Infront of my screen (most of the time)
Posts: 89

Send a message via AIM to thecubed Send a message via Yahoo to thecubed Send a message via Skype™ to thecubed
ok, but I can't upgrade to Apache. I want to use IIS, because I like it's feature-set and ease of use.

I guess that I'll just have to ask the PHP people

Thanks scrowler for the suggestion.

Happy Holidays!
__________________

www.thecubed.com <--- TheCubed Homepage!
thecubed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 01:55 AM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT