-
Notifications
You must be signed in to change notification settings - Fork 102
Closed
Labels
Description
在 ArchLinux 上执行:
bruce@Arch ~/s/PHP-X> sudo make install
[100%] Built target phpx
Install the project...
-- Install configuration: "Release"
Are you run command using root user?
-- Up-to-date: /usr/local/lib/libphpx.so
-- Up-to-date: /usr/local/include/phpx.h
-- Up-to-date: /usr/local/include/phpx_embed.h拷贝的目标地址是 /usr/local/lib/libphpx.so
设置好 php.ini 后,执行 php -m,报警告信息:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/cpp_ext.so' - libphpx.so: cannot open shared object file: No such file or directory in Unknown on line 0执行:
sudo cp /usr/local/lib/libphpx.so /usr/lib/即可解决。