• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 511
  • Last Modified:

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?

0
top_rung
Asked:
top_rung
  • 3
  • 2
1 Solution
 
dnojcdCommented:
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
0
 
top_rungAuthor Commented:
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.

0
 
top_rungAuthor Commented:
Raised points!
0
 
dnojcdCommented:
just for testing change the default document of the Plesk to info.php and test. OR create another website and put info.php and test.

I think Plesk is having its own security susbsytem where it is not allowing the php extension.Look for any interface for adding additional extensions int he admnistrative panel.i tshule be under domain administration page
0
 
top_rungAuthor Commented:
Renaming the file pointed me in the right direction.  It was just a path problem.  

Thanks!

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now