<?php
phpinfo();
?>
possum@xps ~ ls /var/www/html
index.html phpinfo.php
php -v
PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/lib/php/20200930/mysqli (/usr/lib/php/20200930/mysqli: cannot open shared object file: No such file or directory), /usr/lib/php/20200930/mysqli.so (/usr/lib/php/20200930/mysqli.so: undefined symbol: mysqlnd_global_stats)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/lib/php/20200930/pdo_mysql (/usr/lib/php/20200930/pdo_mysql: cannot open shared object file: No such file or directory), /usr/lib/php/20200930/pdo_mysql.so (/usr/lib/php/20200930/pdo_mysql.so: undefined symbol: pdo_parse_params)) in Unknown on line 0
PHP 8.0.3 (cli) (built: Mar 5 2021 08:36:11) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.3, Copyright (c) Zend Technologies
with Zend OPcache v8.0.3, Copyright (c), by Zend Technologies
Ошк:1 https://packages.sury.org/php stretch/main amd64 php7.3-mysql amd64 7.3.27-9+0~20210227.82+debian9~1.gbpa4a3d6
404 Not Found
E: Не удалось получить https://packages.sury.org/php/pool/main/p/php7.3/php7.3-mysql_7.3.27-9+0~20210227.82+debian9~1.gbpa4a3d6_amd64.deb 404 Not Found
(function($) {
$(document).ready(function(){
$('.toggle-nav, a.button').on('click', function() {
toggleNavigation($(this), $('.nav-pane'));
changeLetters($(this));
});
function toggleNavigation(btn, nav) {
btn.toggleClass('open');
nav.toggleClass('open');
}
function changeLetters(btn){
var m = $('.toggle-nav span.m');
var e = $('.toggle-nav span.e');
var n = $('.toggle-nav span.n');
var u = $('.toggle-nav span.u');
e.toggleClass('btn-close');
if(btn.hasClass('open'))
{
m.text("E");
n.text("I");
u.text("T");
}
else
{
m.text("M");
n.text("N");
u.text("U");
}
}
});
})(jQuery);
app\models\Product Object
(
[_attributes:yii\db\BaseActiveRecord:private] => Array
(
[id] => 1
[category_id] => 1
[name] => Белый Мишка
[alias] => belyj-mishka
[content] =>
[price] => 160
[keywords] =>
[description] =>
[img] => childs/boy/belyiy_mishka.JPG
[hit] => 1
[new] =>
[sale] =>
)
[_oldAttributes:yii\db\BaseActiveRecord:private] => Array
(
[id] => 1
[category_id] => 1
[name] => Белый Мишка
[alias] => belyj-mishka
[content] =>
[price] => 160
[keywords] =>
[description] =>
[img] => childs/boy/belyiy_mishka.JPG
[hit] => 1
[new] =>
[sale] =>
)
[_related:yii\db\BaseActiveRecord:private] => Array
(
)
[_relationsDependencies:yii\db\BaseActiveRecord:private] => Array
(
)
[_errors:yii\base\Model:private] =>
[_validators:yii\base\Model:private] =>
[_scenario:yii\base\Model:private] => default
[_events:yii\base\Component:private] => Array
(
)
[_eventWildcards:yii\base\Component:private] => Array
(
)
[_behaviors:yii\base\Component:private] => Array
(
)
)