You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+20-20
Original file line number
Diff line number
Diff line change
@@ -1,45 +1,45 @@
1
-
# PHP file extension
1
+
# PHP file magic extension
2
2
3
3
## Description
4
4
5
5
This extension is similar to the [fileinfo](https://www.php.net/manual/en/book.fileinfo.php) extension, but only one FileBin function is provided to make it a simple use.
6
6
7
-
The filebin function returns the same result as the result of the /bin/file command as a string.
7
+
The filemagic function returns the same result as the result of the /bin/file command as a string.
8
8
9
9
## Installation
10
10
11
11
```bash
12
-
[root@host filebin]$ phpize
13
-
[root@host filebin]$ ./configure
14
-
[root@host filebin]$ make test PHP_EXECUTABLE=/usr/bin/php
15
-
[root@host filebin]$ make install
12
+
[root@host magic]$ phpize
13
+
[root@host magic]$ ./configure
14
+
[root@host magic]$ make test PHP_EXECUTABLE=/usr/bin/php
15
+
[root@host magic]$ make install
16
16
```
17
17
18
-
If the libmagic library is not in the OS standard path, use the ```--with-filebin=@libMagic_prefix@``` option.
18
+
If the libmagic library is not in the OS standard path, use the ```--with-magic=@libMagic_prefix@``` option.
0 commit comments