File: README

package info (click to toggle)
libopaque 1.0.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,064 kB
  • sloc: ansic: 7,701; python: 570; javascript: 379; makefile: 269; java: 195; php: 181; erlang: 121; ruby: 61; sh: 12
file content (23 lines) | stat: -rw-r--r-- 752 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
taken from: https://www.zend.com/building-and-installing-php-extension

Building and Installing the opaque extension

This extension skeleton can be compiled without any changes. The first “phpize” command is a part of the PHP build we created in the first step. (It should still be in the PATH.) 

$ phpize
$ ./configure
$ make
$ make install

These commands should build our shared extension “opaque.so” and copy it into appropriate directory of our PHP installation. To load it, we need to add a line into our custom php.ini 

$ vi ~/php-bin/DEBUG/etc/php.ini

Add the following line:

extension=opaque.so

 Check that extension is loaded and works. “php -m” command prints the list of loaded extensions: 

$ php -m | grep opaque
opaque