User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » PHP installation error Page [1]  
Oeuvre
All American
6651 Posts
user info
edit post

Ok, I'm trying to install PHP for IIS for a client. Not my development platforms of choice, but oh well.

After running through a billion different setup instructions (it seems everyone has had to tweak it to get it to work, thus, 10000000 different "guides" exist), I'm getting

THE PAGE CANNOT BE DISPLAYED
You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.



Anyone ever seen this? Know what to do to get around it?

Oh, and I'm using ISAPI, not CGI.

9/11/2007 7:35:14 PM

Oeuvre
All American
6651 Posts
user info
edit post

Ok, I have no idea what I did, but it's working...

it's for reasons like this that I hate windows iis

9/11/2007 7:42:33 PM

philihp
All American
8349 Posts
user info
edit post

yeah... windows is like that. *shrug* apache has always been more deterministic for me.

9/11/2007 9:07:14 PM

Shaggy
All American
17820 Posts
user info
edit post

make sure the directory containing whatever you're executing allows script execution.

9/11/2007 11:05:32 PM

SandSanta
All American
22435 Posts
user info
edit post

What directory in windows under an admin account doesn't allow execution of anything, really?

Why php with iis? Work?

9/11/2007 11:17:32 PM

Shaggy
All American
17820 Posts
user info
edit post

When you add a directory to a website in IIS it asks you what privledges you want to put on the directory and they're pretty much identical to what you'd see in unix, with read/write/list/execute/etc... These privledges exist only in the IIS "metabase" and are independent of the file system privledges.

9/11/2007 11:30:03 PM

SandSanta
All American
22435 Posts
user info
edit post

So you mean to tell me leetsauce NTFS permissions isn't enough for web interaction?

9/11/2007 11:36:37 PM

Oeuvre
All American
6651 Posts
user info
edit post

^^ yes work

^^^^ that was the first thing I checked. I made sure it was set to scripts only

All I did was restart IIS twice...

Apache and a good ole nix box would never do this.

9/12/2007 10:28:27 AM

SandSanta
All American
22435 Posts
user info
edit post

Thats not entirely true. You could have an apache module which doesn't play nice with a php one and you'd never find this mistake out.

9/12/2007 10:34:58 AM

Noen
All American
31346 Posts
user info
edit post

^^I've always had to hard reboot to get IIS+PHP fully working, so it sounds like it's gotten *better*

9/12/2007 10:37:16 AM

Shaggy
All American
17820 Posts
user info
edit post

The IIS metabase is pretty much equivilent to .htaccess. Access and permissions are just part of the info stored there.

You could bypass it and just use NTFS permissions, but IIS permissions can be easier to manage since they affect all users the same way.

When I was fucking with the WebSphere ISAPI pluggin to get it to serve up stuff from domino it too seemed to randomly decide to work after a reboot. But thats about all I've done with IIS.

[Edited on September 12, 2007 at 10:52 AM. Reason : .]

9/12/2007 10:50:15 AM

Oeuvre
All American
6651 Posts
user info
edit post

^ Domino... i do some of that shit too

[Edited on September 12, 2007 at 4:06 PM. Reason : .]

9/12/2007 4:06:02 PM

Shaggy
All American
17820 Posts
user info
edit post

Notes is great!

Are you on 6.5 7.0? If you are lemme send you an email that will crash your server.

9/12/2007 4:51:37 PM

Oeuvre
All American
6651 Posts
user info
edit post

haha, I'm on 7.0...

And I don't need servers to go down... I don't have any time to do shit as it is...

9/12/2007 8:53:51 PM

Shaggy
All American
17820 Posts
user info
edit post

ehe. I have lotus support on speed dial.

http://www.brentroad.com/message_topic.aspx?topic=493013

9/12/2007 8:55:49 PM

 Message Boards » Tech Talk » PHP installation error Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.