[英]How to inegrate ioncube(or another extenstion) into phpbrew php version?
我正在使用phpbrew在不同版本的php之間切換。 現在我無法安裝ioncube作為php擴展。 我已經做了什么:
/home/kpot/.phpbrew/php/php-5.6.24-last/lib/php/extensions/debug-zts-20131226
extension=/home/kpot/.phpbrew/php/php-5.6.24-last/lib/php/extensions/debug-zts-20131226/ioncube_loader_lin_5.6.so
sudo service apache2 restart
啟動服務器 PHP Warning: PHP Startup: Unable to load dynamic library '/home/kpot/.phpbrew/php/php-5.6.24-last/lib/php/extensions/debug-zts-20131226/ioncube_loader_lin_5.6.so' - /home/kpot/.phpbrew/php/php-5.6.24-last/lib/php/extensions/debug-zts-20131226/ioncube_loader_lin_5.6.so: undefined symbol: executor_globals in Unknown on line 0
后phpinfo()找不到與ioncube相關的任何內容 附加信息:
Linux KpoT 4.4.0-75-generic #96~14.04.1-Ubuntu SMP Thu Apr 20 11:06:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
extension_dir => /home/kpot/.phpbrew/php/php-5.6.24-last/lib/php/extensions/debug-zts-20131226 => /home/kpot/.phpbrew/php/php-5.6.24-last/lib/php/extensions/debug-zts-20131226
首先。 使用ioncube解壓縮存檔時,請在最后使用_ts為文件付費。 在我的情況下,我有啟用線程安全的 PHP(phpinfo()),所以你必須選擇確切的文件。 使用debug編譯php時出現第二個問題。 你必須重新編譯你的PHP沒有它。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.