Errors setting up an Apache instance?

Posted on 2005-05-10
Last Modified: 2010-03-17
I have just set up an instance of Appserv on my Windows C drive, to localy look at some files (C:\AppServ\).  The files I want to look at(which defenetely work) are in my C:\thailand directory.  I've gone into apache\conf\httpd.conf and fixed 'DocumentRoot "C:\thailand"', <Directory "C:\thailand">, and just for good measure,  UserDir "C:\thailand\users\".  

But when I go to localhost/index.php, I get a long list of errors - here are the first three.

Warning: main(/init_all.php): failed to open stream: No such file or directory in c:\thailand\index.php on line 7

Warning: main(): Failed opening '/init_all.php' for inclusion (include_path='.;c:\php4\pear') in c:\thailand\index.php on line 7

Warning: main(/themes/theme_thai/th_header.php): failed to open stream: No such file or directory in c:\thailand\index.php on line 9

Is there another setting somewhere I need to be changing, or is this something really silly I've missed?  I'm just pretending at this, so I wouldnt be surprised.
Question by:zaf12
    1 Comment
    LVL 23

    Accepted Solution


    I think its some times to do with the naming convension, Do one thing...

    Try to remove the under scores (_) from the file names you have given with .php extension and then try again.
    Your problem will be solved.

    Best of luck


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack or Above. The following steps a…
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    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…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    760 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

    8 Experts available now in Live!

    Get 1:1 Help Now