Reply to Re: Mapping the Path

Your name:

Reply:


Posted by Jim Carlock on 01/01/06 06:45

"Janwillem Borleffs" <jw@jwscripts.com> suggested:
> IMO, the most convenient way to do this is to add a
> php_value directive to the httpd.conf file
> php_value include_path ".;C:/Path to includes dir"

Happy New Year! Thanks for the comment about php_value.

I ran across the include_path item in a few pages at php.net.

http://us3.php.net/manual/en/print/ini.core.php#ini.include-path

And the content of that page left me puzzled as to how or where
to place that. Also, the Unix server that the site I'm deploying to
is a hosting company. IS there a way to edit the httpd.conf file
through PHP?

And I'm trying to get some other things working to find out what
modules are installed... tried...

apache_get_modules()

but that particular item is failing on my local machine.
apache_get_version() works and returns the version.

Also, found the include_path in the php.ini file. So that is
probably what I'm looking for on the local Windows
system. But will that work for the remote Apache (Unix)
server when I don't know where or how to get to it ?

The other things found in the php.ini file include:

doc_root =
user_dir =

I'm thinking my problem is an Apache problem, and I need
to create a couple virtual hosts.

For the meantime I'm going to have to stick to 100% relative
addressing for all my includes rather than using virtual root
addressing.

Unless there's a way to configure the doc_root variable to use
use a different root for two or more virtuals.

Again, thank you and Happy New Year to everyone.

Jim Carlock
http:// 70.124.31.73
Post replies to the newsgroup.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация