|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
This Page Cannot be Found
Hi guys! First post here ... so be kind haha!
Ok, I'm having a problem here. I work in a school - and we have created a new virtual directory - and placed some PHP in there. We now get a response saying "This page cannot be found" for the PHP - which is blatenly there. I am at a loss! I've checked whether the extension is enabled on the virtual directory, which it is, checked permissions, its all fine - and i;m now generally just getting annoyed! Any help would be much appreciated Cheers ![]() |
|
#2
|
|||
|
|||
|
if you're using IIS you have to install php on IIS before you can run php pages. You can find php installation instructions for windows/iis in the php download.
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#3
|
|||
|
|||
|
Hi Doug - thanks for the reply.
PHP is installed as we can run PHP pages fine from the root site, just not the virtual directory! Any other ideas anyone? |
|
#4
|
|||
|
|||
|
Give some more details on exactly how you set up your directory, what kind of page you're trying to call, what the exact error is.
|
|
#5
|
|||
|
|||
|
Hi Doug,
I set up the directory by how you'd usually add a virtual directory to IIS. I then made sure everyone has read/writer/execute permissions to read the PHP file. Then, the exact error is literally as folows: Quote:
rh91uk |
|
#6
|
|||
|
|||
|
But how are you trying to reach the page? http://localhost/myphppage.php or something similar? What is the php? Does a basic <?php phpinfo(); ?> page work? Also what version of IIS? Normally when you create a virtual directory using the IIS MMC permissions get setup properly by the creation process, the only thing you usually need to tweak would be write permissions.
|
|
#7
|
|||
|
|||
|
Yeah, trying to reach the page by http://directory/directory2/bob.php for e.g.
The write permissions are all set too. and Php info doesn't work! cheers for all your help |
|
#8
|
|||
|
|||
|
The url you are using won't work. You need to identify the web server, if you're running the browser from the same computer as the web server you should use http://localhost/directory/directory2/bob.php which assumes 'directory' is a virtual directory.
If you're trying to reach the web server from another computer you'd use the ip of the web server or it's name in the url. |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > This Page Cannot be Found |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|