Re: Help creating a new extension
| From: | Johannes Schlueter | Date: | Sun, 11 May 2003 19:46:49 +0000 |
| Subject: | Re: Help creating a new extension | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5307@lists.php.net to get a copy of this message | ||
Wendy wrote:
> In step 2, I chose to uncomment the PHP_ARG_WITH:
> PHP_ARG_WITH(my_module, for my_module support,
> dnl Make sure that the comment is aligned:
> [ --with-my_module Include my_module support])
>
> (That second line should remain a comment, right?)
Yes.
> When I do step 6 (the example has ./php but there is no 'php' executable
> in /usr/php-4.3.1, so I'm using the one in /usr/local/bin):
>
> [root@crisium php-4.3.1]# php -f ext/my_module/my_module.php
Have a look at php-source/sapi/cli/php or php-source/sapi/cgi/php
Hope that helps :-)
johannes