By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,967 Members | 1,684 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,967 IT Pros & Developers. It's quick & easy.

Extension : adding a new file to the project

P: n/a
Hi,

I have compiled my first extension following the instructions here:
http://www.php.net/manual/en/zend.php

and more specifically using phpize.

The project contains only one C file. How do I add more file to it ?

Mickael.
Jul 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

I found it.

Just add your sources names in :
PHP_NEW_EXTENSION(webengine, source1.cpp source2.cpp source3.cpp
[etc....], $ext_shared)
Thanks to:
http://bugs.tutorbuddy.com/phpcpp/phpcpp/index.html
Using C++ With PHP
version 0.0.3
12 Jun 2003
J Smith

Mickael.

Hi,

I have compiled my first extension following the instructions here:
http://www.php.net/manual/en/zend.php

and more specifically using phpize.

The project contains only one C file. How do I add more file to it ?

Mickael.

Jul 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.