[
https://issues.apache.org/jira/browse/THRIFT-3833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15294966#comment-15294966
]
ASF GitHub Bot commented on THRIFT-3833:
----------------------------------------
Github user Jens-G commented on a diff in the pull request:
https://github.com/apache/thrift/pull/1013#discussion_r64133332
--- Diff: lib/haxe/README.md ---
@@ -117,3 +117,48 @@ may only support parts of the library, or not be
compatible at all.
Javascript:
- tutorial fails to build because of unsupported Sys.args
+PHP HTTP Server notes
+========================
+
+- you have to import PHP files generated by haxe into PHP
+```php
+require_once dirname(__FILE__) . '/bin/php-web-server/Main-debug.php';
+```
+
+- trace() by default outputs into stdout (http response), so you have to
redirect it to stderr or you own logs, something like
+```haxe
+//remap trace to error log
--- End diff --
see my other comment
> haxe http server implementation (by embeding into php web server)
> -----------------------------------------------------------------
>
> Key: THRIFT-3833
> URL: https://issues.apache.org/jira/browse/THRIFT-3833
> Project: Thrift
> Issue Type: Improvement
> Components: Haxe - Library
> Affects Versions: 1.0
> Reporter: Oleksii Prudkyi
> Assignee: Oleksii Prudkyi
>
> provide way to run haxe servers to run as part of ordinal web server (i.e.
> php code generated from haxe)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)