top_rung
asked on
Info.php is inaccessible after Plesk installed
disclaimer: noob to PHP, MySQL, Plesk
For a client, I have installed the following in this order:
MySQL 4.1
PHP 4.4.1
Tested the PHP install by creating an info.php. Everthing worked!
Installed Plesk 7.5.6.. Out of curiousity, ran the info.php again, but this time it came up with page cannot be found.
So, I looked in IIS and found that the default website is now pointing to another location other than the wwwroot. So, I copied the info.php to the folder, but still no dice.
any ideas?
For a client, I have installed the following in this order:
MySQL 4.1
PHP 4.4.1
Tested the PHP install by creating an info.php. Everthing worked!
Installed Plesk 7.5.6.. Out of curiousity, ran the info.php again, but this time it came up with page cannot be found.
So, I looked in IIS and found that the default website is now pointing to another location other than the wwwroot. So, I copied the info.php to the folder, but still no dice.
any ideas?
ASKER
Thanks,
Yes it is mapped correctly. As was mentioned, prior to installing Plesk PHP worked properly (well at least testing to see if php.info displayed properly).
Since Plesk, I noticed that the default website's home directory was set to C:\Inetpub\vhosts\default\ htdocs. So, I copied the info.php file into this folder, and tried to hit the file. It doesn't even ldisplay locally by using http://localhost/info.php. Plesk also installed a preview.php in that folder which I cannot access either.
If I just hit the website without adding the info or preview.php (e.g. http://mysite'sIP), I get the Plesk index.html displaying properly.
Ultimately, I just want to make sure that PHP is running properly before continuing.
Thanks again.
Yes it is mapped correctly. As was mentioned, prior to installing Plesk PHP worked properly (well at least testing to see if php.info displayed properly).
Since Plesk, I noticed that the default website's home directory was set to C:\Inetpub\vhosts\default\
If I just hit the website without adding the info or preview.php (e.g. http://mysite'sIP), I get the Plesk index.html displaying properly.
Ultimately, I just want to make sure that PHP is running properly before continuing.
Thanks again.
ASKER
Raised points!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Renaming the file pointed me in the right direction. It was just a path problem.
Thanks!
Thanks!
1. right click default web site- and select--- properties
2.Home directory
3. under application setting .click the configuration
4.then check in the application mappings if it is correctly mapped