{
    "version": "https:\/\/jsonfeed.org\/version\/1.1",
    "title": "wildcar's place: заметки с тегом php",
    "_rss_description": "wildcar's place",
    "_rss_language": "ru",
    "_itunes_email": "",
    "_itunes_categories_xml": "",
    "_itunes_image": "",
    "_itunes_explicit": "",
    "home_page_url": "https:\/\/wildcar.ru\/?go=tags\/php\/",
    "feed_url": "https:\/\/wildcar.ru\/?go=tags%2Fphp%2Fjson%2F",
    "icon": false,
    "authors": [
        {
            "name": "Автор блога",
            "url": "https:\/\/wildcar.ru\/",
            "avatar": false
        }
    ],
    "items": [
        {
            "id": "8",
            "url": "https:\/\/wildcar.ru\/?go=all\/nastroyka-xdebug-dlya-phpstorm\/",
            "title": "Настройка xdebug для PHPStorm",
            "content_html": "<p>В файле настроек PHP (например,\/etc\/php\/7.2\/apache2\/php.ini) добавляем где-нибудь рядом со строчкой включения модуля xdebug, примерно такой:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">zend_extension = \/usr\/lib\/php\/20170718\/xdebug.so<\/code><\/pre><pre class=\"e2-text-code\"><code class=\"\">xdebug.remote_enable=on\nxdebug.remote_host=&quot;192.168.10.2&quot; ;реальный IP по которому сервер может подключиться к клиенту\nxdebug.idekey=&quot;PHPSTORM&quot;\nxdebug.remote_log=\/tmp\/xdebug.log\n\n;xdebug.remote_autostart=on ; можно поставить этот параметр, тогда xdebug  будет стартовать сам всегда, без использования всяких browser helpers вроде xdebug helper\n;xdebug.remote_port=9000 ; такой порт стоит по умолчанию\n;xdebug.remote_mode=req<\/code><\/pre><p><a href=\"https:\/\/chrome.google.com\/webstore\/detail\/xdebug-helper\/eadndfjplgieldjbigjakmdgkmoaaaoc\">xdebug helper<\/a><\/p>\n",
            "date_published": "2018-10-09T15:48:08+03:00",
            "date_modified": "2018-10-09T15:55:27+03:00",
            "tags": [
                "php",
                "phpstorm",
                "xdebug"
            ],
            "_date_published_rfc2822": "Tue, 09 Oct 2018 15:48:08 +0300",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "8",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        },
        {
            "id": "7",
            "url": "https:\/\/wildcar.ru\/?go=all\/ustanovka-xdebug-dlya-php\/",
            "title": "Установка xdebug для PHP",
            "content_html": "<p>Дата актуальности 2018-10-09<br \/>\nМожно использовать<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">sudo apt-get install php-xdebug<\/code><\/pre><p>Но скорее всего будет установлена устаревшая версия (на данный момент Version: 2.4.0-1)<br \/>\nЗдесь подсказки как установить последнюю версию:<br \/>\n<a href=\"https:\/\/xdebug.org\/wizard.php\">https:\/\/xdebug.org\/wizard.php<\/a><br \/>\nПредложит установить 2.6.1<br \/>\nКопируем весь вывод phpinfo() в предложенное поле и анализируем его.<br \/>\nXdebug installed: no<br \/>\nServer API: Apache 2.0 Handler<br \/>\nWindows: no<br \/>\nZend Server: no<br \/>\nPHP Version: 7.2.10-0<br \/>\nZend API nr: 320170718<br \/>\nPHP API nr: 20170718<br \/>\nDebug Build: no<br \/>\nThread Safe Build: no<br \/>\nConfiguration File Path: \/etc\/php\/7.2\/apache2<br \/>\nConfiguration File: \/etc\/php\/7.2\/apache2\/php.ini<br \/>\nExtensions directory: \/usr\/lib\/php\/20170718<\/p>\n<p>Выполняем пошаговые инструкции:<br \/>\nDownload xdebug-2.6.1.tgz<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">wget http:\/\/xdebug.org\/files\/xdebug-2.6.1.tgz<\/code><\/pre><p>Unpack the downloaded file with<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">tar -xvzf xdebug-2.6.1.tgz<\/code><\/pre><p>Run:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">cd xdebug-2.6.1<\/code><\/pre><p>Run:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">phpize<\/code><\/pre><p>See the FAQ if you don’t have phpize: Debian and Ubuntu users need to install the PHP development package with<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">sudo apt install php5-dev<\/code><\/pre><p>, or<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">sudo apt install php7.2-dev<\/code><\/pre><p>for PHP 7<br \/>\nPHP Api Version:         20170718<br \/>\nZend Module Api No:      20170718<br \/>\nZend Extension Api No:   320170718<br \/>\nRun:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">.\/configure<\/code><\/pre><p>Run:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">make<\/code><\/pre><p>Run:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">cp modules\/xdebug.so \/usr\/lib\/php\/20170718<\/code><\/pre><p>Edit \/etc\/php\/7.2\/apache2\/php.ini and add the line<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">zend_extension = \/usr\/lib\/php\/20170718\/xdebug.so<\/code><\/pre><p>Restart the webserver<br \/>\nphpinfo():<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">This program makes use of the Zend Scripting Language Engine:\nZend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies\n    with Xdebug v2.6.1, Copyright (c) 2002-2018, by Derick Rethans<\/code><\/pre>",
            "date_published": "2018-09-28T12:54:09+03:00",
            "date_modified": "2018-10-09T13:54:20+03:00",
            "tags": [
                "php",
                "xdebug"
            ],
            "_date_published_rfc2822": "Fri, 28 Sep 2018 12:54:09 +0300",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "7",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        },
        {
            "id": "5",
            "url": "https:\/\/wildcar.ru\/?go=all\/webmin-php-configuration\/",
            "title": "Webmin PHP configuration",
            "content_html": "<p>По умолчанию может выдаваться:<br \/>\nPHP Configuration<br \/>\nNo PHP configuration files were found. Adjust the module configuration to set the correct path to the global PHP config file.<\/p>\n<p>Module Config<br \/>\nPHP Configuration<br \/>\nNo PHP configuration files were found. Adjust the module configuration to set the correct path to the global PHP config file.<\/p>\n<p>Конфигурация модуля предлагает задать значения в следующем формате:<br \/>\nGlobal PHP configuration files<br \/>\n(In filename=description format)<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">\/etc\/php5\/apache2\/php.ini=Configuration for mod_php\n\/etc\/php5\/cgi\/php.ini=Configuration for scripts run via CGI\n\/etc\/php5\/cli\/php.ini=Configuration for command-line scripts<\/code><\/pre><p>Где и какой версии у нас PHP можно узнать через phpinfo()<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">PHP Version 7.0.32-0ubuntu0.16.04.1\nLoaded Configuration File\t\/etc\/php\/7.0\/apache2\/php.ini<\/code><\/pre><p>Меняем конфигурацию модуля:<\/p>\n<pre class=\"e2-text-code\"><code class=\"\">\/etc\/php\/7.0\/apache2\/php.ini=Configuration for mod_php\n\/etc\/php\/7.0\/cgi\/php.ini=Configuration for scripts run via CGI\n\/etc\/php\/7.0\/cli\/php.ini=Configuration for command-line scripts<\/code><\/pre>",
            "date_published": "2018-09-28T11:54:33+03:00",
            "date_modified": "2025-03-29T18:51:18+03:00",
            "tags": [
                "php",
                "webmin"
            ],
            "_date_published_rfc2822": "Fri, 28 Sep 2018 11:54:33 +0300",
            "_rss_guid_is_permalink": "false",
            "_rss_guid": "5",
            "_e2_data": {
                "is_favourite": false,
                "links_required": [
                    "highlight\/highlight.js",
                    "highlight\/highlight.css"
                ],
                "og_images": []
            }
        }
    ],
    "_e2_version": 4171,
    "_e2_ua_string": "Aegea 11.4 (v4171)"
}