virtual hosts

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
User avatar
New php-forum User
New php-forum User
Posts: 26
Joined: Sat Nov 23, 2002 5:20 pm
Location: St. Louis, Missouri

Wed Dec 11, 2002 10:49 am

You should recheck your include path on your .php page... I've had that problem before...
Hold on just a moment, I'm talking to myself.

User avatar
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Thu Dec 12, 2002 8:29 am

Tobias wrote:Hello!

I have installed PHP 4 with Apache 1.3 and everything works just fine if the .php file is in the main root directory.
The problem occurs when I try to open .php files from my virtual hosts, then I get an errormessage in my browser, something like this:
"Warning: Failed opening '/www/users/sifon/test.php' for inclusion (include_path='. ;c:\php\includes;d:\www\users\sifon;d:\www\users\h
iiulink') in Unknown on line 0"
It seems like it does not find the .php file.

I have tried to add the path to my .php file in the include_path and several other paths in both php.ini and httpd.conf.

Can anyone give me a hint please!

if true you need check path to root of your httpd server Apache. I'think what path to the real root dir not correct :wink:
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";

Post Reply