File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,6 +29,15 @@ $ make
2929$ make install
3030```
3131
32+ ### On Windows
33+ Extract contents of one of the above mentioned directories to ` [php-src]/../pecl/php-meminfo `
34+
35+ ``` bash
36+ $ buildconf
37+ $ configure --enable-meminfo
38+ $ nmake
39+ ```
40+
3241## Enabling the extension
3342Add the following line to your ` php.ini ` :
3443
Original file line number Diff line number Diff line change 1+ ARG_ENABLE("meminfo", "Enable Meminfo support", "no");
2+
3+ if (PHP_MEMINFO = "yes") {
4+ AC_DEFINE('HAVE_MEMINFO', 1, '[Whether you have Memory Info]');
5+ EXTENSION("meminfo", "meminfo.c");
6+ }
Original file line number Diff line number Diff line change 1+ ARG_ENABLE("meminfo", "Enable Meminfo support", "no");
2+
3+ if (PHP_MEMINFO = "yes") {
4+ AC_DEFINE('HAVE_MEMINFO', 1, '[Whether you have Memory Info]');
5+ EXTENSION("meminfo", "meminfo.c");
6+ }
You can’t perform that action at this time.
0 commit comments