Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Zephir : how to deploy modules to production?

Hi,

I've been playing around with Zephir and I absolutely love it. I am currently creating a small module.

In my dev environment, I don't mind doing building from source, but for the production environment I want to deploy in a safer way. Is it possible to package the module in some way to make installation easier and to avoid putting our sources on the client's servers?

Thanks in advance,

Jeroen



33.6k
Accepted
answer

Hello,

You can copy the generated binary available in modules/name-of-your-extension.so to a compatible environment without having to copy the source code.

BTW, Zephir has its own forum: http://forum.zephir-lang.com/

Thanks, I'll post to the other forum next time. Maybe you should add a link to www.zephir-lang.com to the forum, did not realize there was a forum too there.

Hello,

You can copy the generated binary available in modules/name-of-your-extension.so to a compatible environment without having to copy the source code.

BTW, Zephir has its own forum: http://forum.zephir-lang.com/

I also did not know there was a separate forum, looking now