Re: 2 problems with extension
| From: | Antony Dovgal | Date: | Thu, 12 Jun 2008 12:47:58 +0000 |
| Subject: | Re: 2 problems with extension | ||
| References: | 1 2 3 4 5 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-5519@lists.php.net to get a copy of this message | ||
On 12.06.2008 16:29, Adam Klobukowski wrote:
Ok, but ;) it hangs even with one request. Besides, I have this library tested in other multithreaded program... Using php_log_err, I was able to trace that: PHP_MINIT happesn exactly befor my function is called. That means that structure is initialized.You don't expect me to debug your code without looking at it, do you?
Anyway... I can have debug information on stderr or any other std stream. Unfortunately I do not see that in logs or anywhere else... is there a way to get it?I don't get your problem, sorry. What are you looking for? stderr output? Run Apache in single-process mode (use httpd -X).
about that macros: Most of examples I could find, works with simple variables (int, long).What's the difference?
Where can I find some with custom structures?php-src/ext and pecl/ For instance, ext/standard/basic_functions.h declares php_basic_globals with lots of different structs. -- Wbr, Antony Dovgal