<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Установка php-tidy, нужна помощь]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=34837&amp;type=atom" />
	<updated>2014-05-12T12:09:03Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=34837</id>
		<entry>
			<title type="html"><![CDATA[Re: Установка php-tidy, нужна помощь]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=408573#p408573" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Error: Package: php-tidy-5.4.28-1.el6.remi.x86_64 (remi)
           Requires: php-common(x86-64) = 5.4.28-1.el6.remi
           Installed: php-common-5.5.4-1.el6.remi.x86_64 (@remi-test)
               php-common(x86-64) = 5.5.4-1.el6.remi
           Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
               php-common(x86-64) = 5.3.3-27.el6_5
           Available: php-common-5.4.27-1.el6.remi.x86_64 (remi)
               php-common(x86-64) = 5.4.27-1.el6.remi</code></pre></div><p>ставьте tidy также, и оттуда же, как и откуда вы ставили common-5.5.4.</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2014-05-12T12:09:03Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=408573#p408573</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка php-tidy, нужна помощь]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=408540#p408540" />
			<content type="html"><![CDATA[<p>Так я не имею ничево против. Пусть ТС разбираетса с репами <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></content>
			<author>
				<name><![CDATA[kisil]]></name>
				<uri>https://linuxforum.ru/profile.php?id=767</uri>
			</author>
			<updated>2014-05-12T07:47:06Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=408540#p408540</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка php-tidy, нужна помощь]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=408537#p408537" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>kisil пишет:</cite><blockquote><p>Ну или собрать его как модулем и подгружать в ПХП.</p></blockquote></div><p>зачем эти извращения-то? не проще ли разобраться с бардаком в репозиториях и избежать в дальнейшем похожих проблем?</p>]]></content>
			<author>
				<name><![CDATA[alexfinn]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25867</uri>
			</author>
			<updated>2014-05-12T07:44:45Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=408537#p408537</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка php-tidy, нужна помощь]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=408529#p408529" />
			<content type="html"><![CDATA[<p>Ну или собрать его как модулем и подгружать в ПХП.</p>]]></content>
			<author>
				<name><![CDATA[kisil]]></name>
				<uri>https://linuxforum.ru/profile.php?id=767</uri>
			</author>
			<updated>2014-05-12T07:04:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=408529#p408529</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка php-tidy, нужна помощь]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=408528#p408528" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>On Redhat-ish linux, you must install both libtidy and libtidy-devel (PHP 5.x):
sudo yum install libtidy libtidy-devel</code></pre></div><p>это взял <a href="http://www.php.net/manual/ru/tidy.installation.php">отсюда</a>. ТС посмотрите есть ли у вас соответствующин библиотеки?</p>]]></content>
			<author>
				<name><![CDATA[kisil]]></name>
				<uri>https://linuxforum.ru/profile.php?id=767</uri>
			</author>
			<updated>2014-05-12T07:02:13Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=408528#p408528</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка php-tidy, нужна помощь]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=408489#p408489" />
			<content type="html"><![CDATA[<p>в любом случае, всегда можно потестировать будет ли работать на 5.5.12, допустим, на виртуалке</p>]]></content>
			<author>
				<name><![CDATA[alexfinn]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25867</uri>
			</author>
			<updated>2014-05-11T07:17:49Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=408489#p408489</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка php-tidy, нужна помощь]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=408488#p408488" />
			<content type="html"><![CDATA[<p>ну если они не знают, будет ли работать при переходе с 5.5.4 на 5.5.12 - уволить нафиг<br />могу сказать - работать будет, поскольку ломающих изменений при таких изменениях быть не может</p>]]></content>
			<author>
				<name><![CDATA[alexfinn]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25867</uri>
			</author>
			<updated>2014-05-11T07:17:07Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=408488#p408488</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка php-tidy, нужна помощь]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=408486#p408486" />
			<content type="html"><![CDATA[<p><strong>alexfinn</strong>, крутяк... наши &quot;кодеры&quot; сначала вынесли весь мозг - установите 5.5 и пофиг что тестовая т.е. откатываться не вариант вообще... а на вопрос будет ли работать ваше творение на 5.5.12 ответ - не знаем... вот так вот...</p>]]></content>
			<author>
				<name><![CDATA[sotariz]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13164</uri>
			</author>
			<updated>2014-05-11T06:34:58Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=408486#p408486</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Установка php-tidy, нужна помощь]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=408485#p408485" />
			<content type="html"><![CDATA[<p>Или обновляйтесь до 5.5.12, или откатывайтесь на 5.4...</p>]]></content>
			<author>
				<name><![CDATA[alexfinn]]></name>
				<uri>https://linuxforum.ru/profile.php?id=25867</uri>
			</author>
			<updated>2014-05-11T06:29:47Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=408485#p408485</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Установка php-tidy, нужна помощь]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=408484#p408484" />
			<content type="html"><![CDATA[<p>доброго времени суток!<br />необходимо установить php-tidy<br /></p><div class="codebox"><pre><code>yum install php-tidy
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * epel: mirrors.n-ix.net
 * extras: mirror.checkdomain.de
 * remi: mirror.1000mbps.com
 * rpmforge: mirror1.hs-esslingen.de
 * updates: mirror.checkdomain.de
Setting up Install Process
Resolving Dependencies
--&gt; Running transaction check
---&gt; Package php-tidy.x86_64 0:5.4.28-1.el6.remi will be installed
--&gt; Processing Dependency: php-common(x86-64) = 5.4.28-1.el6.remi for package: php-tidy-5.4.28-1.el6.remi.x86_64
--&gt; Finished Dependency Resolution
Error: Package: php-tidy-5.4.28-1.el6.remi.x86_64 (remi)
           Requires: php-common(x86-64) = 5.4.28-1.el6.remi
           Installed: php-common-5.5.4-1.el6.remi.x86_64 (@remi-test)
               php-common(x86-64) = 5.5.4-1.el6.remi
           Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
               php-common(x86-64) = 5.3.3-27.el6_5
           Available: php-common-5.4.27-1.el6.remi.x86_64 (remi)
               php-common(x86-64) = 5.4.27-1.el6.remi
           Available: php-common-5.4.28-1.el6.remi.x86_64 (remi)
               php-common(x86-64) = 5.4.28-1.el6.remi
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest</code></pre></div><p>пробую через pecl<br /></p><div class="codebox"><pre><code>pecl install tidy
downloading tidy-1.2.tgz ...
Starting to download tidy-1.2.tgz (9,602 bytes)
.....done: 9,602 bytes
3 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run &#039;/usr/bin/phpize&#039; in the top level source directory of the module

ERROR: `phpize&#039; failed</code></pre></div><p>установленная версия php 5.5.4<br /></p><div class="codebox"><pre><code>yum list installed | grep php
php.x86_64                           5.5.4-1.el6.remi                 @remi-test
php-bcmath.x86_64                    5.5.4-1.el6.remi                 @remi-test
php-cli.x86_64                       5.5.4-1.el6.remi                 @remi-test
php-common.x86_64                    5.5.4-1.el6.remi                 @remi-test
php-devel.x86_64                     5.5.4-1.el6.remi                 @remi-test
php-intl.x86_64                      5.5.4-1.el6.remi                 @remi-test
php-jsonlint.noarch                  1.1.1-1.el6.remi                 @remi     
php-mbstring.x86_64                  5.5.4-1.el6.remi                 @remi-test
php-mysqlnd.x86_64                   5.5.4-1.el6.remi                 @remi-test
php-pdo.x86_64                       5.5.4-1.el6.remi                 @remi-test
php-pear.noarch                      1:1.9.4-20.el6.remi              @remi-test
php-pecl-amqp.x86_64                 1.2.0-2.el6.remi.5.5             @remi-test
php-pecl-apcu.x86_64                 4.0.2-2.el6.remi.1               @remi-test
php-pecl-apcu-devel.x86_64           4.0.2-2.el6.remi.1               @remi-test
php-pecl-igbinary.x86_64             1.1.2-0.10.git3b8ab7e.el6.art    @atomic   
php-pecl-jsonc.x86_64                1.3.2-2.el6.remi.1               @remi-test
php-pecl-jsonc-devel.x86_64          1.3.2-2.el6.remi.1               @remi-test
php-pecl-memcache.x86_64             3.0.8-3.el6.art                  @atomic   
php-pecl-memcached.x86_64            2.1.0-9.el6.art                  @atomic   
php-pecl-mongo.x86_64                1.4.4-1.el6.remi.1               @remi-test
php-pecl-zip.x86_64                  1.12.1-2.el6.remi.1              @remi-test
php-process.x86_64                   5.5.4-1.el6.remi                 @remi-test
php-xml.x86_64                       5.5.4-1.el6.remi                 @remi-test</code></pre></div><p>дописываю в remi.repo ветку remi-php55 и ищу доступный пакет<br /></p><div class="codebox"><pre><code>yum --enablerepo=remi,remi-php55 list php-tidy
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * epel: mirrors.n-ix.net
 * extras: mirror.checkdomain.de
 * remi: mirror.1000mbps.com
 * remi-php55: mirror.1000mbps.com
 * rpmforge: mirror1.hs-esslingen.de
 * updates: mirror.checkdomain.de
Available Packages
php-tidy.x86_64                   5.5.12-1.el6.remi                   remi-php55</code></pre></div><p>при попытке установить, естественно, требуется обновить php до 5.5.12... делать я это не то что бы не хочу, просто нельзя т.к. неизвестно что перестанет работать на этом тазике после обновления...</p><p>на <a href="http://rpm.pbone.net/">http://rpm.pbone.net/</a> нашел нужный пакет php-tidy-5.5.4-1.x86_64.rpm, но и его установить не получается...<br /></p><div class="codebox"><pre><code>yum localinstall php-tidy-5.5.4-1.x86_64.rpm 
Loaded plugins: fastestmirror
Setting up Local Package Process
Examining php-tidy-5.5.4-1.x86_64.rpm: 4:php-tidy-5.5.4-1.x86_64
Marking php-tidy-5.5.4-1.x86_64.rpm to be installed
Loading mirror speeds from cached hostfile
 * epel: mirrors.n-ix.net
 * extras: mirror.checkdomain.de
 * remi: mirror.1000mbps.com
 * rpmforge: mirror1.hs-esslingen.de
 * updates: mirror.checkdomain.de
Resolving Dependencies
--&gt; Running transaction check
---&gt; Package php-tidy.x86_64 4:5.5.4-1 will be installed
--&gt; Processing Dependency: php-common = 4:5.5.4-1 for package: 4:php-tidy-5.5.4-1.x86_64
--&gt; Processing Dependency: tidy for package: 4:php-tidy-5.5.4-1.x86_64
--&gt; Finished Dependency Resolution
Error: Package: 4:php-tidy-5.5.4-1.x86_64 (/php-tidy-5.5.4-1.x86_64)
           Requires: tidy
Error: Package: 4:php-tidy-5.5.4-1.x86_64 (/php-tidy-5.5.4-1.x86_64)
           Requires: php-common = 4:5.5.4-1
           Installed: php-common-5.5.4-1.el6.remi.x86_64 (@remi-test)
               php-common = 5.5.4-1.el6.remi
           Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
               php-common = 5.3.3-27.el6_5
           Available: php-common-5.4.27-1.el6.remi.x86_64 (remi)
               php-common = 5.4.27-1.el6.remi
           Available: php-common-5.4.28-1.el6.remi.x86_64 (remi)
               php-common = 5.4.28-1.el6.remi
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest</code></pre></div><p>Подскажите, пожалуйста, как выкрутится из этой ситуации<br />PS. CentOS release 6.4 (Final)</p>]]></content>
			<author>
				<name><![CDATA[sotariz]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13164</uri>
			</author>
			<updated>2014-05-11T06:22:57Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=408484#p408484</id>
		</entry>
</feed>
