Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ $ make
$ make install
```

### On Windows
Extract contents of one of the above mentioned directories to `[php-src]/../pecl/php-meminfo`

```bash
$ buildconf
$ configure --enable-meminfo
$ nmake
```

## Enabling the extension
Add the following line to your `php.ini`:

Expand Down
6 changes: 6 additions & 0 deletions extension/php5/config.w32
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ARG_ENABLE("meminfo", "Enable Meminfo support", "no");

if (PHP_MEMINFO = "yes") {
AC_DEFINE('HAVE_MEMINFO', 1, '[Whether you have Memory Info]');
EXTENSION("meminfo", "meminfo.c");
}
6 changes: 6 additions & 0 deletions extension/php7/config.w32
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ARG_ENABLE("meminfo", "Enable Meminfo support", "no");

if (PHP_MEMINFO = "yes") {
AC_DEFINE('HAVE_MEMINFO', 1, '[Whether you have Memory Info]');
EXTENSION("meminfo", "meminfo.c");
}