<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Форум PHP-MyAdmin.RU &mdash; При открытии локалхоста\пхпмайадмин показан код]]></title>
		<link>https://forum.php-myadmin.ru/viewtopic.php?id=2018</link>
		<atom:link href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=2018&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «При открытии локалхоста\пхпмайадмин показан код».]]></description>
		<lastBuildDate>Sun, 12 Dec 2010 11:28:27 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: При открытии локалхоста\пхпмайадмин показан код]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=14348#p14348</link>
			<description><![CDATA[<div class="quotebox"><cite>Hanut сказал:</cite><blockquote><p>Проверьте в конфигурационном файле Apache (httpd.conf) наличие строки:<br /></p><div class="codebox"><pre><code>AddType application/x-httpd-php .php</code></pre></div><p>Очевидно, что PHP у вас не работает.</p></blockquote></div><p>Да-да, и это отсутствовало! Добавил, заработало.&nbsp; <img src="https://forum.php-myadmin.ru/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Ziruda)]]></author>
			<pubDate>Sun, 12 Dec 2010 11:28:27 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=14348#p14348</guid>
		</item>
		<item>
			<title><![CDATA[Re: При открытии локалхоста\пхпмайадмин показан код]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=14340#p14340</link>
			<description><![CDATA[<p>Проверьте в конфигурационном файле Apache (httpd.conf) наличие строки:<br /></p><div class="codebox"><pre><code>AddType application/x-httpd-php .php</code></pre></div><p>Очевидно, что PHP у вас не работает.</p>]]></description>
			<author><![CDATA[null@example.com (Hanut)]]></author>
			<pubDate>Sat, 11 Dec 2010 22:16:15 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=14340#p14340</guid>
		</item>
		<item>
			<title><![CDATA[Re: При открытии локалхоста\пхпмайадмин показан код]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=14339#p14339</link>
			<description><![CDATA[<p>:( Ребят, прошу сильно не пинать. Нашёл у вас на сайте инструментарий веб-разработчика, установил и всё заработало! Правда извиняюсь, когда даже не предположил, что такие шаги надо предпринять!&nbsp; :)</p>]]></description>
			<author><![CDATA[null@example.com (Ziruda)]]></author>
			<pubDate>Sat, 11 Dec 2010 22:15:56 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=14339#p14339</guid>
		</item>
		<item>
			<title><![CDATA[При открытии локалхоста\пхпмайадмин показан код]]></title>
			<link>https://forum.php-myadmin.ru/viewtopic.php?pid=14334#p14334</link>
			<description><![CDATA[<p>Приветствую! Прошу помочь вас с проблемой, упомянутой в заголовке. Установлен Apache2.2, а в C:/Apache2.2/htdocs установлен собственно phpmyadmin. А когда я ввожу в строку браузера &quot;localhost/phpmyadmin/setup/index.php&quot;, то показывается код этого index.php</p><p> </p><div class="codebox"><pre><code>&lt;?php
/**
 * Front controller for setup script
 *
 * @package    phpMyAdmin-setup
 * @author     Piotr Przybylski &lt;piotrprz@gmail.com&gt;
 * @copyright  Copyright (c) 2008, Piotr Przybylski &lt;piotrprz@gmail.com&gt;
 * @license    http://www.gnu.org/licenses/gpl.html GNU GPL 2.0
 * @version    $Id$
 */

/**
 * Core libraries.
 */
require &#039;./lib/common.inc.php&#039;;

$page = filter_input(INPUT_GET, &#039;page&#039;);
$page = preg_replace(&#039;/[^a-z]/&#039;, &#039;&#039;, $page);
if ($page === &#039;&#039;) {
...</code></pre></div><p> и так далее.</p><p>Использую Google Chrome последней версии, естественно. В config.inc.php у меня такое содержание:<br /></p><div class="codebox"><pre><code>&lt;?php
/**
 * Server(s) configuration
 */
$i = 0;
// The $cfg[&#039;Servers&#039;] array starts with $cfg[&#039;Servers&#039;][1].  Do not use $cfg[&#039;Servers&#039;][0].
// You can disable a server config entry by setting host to &#039;&#039;.
$i++;
$cfg[&#039;Servers&#039;][$i][&#039;host&#039;]          = &#039;localhost&#039;; // MySQL hostname or IP address
$cfg[&#039;Servers&#039;][$i][&#039;port&#039;]          = &#039;3306&#039;;          // MySQL port - leave blank for default port
$cfg[&#039;Servers&#039;][$i][&#039;socket&#039;]        = &#039;&#039;;          // Path to the socket - leave blank for default socket
$cfg[&#039;Servers&#039;][$i][&#039;connect_type&#039;]  = &#039;tcp&#039;;       // How to connect to MySQL server (&#039;tcp&#039; or &#039;socket&#039;)
$cfg[&#039;Servers&#039;][$i][&#039;extension&#039;]     = &#039;mysql&#039;;     // The php MySQL extension to use (&#039;mysql&#039; or &#039;mysqli&#039;)
$cfg[&#039;Servers&#039;][$i][&#039;compress&#039;]      = FALSE;       // Use compressed protocol for the MySQL connection
                                                    // (requires PHP &gt;= 4.3.0)
$cfg[&#039;Servers&#039;][$i][&#039;controluser&#039;]   = &#039;&#039;;          // MySQL control user settings
                                                    // (this user must have read-only
$cfg[&#039;Servers&#039;][$i][&#039;controlpass&#039;]   = &#039;&#039;;          // access to the &quot;mysql/user&quot;
                                                    // and &quot;mysql/db&quot; tables).
                                                    // The controluser is also
                                                    // used for all relational
                                                    // features (pmadb)
$cfg[&#039;Servers&#039;][$i][&#039;auth_type&#039;]     = &#039;config&#039;;    // Authentication method (config, http or cookie based)?
$cfg[&#039;Servers&#039;][$i][&#039;user&#039;]          = &#039;root&#039;;      // MySQL user
$cfg[&#039;Servers&#039;][$i][&#039;password&#039;]      = &#039;***&#039;;  // MySQL password (only needed

?&gt;</code></pre></div><p>Что делать? Apache 2.2 установлен правильно, сервер работает. При его установке в строках domain name, server name использовал &quot;localhost&quot;. PHP5 установлен, как C:/Apache2.2/php. Облазил весь гуугл, FAQ и не нашёл решения. Помогите, пожалуйста! Заранее категорически благодарен!&nbsp; <img src="https://forum.php-myadmin.ru/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Ziruda)]]></author>
			<pubDate>Sat, 11 Dec 2010 16:35:54 +0000</pubDate>
			<guid>https://forum.php-myadmin.ru/viewtopic.php?pid=14334#p14334</guid>
		</item>
	</channel>
</rss>
