#include fails in shtml page
| From: | The Gabster | Date: | Wed, 19 Jun 2002 14:29:19 +0000 |
| Subject: | #include fails in shtml page | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-102942@lists.php.net to get a copy of this message | ||
Hi everyone!
I am not able to run includes in my shtml pages with the
<!--#include virtual="./file.php"--> tag.
And this is what I get in my Apache server error log:
PHP Warning: Failed opening './path_to_my_file/file.php' for inclusion
(include_path='.;c:\php4\pear') in C:\Apache\htdocs\test.php on line 3
This is what I have set in my php.ini:
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
My question is should I uncomment the include_path line? But what is with
that ".;" in front of the c: drive? Is that something normal? I have apache
on a win2k machine...
Thanks a lot,
gabi.