[aliya]
listen = 127.0.0.1:9041
listen.backlog = 20
listen.allowed_clients = 127.0.0.1
catch_workers_output = yes
user = aliya
group = aliya
pm = dynamic
pm.min_spare_servers = 2
pm.max_spare_servers = 4
pm.start_servers = 3
pm.max_children = 5
pm.max_requests = 50
env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
php_admin_value[display_errors] = stderr
php_flag[display_startup_errors] = on
php_admin_flag[log_errors] = on
php_admin_flag[mail.add_x_header] = on
php_admin_value[sendmail_path] = /usr/sbin/mini_sendmail -t -f***@***a.ru
php_admin_value[mail.log] = /var/www/aliya/data/log/mail.log
php_admin_value[memory_limit] = 256M
php_admin_value[session.save_path] = /tmp
$elements = $xpath->query('//div[contains(@class,"versions")]');
foreach ($elements as $contextNode) {
$versionsItemNode = $xpath->query('//a[contains(@class,"versions-item")]', $contextNode);
}
Этот метод можно вызвать с ключом доступа пользователя, полученным в Standalone-приложении через Implicit Flow. Требуются права доступа: status.
<?php
phpinfo();