virtual hosts

General discussions related to php

Moderators: macek, egami, 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

Post by webwired » Wed Dec 11, 2002 10:49 am

You should recheck your include path on your .php page... I've had that problem before...

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

Re: virtual hosts

Post by WiZARD » 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:

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest