Re: php error code.
| From: | Scott Fletcher | Date: | Fri, 30 Mar 2001 13:54:49 +0000 |
| Subject: | Re: php error code. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46309@lists.php.net to get a copy of this message | ||
Whoa Whoa! Wait a minute! There is a couple of webservers here that use
PHP. Some of them when it display the error message or warning message, it
never display the "include_path='.:/usr/local/lib/php.ini'". Some of the
other, it did display the "include_path'.:/usr/local/lib/php.ini'". So,
something definitely is going on that I don't know about. So, I wanted to
know how to turn off the display "include_path'.:/usr/local/lib/php.ini'
when there is a error message. That's all.
Scott
""Scott Fletcher"" <scott@abcoa.com> wrote in message
news:9a04nt$5bi$1@toye.p.sourceforge.net...
> Hi!
>
> When the website have a script error, it display the error message (sort
> of a debugging error). What I don't like about that error message is that
> it display the include_path comments.
>
> Warning: Failed opening '../dp_banner_menu_final1_support.php' for
inclusion
> (include_path='.:/usr/local/lib/php.ini') in
> /home/website/test_knowledge_base/support/tech_support.php on line 10
>
> The comment with "(include_path='.:/usr/local/lib/php.ini')". It would
> tell people where the the php.ini file is and would encourage somebody to
> hack into it.
>
> What can I do about it?
>
> Would I be better off with using the PHP x.xx.xx pl1???? instead of PHP
> x.xx.xx?
>
> Thanks,
> Scott
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>