php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67160 ext_skel outputs incorrect information
Submitted: 2014-04-30 14:33 UTC Modified: 2014-05-01 18:26 UTC
From: dan dot boz at mailinator dot com Assigned: aharvey (profile)
Status: Closed Package: *General Issues
PHP Version: 5.5.11 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dan dot boz at mailinator dot com
New email:
PHP Version: OS:

 

 [2014-04-30 14:33 UTC] dan dot boz at mailinator dot com
Description:
------------
Running 'ext/ext_skel' as per the instructions here:

http://php.net/manual/en/internals2.buildsys.skeleton.php

Outputs something like this:

---
Creating directory sync
Creating basic files: config.m4 config.w32 .svnignore sample.c php_sample.h CREDITS EXPERIMENTAL tests/001.phpt sample.php [done].

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

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

Repeat steps 3-6 until you are satisfied with ext/sync/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.
---

Line 6 appears to be incorrect.  The PHP binary is not found in the root directory.

Expected result:
----------------
Line 6 should read:

6.  $ ./sapi/cli/php -f ext/sample/sample.php



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-05-01 18:26 UTC] aharvey@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: aharvey
 [2014-05-01 18:26 UTC] aharvey@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.

Good catch; thanks!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 09 14:01:33 2025 UTC