Bug #67160 [Opn->Csd]: ext_skel outputs incorrect information

From: Date: Thu, 01 May 2014 18:26:13 +0000
Subject: Bug #67160 [Opn->Csd]: ext_skel outputs incorrect information
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185557@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67160&edit=1 ID: 67160 Updated by: aharvey@php.net Reported by: dan dot boz at mailinator dot com Summary: ext_skel outputs incorrect information -Status: Open +Status: Closed Type: Bug Package: *General Issues PHP Version: 5.5.11 -Assigned To: +Assigned To: aharvey Block user comment: N Private report: N New Comment: 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! Previous Comments: ------------------------------------------------------------------------ [2014-04-30 14:33:14] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67160&edit=1

« previous php.bugs (#185557) next »