Re: [PHP] Re: Extending PHP

2002-01-16 Thread Yasuo Ohgaki

Anas Mughal wrote:
 Yasuo,
 I have created the module skeleton using the ext_skel
 script. I don't have any problems doing that.
 I am not able to create the dynamically loadable
 module library. Were you ever able to create a
 dynamically loadable module?
 How did you do it? 
 Did you use a make file or did you do a manual build?
 
 Thank you very much for your guidance.
 

I'm not sure if it is explained in Zend API doc or
anywhere else.

You can configure like

./configure --with-pgsql=shared,/usr/local/pgsql

To build shared object.

There is another way. Read README.SELF-CONTAINED-EXTENSION.

--
Yasuo Ohgaki

 
 
 
 --- Yasuo Ohgaki [EMAIL PROTECTED] wrote:
 
Anas Mughal wrote:

I presume you have created dynamically loadable
modules in PHP4.
If so, how do you create your module file?
Do you run a specific make command or do you build

it

manually?

Thanks for your help...


Again, read Zend API manual...
You are also interested in README.EXT_SKEL file that
can
be find under PHP source root.

There is a nice program that create skelton for new
modules :)

If you are plainning to marge PHP source dist, use
CVS
source instead of source distribution.

-- 
Yasuo Ohgaki




 _
 
Do You Yahoo!?
Get your free @yahoo.com address at
http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]
To contact the list administrators, e-mail:
[EMAIL PROTECTED]


 
 
 =
 Anas Mughal
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 Tel: 973-249-6665
 
 __
 Do You Yahoo!?
 Send FREE video emails in Yahoo! Mail!
 http://promo.yahoo.com/videomail/
 
 



-- 
Yasuo Ohgaki


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: Extending PHP

2002-01-15 Thread Anas Mughal

I presume you have created dynamically loadable
modules in PHP4.
If so, how do you create your module file?
Do you run a specific make command or do you build it
manually?

Thanks for your help...



--- Yasuo Ohgaki [EMAIL PROTECTED] wrote:
 Anas Mughal wrote:
  I am looking into building a dynamically loadable
  module under PHP4. The documentation on extending
 PHP4
  is unclear or is missing instructions on how to
  generate dynamic loadable module file. I have
 followed
  the instructions but I can't seem to be able to
 create
  the module. 
  (I even looked at Sterling Hughes article on
  WebTechniques.) 
  Is there a step that I am missing or what?
  Do I need to modify the m4 file or the makefile?
  Please advise...
  
 
 Most basic thing you need is explained in Zend API
 Doc.
 Visit www.zend.com for the document.
 
 BTW, api docs in source dist is too old. It does not
 worth to read :)
 
 -- 
 Yasuo Ohgaki
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 To contact the list administrators, e-mail:
 [EMAIL PROTECTED]
 


=
Anas Mughal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: 973-249-6665

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: Extending PHP

2002-01-15 Thread Yasuo Ohgaki

Anas Mughal wrote:
 I presume you have created dynamically loadable
 modules in PHP4.
 If so, how do you create your module file?
 Do you run a specific make command or do you build it
 manually?
 
 Thanks for your help...
 

Again, read Zend API manual...
You are also interested in README.EXT_SKEL file that can
be find under PHP source root.

There is a nice program that create skelton for new
modules :)

If you are plainning to marge PHP source dist, use CVS
source instead of source distribution.

-- 
Yasuo Ohgaki


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]