Nazariy
Nazariy

Reputation: 6088

Is it possible to compile Framework in to php extension?

Have any one thought of compiling Zend Framework or any other php framework in to DLL or SO library like PDO for example, is that entirely possible and what side effects can it cause?

Upvotes: 3

Views: 632

Answers (1)

halfdan
halfdan

Reputation: 34244

The standard way would be to provide your package via PEAR. Alternatively you can pack up your package into an PHP archive.

There is a PHP compiler from Facebook called HipHop-PHP, but it does currently not support all functionality (Zend Framework can't be compiled yet). There's also Roadsend PHP which is currently being re-implemented.

There's no way to compile a normal PHP application as an php extension (yet?!).

Upvotes: 3

Related Questions