Reply to Re: [PHP] Logging within Extension

Your name:

Reply:


Posted by Michael B Allen on 12/21/05 06:47

On Tue, 20 Dec 2005 20:02:58 -0500
Michael B Allen <mba2000@ioplex.com> wrote:

> I'm writing a PHP 4 extension and I would like to write debugging
> information to the Apache error log.Does anyone know how to do
> that? Basically I want error_log() but for within a C extension.

And the answer is php_error_docref. For example:

php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Undefined variable: %s", varname);

Mike

[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

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