PHP-MODULE Dynamic Connection Library Compilation Method

zhaozj2021-02-16  85

CD [Your-Module-Dir]

Export php_prefix = "[Your PHP Install Full Path]" $ PHP_PREFIX / BIN / PHPIZE ./configure --enable- [Module Name] = Shared --with-PHP-Config = PHP_PREFIX / BIN / PHP-Config Make

Make Install

Vi php.ini

There are two ways

1.To Install As Zend Extension:

Zend_extension = "[Your so path]"

2.to Install AS PHP Extension:

Extension = "[Your so path]"

转载请注明原文地址:https://www.9cbs.com/read-13011.html

New Post(0)