Cannot Access php files

Posted on 2007-08-01
Last Modified: 2007-08-02
We have a web site where all the files are pure html, but we are using extension php because eventually these will contain php code.

The site is structured with folders for each site section; for example, the "About" section is in folder about, etc.

The main page of the about section is about/index.php. The link is: <a href="about/index.php">

All of the links to php files in subfolders produce "No input file specified. "

Question by:Richard Korts
    LVL 142

    Accepted Solution

    that means that the .php exention is not registered.
    what is your web server? apache? iis?
    you should go through the documentation how to add an extention (ie .php)
    LVL 1

    Assisted Solution

    I assume you are in a windows environment and running php as a cgi. Am I correct?

    One solution is to run php as a module instead of a cgi which will also increase performance dramatically.

    Have you set the 'doc_root' setting correctly in your php.ini
    something like
    where the path to the like you list above is

    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.

    Join & Write a Comment

    Suggested Solutions

    Both Easy and Powerful How easy is PHP? (  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
    I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
    The viewer will learn how to dynamically set the form action using jQuery.
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

    745 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

    13 Experts available now in Live!

    Get 1:1 Help Now