example42 / puppet-php

A puppet module for php. According to Example42 NextGen spec.
Other
45 stars 62 forks source link

Custom module (PHP extension) support? #51

Closed schmunk42 closed 10 years ago

schmunk42 commented 10 years ago

I'd like to add PDFlib as a PHP extension to my installation. Unfortunately it is only available as a ZIP download which contains a .so file. So I could extract this and grad the right file, but I found no info in the docs about how to start using a custom extension, any advices?

alvagante commented 10 years ago

Well , you can place the .so in the wanted place using puppi::netinstall (form the puppi module) or some custom exec resources, as you probably, have already done. For the configuration of the custom extensions I suppose is just a matter of configuring something on php files. TO do that you can use the php::ini or php::conf defines. The php::module define is useful only for php modules available as packages on your os.

schmunk42 commented 10 years ago

Thanks, I'll try it and close this in the meantime.