You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2010/08/19 07:21:16 UTC
[jira] Closed: (THRIFT-755) PHP Extension Fails to compile [Patch]
[ https://issues.apache.org/jira/browse/THRIFT-755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Duxbury closed THRIFT-755.
--------------------------------
Assignee: Nicholas Telford
> PHP Extension Fails to compile [Patch]
> --------------------------------------
>
> Key: THRIFT-755
> URL: https://issues.apache.org/jira/browse/THRIFT-755
> Project: Thrift
> Issue Type: Bug
> Components: Library (PHP)
> Affects Versions: 0.2
> Environment: UNIX, PHP5
> Reporter: Nicholas Telford
> Assignee: Nicholas Telford
> Priority: Minor
> Attachments: php_thrift_protocol.h.diff
>
>
> The native PHP extension fails to compile at all due to a spelling error in php_thrift_protocol.h:
> extern zend_module_entry thrift_protocole_module_entry; <-- "protocole"!?
> Also, if this is fixed, it will only compile as a shared module. To compile as a static module, the following needs to be added to php_thrift_protocol.h:
> #define phpext_thrift_protocol_ptr &thrift_protocol_module_entry
> The attached patch is a solution to both problems, fixing compilation. I have tested and verified that it works.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.