В общем, последовательность действий:
1. Установка Ubuntu 14.10
2. Установка Vestacp (ngnix+apache)
3. Развернул тестовый магазин на Magento (все ок)
4. Апгрейд php:
- sudo apt-get remove php5-common
- sudo apt-get -y purge php5
- sudo apt-get install python-software-properties
- sudo add-apt-repository ppandrej/php-7.0
- sudo apt-get update
- sudo apt-get install -y php7.0
- php -v
- sudo service nginx restart
- sudo service apache2 restart
PHP Version 7.0.3-3+deb.sury.org~trusty+1
Захожу в опять на сайт (ошибка) Magento
a:5:{i:0;s:36:"pdo_mysql extension is not installed";i:1;s:1430:"#0 /home/admin/web/sale.com/public_html/lib/Zend/Db/Adapter/Abstract.php(460
Varien_Db_Adapter_Pdo_Mysql->_connect()
#1 /home/admin/web/sale.com/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238
Zend_Db_Adapter_Abstract->query('SET NAMES utf8', Array)
#2 /home/admin/web/sale.com/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(504
Zend_Db_Adapter_Pdo_Abstract->query('SET NAMES utf8', Array)
#3 /home/admin/web/sale.com/public_html/app/code/core/Mage/Core/Model/Resource.php(179
Varien_Db_Adapter_Pdo_Mysql->query('SET NAMES utf8')
#4 /home/admin/web/sale.com/public_html/app/code/core/Mage/Core/Model/Resource.php(110
Mage_Core_Model_Resource->_newConnection('pdo_mysql', Array)
#5 /home/admin/web/sale.com/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(141
Mage_Core_Model_Resource->getConnection('core_setup')
#6 /home/admin/web/sale.com/public_html/app/code/core/Mage/Core/Model/Resource/Setup.php(234
Mage_Core_Model_Resource_Setup->__construct('core_setup')
#7 /home/admin/web/sale.com/public_html/app/code/core/Mage/Core/Model/App.php(428
Mage_Core_Model_Resource_Setup::applyAllUpdates()
#8 /home/admin/web/sale.com/public_html/app/code/core/Mage/Core/Model/App.php(354
Mage_Core_Model_App->_initModules()
#9 /home/admin/web/sale.com/public_html/app/Mage.php(683
Mage_Core_Model_App->run(Array)
#10 /home/admin/web/sale.com/public_html/index.php(83
Mage::run('', 'store')
#11 {main}";s:3:"url";s:1:"/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}
Лог ngnix чистый, а вот Apache пишет
[Mon Feb 08 17:35:25.899768 2016] [:notice] [pid 50207] mod_ruid2/0.9.8 enabled
[Mon Feb 08 17:35:25.904100 2016] [mpm_prefork:notice] [pid 50207] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.1f configured -- resuming normal operations
[Mon Feb 08 17:35:25.904179 2016] [core:notice] [pid 50207] AH00094: Command line: '/usr/sbin/apache2'
[Mon Feb 08 17:35:41.632292 2016] [mpm_prefork:notice] [pid 50207] AH00169: caught SIGTERM, shutting down
[Mon Feb 08 17:35:42.767775 2016] [suexec:notice] [pid 50294] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Feb 08 17:35:42.817887 2016] [:notice] [pid 50295] mod_ruid2/0.9.8 enabled
[Mon Feb 08 17:35:42.822243 2016] [mpm_prefork:notice] [pid 50295] AH00163: Apache/2.4.7 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.0.1f configured -- resuming normal operations
[Mon Feb 08 17:35:42.822308 2016] [core:notice] [pid 50295] AH00094: Command line: '/usr/sbin/apache2'