hacking php (interpreter): undefined reference to `ap_log_error'
I'm hacking PHP (the interpreter) 5.2.17 and I want to send some error messages for debugging. When I try to build I get this from the linker:
Code:
undefined reference to `ap_log_error' Thanks in advance. |
perhaps there's a php utility function that could wrap sending messages to stderr or apache's error log depending on if it's cli or apache module?
|
php_error_docref?
|
ap_log_error should come from the executable (/usr/local/bin/php or /usr/local/sbin/httpd) Your platform? The complete command line? The complete error message?
PS: 5.2.17 is way too old. Use 5.3.15. |
All times are GMT -5. The time now is 07:43 PM. |