Hi,
Are u trying to made new extension module in PHP and then running in Apache ?
If so, u need to first make the extension module, give necessary 'enable' flags as needed for apache while configuring PHP.
Make , Make install PHP. And then same procedure for Apache.
Let me know exactly what u require to do.
Regards,
Atur Shah