--- James Keeline <[EMAIL PROTECTED]> wrote:

> --- Nick Jones <[EMAIL PROTECTED]> wrote:
> 
> > Hello all,
> > 
> > I have display_errors set to Off in the
> /etc/php.ini
> > file on my webserver, but I want to turn them on
> for a
> > certain development directory. I tried
> > "ini_set('display_errors','on');" and that didn't
> > work. AFter that I put a .htaccess file in the
> > directory with this line in it:
> > 
> > php_flag display_errors on
> > 
> > And that didn't do the trick either. Is there a
> way I
> > can set Apache/PHP to display PHP errors in just
> one
> > directory or on certain scripts?
> > 
> > Thanks
> > -Nick
> 
> I have not seen the Apache directive php_flag
> before.  Normally, I use php_value or
> php_admin_value.  Also, the value you give may need
> to be a "1" rather than "on" to function
> properly.
> 
> James

I tried both 1 and On with and without quotes and I
get nothing. But now I've figured it out. The
.htaccess file worked, I had to set AllowOverride for
that directory in the httpd.conf.

thanks
-Nick


Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to