Info.php is inaccessible after Plesk installed

Posted on 2006-06-07
Last Modified: 2008-01-16
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?

Question by:top_rung
    LVL 10

    Expert Comment

    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
    LVL 14

    Author Comment


    Yes it is mapped correctly.  As was mentioned, prior to installing Plesk PHP worked properly (well at least testing to see if 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.

    LVL 14

    Author Comment

    Raised points!
    LVL 10

    Accepted Solution

    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
    LVL 14

    Author Comment

    Renaming the file pointed me in the right direction.  It was just a path problem.  



    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
    Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now