Link to home
Start Free TrialLog in
Avatar of top_rung
top_rungFlag for United States of America

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?

Avatar of dnojcd
dnojcd
Flag of United States of America image

see in IIS if the .php extension is correctly mapped to your php.exe.
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
Avatar of top_rung

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.

Raised points!
ASKER CERTIFIED SOLUTION
Avatar of dnojcd
dnojcd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Renaming the file pointed me in the right direction.  It was just a path problem.  

Thanks!