RE: newbie needs help setting up PHP4 with win98 SE and PWS
| From: | Martijn Weisbeek | Date: | Wed, 18 Apr 2001 23:30:34 +0000 |
| Subject: | RE: newbie needs help setting up PHP4 with win98 SE and PWS | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6845@lists.php.net to get a copy of this message | ||
<cut>
> 3. edited php.ini as follows
> include_path = f:\phpstuff ; where i'll store my php scripts!
> doc_root =
> user_dir = f:\phpstuff
> extension_dir = e:\php4\
> enable_dl = On
</cut>
IMHO, the include_path is where you made just a little error.
I think you should also include the current directory ("." (without the
quotes) in UNIX-terms).
I believe PHP also has its own include-files (besides your scripts). When
you include the current directory it can also find these.
You can do it like this:
include_path = .;f:\phpstuff
Just try it out and let us know whether this worked out...
Just a hint: do not fill in the include_path when you do not really need to.
You can place your PHP-scripts anywhere on your server as long as you create
virtual directories for them. From there you can easily include files. No
direct need for setting the include_path, IMHO. But I could easily be wrong
here (besides, most of the times I am PHP-newbie too, but fortunately one
can learn PHP quickly and easily).
Greetings,
Martijn Weisbeek
www.weisbeek.com