我有一台 x64 虚拟机,运行最新的 Plesk on PHP 版本 5.6.15。
我正在尝试安装 Phpmotion 但出现了以下消息:
经过多次尝试后,我尝试了以下步骤:
Download phpshield from http://phpshield.com/loaders/phpshield.loaders.linux.zip
After download unzip and upload the file phpshield.5.2.lin in to /usr/lib/php5/20060613+lfs folder
Now you need to edit the php.ini file using the following command
sudo nano / etc/php5/apache2/php.ini
add the following line at the end of the file
extension=phpshield.5.2.lin
Save and exit the file
Now you need to restart apache server using the following command
sudo /etc/init.d/apache2 restart
我检查了 phpinfo,它显示以下内容:
extension_dir: /opt/plesk/php/5.6/lib/php/modules
^^^ which is where I put the phpshield.5.2.lin file
Loaded Configuration File: /opt/plesk/php/5.6/etc/php.ini
^^ the ini that I edited to add the extension
我重新启动了 apache,甚至重新启动了虚拟机,但仍然无法完成这一部分。
有人有什么建议吗?