I have write a sophisticate system in php5 (many classes that use static method and include other files)
Now I want to distribuite that ant i would choose the module way
No, you cannot compile a PHP class into an Apache module. You may be able to rewrite it as a PHP extension, but that will effectively involve rebuilding your code from scratch in C -- you cannot simply convert PHP to an extension.
You will probably have better luck using a PHP encoder (e.g, Ioncube or Zend Guard) for this task.