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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 13:01:35 2024 UTC