Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 154
  • Last Modified:

Errors setting up an Apache instance?

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.
0
zaf12
Asked:
zaf12
1 Solution
 
rama_krishna580Commented:
Hi,

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

R.K
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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