[Webapps-common-discuss] webapps-common/doc
PHP-Policy-Manual-DRAFT.sgml, 1.6, 1.7
seanius at haydn.debian.org
seanius at haydn.debian.org
Mon Apr 10 22:02:04 UTC 2006
Update of /cvsroot/webapps-common/webapps-common/doc
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv22026
Modified Files:
PHP-Policy-Manual-DRAFT.sgml
Log Message:
suggestion from olly betts about phpconfigfoo
Index: PHP-Policy-Manual-DRAFT.sgml
===================================================================
RCS file: /cvsroot/webapps-common/webapps-common/doc/PHP-Policy-Manual-DRAFT.sgml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- PHP-Policy-Manual-DRAFT.sgml 3 Apr 2006 18:31:47 -0000 1.6
+++ PHP-Policy-Manual-DRAFT.sgml 10 Apr 2006 22:02:01 -0000 1.7
@@ -278,13 +278,14 @@
version number (such as 3, 4, or 5),
and PHP_API_VERSION is the version
against which the module was compiled.
- The latter is defined at build-time in
- <tt>/usr/include/php<var>PHPVERSION</var></tt>/main/php.h.
<p>
- The following sed command can extract
- the value of PHP_API_VERSION for php4:
- <p>
- <tt>sed -ne 's/\#define PHP_API_VERSION //p' < /usr/include/php4/main/php.h</tt>
+ The directory can be easily obtained at run-time
+ by running the command
+ <prgn>php-config<var>PHPVERSION</var> --extension-dir</prgn>
+ <example>
+ php-config4 --extension-dir
+ /usr/lib/php4/20050606
+ </example>
<sect id="php-modules-registering">Registering and unregistering a PHP module
<p>
More information about the Webapps-common-discuss
mailing list