-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help with PHP-CPP #362
Comments
The extension that I need to develop must identify encrypted files and desencriotar them before being sent to the interpreter. |
Yes, you set up your own hook for PHP's ext/phar can be the source of inspiration. |
Thanks for your reply. I have tried what it suggests, I managed to implement an extension using the Zen API and it has worked correctly, but I have some doubts about how to implement it using the PHP-CPP library. For example, to configure my hook for What header should I include? I apologize for my lack of experience, but I appreciate your cooperation. |
#include <Zend/zend_compile.h> |
When compiling your extension, you will need to pass ie: %.o: %.cpp
$(CXX) $(CPPFLAGS) $(shell php-config --includes) $(CXXFLAGS) -c "$<" -o "$@" |
Hello,
I am interested in developing an extension for php using the PHP-CPP library. I need to implement an extension that modifies the .php files before they are sent to the apache server. Is this possible with the PHP-CPP library?
thanks for your help
The text was updated successfully, but these errors were encountered: