Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #15368

Re: force include_path to search in $_Server['Document_Root']

From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.php
Subject Re: force include_path to search in $_Server['Document_Root']
Date 2015-05-28 03:50 +0200
Organization solani.org
Message-ID <mk5s92$k1a$1@solani.org> (permalink)
References <3686f5b6-f8d9-47d8-abe2-377b713f6c9b@googlegroups.com> <mk5qm6$5bl$1@dont-email.me>

Show all headers | View raw


Jerry Stuckle wrote:

> You do not need to change the include path for the server to look in the
> document root.  Every request to the server is based off the directory
> configured in the server.
> 
> From your errors it looks like your directory structure is not set up
> correctly.  And after changing the php.ini file, did you restart the web
> server?
> 
> You REALLY NEED TO BE TALKING TO THE PERSON WHO GAVE YOU THE FILES ABOUT
> THIS!  ALL YOU ARE DOING IS SHOOTING IN THE DARK AND WASTING OTHER
> PEOPLE'S TIME (ALONG WITH YOUR OWN).
> 
> If you had done this at the start, you would have had a working system
> two (or more) weeks ago.

Even if I think that SHOUTING is generally a bad practice, in this case
it appears to be appropriate.  I fully agree with Jerry, that you,
Janis, really should get the basic setup right, instead of trying to
work around the errors one by one.

And most likely it is appropriate to rewrite the script to work with
recent versions of Zend Framework (or any other framework, or even
none), instead of sticking with an already old, probably buggy and
unsupported version.

-- 
Christoph M. Becker

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

force include_path to search in $_Server['Document_Root'] jans <janis.rough@gmail.com> - 2015-05-27 12:08 -0700
  Re: force include_path to search in $_Server['Document_Root'] Jerry Stuckle <jstucklex@attglobal.net> - 2015-05-27 21:24 -0400
    Re: force include_path to search in $_Server['Document_Root'] "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-05-28 03:50 +0200
      Re: force include_path to search in $_Server['Document_Root'] jans <janis.rough@gmail.com> - 2015-06-01 17:08 -0700
        Re: force include_path to search in $_Server['Document_Root'] jans <janis.rough@gmail.com> - 2015-06-02 10:05 -0700
      Re: force include_path to search in $_Server['Document_Root'] jans <janis.rough@gmail.com> - 2015-06-02 10:54 -0700

csiph-web