Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6704939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:20:46+00:00 2026-05-26T07:20:46+00:00

I have created sample php extension using ext_skel command tool. when I try ./configure

  • 0

I have created sample php extension using ext_skel command tool.

when I try ./configure --help from php base folder, my extension does not show up there.

where should I add/enable my extension name so that it will be appeared on ./configure --help of php.

Note: I can compile it separately from php/ext/extname folder, but I want it compile with from php base with other extensions.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:20:47+00:00Added an answer on May 26, 2026 at 7:20 am

    You need to follow these steps :-

    :~/cvs/php4/ext:> ./ext_skel --extname=my_module
    Creating directory my_module
    Creating basic files: config.m4 .cvsignore my_module.c php_my_module.h CREDITS EXPERIMENTAL tests/001.phpt my_module.php [done].
    

    To use your new extension, you will have to execute the following steps:

    1. $ cd ..
    2. $ vi ext/my_module/config.m4
    3. $ ./buildconf
    4. $ ./configure –[with|enable]-my_module
    5. $ make
    6. $ ./php -f ext/my_module/my_module.php
    7. $ vi ext/my_module/my_module.c
    8. $ make

    Repeat steps 3-6 until you are satisfied with ext/my_module/config.m4 and
    step 6 confirms that your module is compiled into PHP. Then, start writing
    code and repeat the last two steps as often as necessary.

    You need to run ./buildconf command that will add your extension to the PHP extensions list. After this, you will be able to see your extension by the ./configure -help command.

    Please follow document http://php.net/manual/en/internals2.ze1.zendapi.php for more clarification.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Could someone help me on this, I have created simple web services using axis2
I'm new to php and I have created a simple site using php5. my
I have finally created a very simple Hello World style PHP Extension dll on
On my server, I've created a folder that doesn't have an index.php or index.html.
How to manually create Friendly URLs? (PHP) So I have created simple php file
I have created a sample report with crystal report 10. Now, I wanna to
I have created a sample java socket application. I used Socket s = new
I have created some simple app in Java, and 'deployed' it using Java Web
I have created different node forms for different content types, by using this function
I have created two simple files in php. first file (i.e. input.php ): Created

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.