<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Как прикрутить php55 к apache24?]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=36857&amp;type=atom" />
	<updated>2014-11-28T12:39:33Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=36857</id>
		<entry>
			<title type="html"><![CDATA[Re: Как прикрутить php55 к apache24?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=433183#p433183" />
			<content type="html"><![CDATA[<p>Ура товарищи. С php53 всё заработало . Всем спасибо за терпение <img src="https://linuxforum.ru/img/smilies/bo.gif" alt="bo" /> <br /><a href="http://savepic.org/6566384.htm"><span class="postimg"><img src="http://savepic.org/6566384m.png" alt="http://savepic.org/6566384m.png" /></span></a></p>]]></content>
			<author>
				<name><![CDATA[Plintus]]></name>
				<uri>https://linuxforum.ru/profile.php?id=36337</uri>
			</author>
			<updated>2014-11-28T12:39:33Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=433183#p433183</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как прикрутить php55 к apache24?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=433174#p433174" />
			<content type="html"><![CDATA[<p>В общем я удалил с помощью pkg delete все остатки php55 переустановил php53 И всё заработало&nbsp; <img src="https://linuxforum.ru/img/smilies/bi.gif" alt="bi" /> <br /></p><div class="codebox"><pre><code>[Fri Nov 28 13:37:34.811549 2014] [mpm_prefork:notice] [pid 1071] AH00169: caught SIGTERM, shutting down
[Fri Nov 28 13:37:35.538611 2014] [mpm_prefork:notice] [pid 76780] AH00163: Apache/2.4.10 (FreeBSD) PHP/5.3.29 with Suhosin-Patch configured -- resu$
[Fri Nov 28 13:37:35.539004 2014] [core:notice] [pid 76780] AH00094: Command line: &#039;/usr/local/sbin/httpd -D NOHTTPACCEPT&#039;</code></pre></div><p>Только вот posfixadmin почему то не в обычной форме</p><p><a href="http://savepic.org/6556154.htm"><span class="postimg"><img src="http://savepic.org/6556154m.png" alt="http://savepic.org/6556154m.png" /></span></a></p><p>Как его к нормальному виду привести?</p>]]></content>
			<author>
				<name><![CDATA[Plintus]]></name>
				<uri>https://linuxforum.ru/profile.php?id=36337</uri>
			</author>
			<updated>2014-11-28T11:45:25Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=433174#p433174</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как прикрутить php55 к apache24?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=433160#p433160" />
			<content type="html"><![CDATA[<p>php53 не делает директорию /usr/local/lib/php/20090626 которая нужна апачу . Он формирует только buid<br /><a href="http://savepic.ru/6378841.htm"><span class="postimg"><img src="http://savepic.ru/6378841m.png" alt="http://savepic.ru/6378841m.png" /></span></a></p>]]></content>
			<author>
				<name><![CDATA[Plintus]]></name>
				<uri>https://linuxforum.ru/profile.php?id=36337</uri>
			</author>
			<updated>2014-11-28T11:00:32Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=433160#p433160</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как прикрутить php55 к apache24?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=433153#p433153" />
			<content type="html"><![CDATA[<p>В общем получилась каша<br /> </p><div class="codebox"><pre><code>portversion -v | grep php
[Reading data from pkg(8) ... - 71 packages found - done]
php53-5.3.29_2              =  up-to-date with port 
php55-mbstring-5.5.19       =  up-to-date with port 
php55-mysql-5.5.19          =  up-to-date with port 
php55-mysqli-5.5.19         =  up-to-date with port 
php55-session-5.5.19        =  up-to-date with port 
php55-xml-5.5.19            =  up-to-date with port 
php55-xmlrpc-5.5.19         =  up-to-date with port </code></pre></div>]]></content>
			<author>
				<name><![CDATA[Plintus]]></name>
				<uri>https://linuxforum.ru/profile.php?id=36337</uri>
			</author>
			<updated>2014-11-28T10:28:02Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=433153#p433153</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как прикрутить php55 к apache24?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=433148#p433148" />
			<content type="html"><![CDATA[<p>Но опять те же яйца только в профиль <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /><br />[</p><div class="codebox"><pre><code>Fri Nov 28 12:06:00.687663 2014] [mpm_prefork:notice] [pid 72222] AH00169: caught SIGTERM, shutting down
PHP Warning:  PHP Startup: Unable to load dynamic library &#039;/usr/local/lib/php/20090626/session.so&#039; - Cannot open &amp;quot;/usr/local/lib/php/20090626/s$
PHP Warning:  PHP Startup: Unable to load dynamic library &#039;/usr/local/lib/php/20090626/mbstring.so&#039; - Cannot open &amp;quot;/usr/local/lib/php/20090626/$
PHP Warning:  PHP Startup: Unable to load dynamic library &#039;/usr/local/lib/php/20090626/xml.so&#039; - Cannot open &amp;quot;/usr/local/lib/php/20090626/xml.s$
PHP Warning:  PHP Startup: Unable to load dynamic library &#039;/usr/local/lib/php/20090626/xmlrpc.so&#039; - Cannot open &amp;quot;/usr/local/lib/php/20090626/xm$
PHP Warning:  PHP Startup: Unable to load dynamic library &#039;/usr/local/lib/php/20090626/mysql.so&#039; - Cannot open &amp;quot;/usr/local/lib/php/20090626/mys$
PHP Warning:  PHP Startup: Unable to load dynamic library &#039;/usr/local/lib/php/20090626/mysqli.so&#039; - Cannot open &amp;quot;/usr/local/lib/php/20090626/my$
[Fri Nov 28 12:06:01.419501 2014] [mpm_prefork:notice] [pid 73033] AH00163: Apache/2.4.10 (FreeBSD) PHP/5.3.29 with Suhosin-Patch configured -- resu$
[Fri Nov 28 12:06:01.419890 2014] [core:notice] [pid 73033] AH00094: Command line: &#039;/usr/local/sbin/httpd -D NOHTTPACCEPT&#039;</code></pre></div><p>А директории для&nbsp; 20090626/ вообще нет, осталась только 20121212/&nbsp; от php 55&nbsp; но зато в 53 есть окошечко в конфиге дла подключения апача <img src="https://linuxforum.ru/img/smilies/ag.gif" alt="ag" /><br />Может у кого-то есть&nbsp; таблица совместимости версий php с апачем?</p>]]></content>
			<author>
				<name><![CDATA[Plintus]]></name>
				<uri>https://linuxforum.ru/profile.php?id=36337</uri>
			</author>
			<updated>2014-11-28T10:08:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=433148#p433148</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как прикрутить php55 к apache24?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=433147#p433147" />
			<content type="html"><![CDATA[<p>А так вроде установился<br /></p><div class="codebox"><pre><code>/usr/ports/www/mod_php55 # make deinstall
===&gt;  Deinstalling for mod_php55
===&gt;   Deinstalling mod_php55-5.5.19
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
    mod_php55-5.5.19

The operation will free 3 MB.
[preparing module `php5&#039; in /usr/local/etc/apache24/httpd.conf]
[1/1] Deleting mod_php55-5.5.19: 100%
root@sprinter:/usr/ports/www/mod_php55 # cd /usr/ports/lang/php53
root@sprinter:/usr/ports/lang/php53 # make install clean
===&gt;  Installing for php53-5.3.29_2
===&gt;   php53-5.3.29_2 depends on file: /usr/local/sbin/apxs - found
===&gt;   php53-5.3.29_2 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so.3)
===&gt;   php53-5.3.29_2 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so.2.9.2)
===&gt;  Checking if php53 already installed
===&gt;   Registering installation for php53-5.3.29_2
[activating module `php5&#039; in /usr/local/etc/apache24/httpd.conf]
***************************************************************

Make sure index.php is part of your DirectoryIndex.

You should add the following to your Apache configuration file:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

***************************************************************

===&gt; SECURITY REPORT: 
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/apache24/libphp5.so
/usr/local/bin/php
/usr/local/bin/php-cgi

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type &#039;make deinstall&#039;
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage: 
http://www.php.net/
===&gt;  Cleaning for pkg-1.3.8_3
===&gt;  Cleaning for php53-5.3.29_2</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Plintus]]></name>
				<uri>https://linuxforum.ru/profile.php?id=36337</uri>
			</author>
			<updated>2014-11-28T10:05:08Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=433147#p433147</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как прикрутить php55 к apache24?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=433144#p433144" />
			<content type="html"><![CDATA[<p>Я сделал deinstal php55 и попробовал поставить php53<br /> </p><div class="codebox"><pre><code>make install clean
===&gt;  Installing for php53-5.3.29_2
===&gt;   php53-5.3.29_2 depends on file: /usr/local/sbin/apxs - found
===&gt;   php53-5.3.29_2 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so.3)
===&gt;   php53-5.3.29_2 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so.2.9.2)
===&gt;  Checking if php53 already installed
===&gt;   Registering installation for php53-5.3.29_2
pkg-static: php53-5.3.29_2 conflicts with mod_php55-5.5.19 (installs files into the same place).  Problematic file: /usr/local/libexec/apache24/libphp5.so
***************************************************************

Make sure index.php is part of your DirectoryIndex.

You should add the following to your Apache configuration file:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

***************************************************************

*** Error code 70

Stop.
make[1]: stopped in /usr/ports/lang/php53
*** Error code 1

Stop.</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Plintus]]></name>
				<uri>https://linuxforum.ru/profile.php?id=36337</uri>
			</author>
			<updated>2014-11-28T10:01:19Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=433144#p433144</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как прикрутить php55 к apache24?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=433120#p433120" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>pitdron пишет:</cite><blockquote><p>Теперь </p><p>portupgrade -f *php5*</p></blockquote></div><p>portupgrade -f *php5*<br />portupgrade: No match.</p>]]></content>
			<author>
				<name><![CDATA[Plintus]]></name>
				<uri>https://linuxforum.ru/profile.php?id=36337</uri>
			</author>
			<updated>2014-11-28T08:09:02Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=433120#p433120</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как прикрутить php55 к apache24?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=433118#p433118" />
			<content type="html"><![CDATA[<p>Теперь </p><p>portupgrade -f *php5*</p>]]></content>
			<author>
				<name><![CDATA[pitdron]]></name>
				<uri>https://linuxforum.ru/profile.php?id=26039</uri>
			</author>
			<updated>2014-11-28T08:08:03Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=433118#p433118</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как прикрутить php55 к apache24?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=433119#p433119" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>pkg2ng
Converting packages from /var/db/pkg
Analysing shared libraries, this will take a while... 
Checking all packages: 100%</code></pre></div><p>Сделал</p><div class="codebox"><pre><code> make install FORCE_PKG_REGISTER=1 </code></pre></div><p>вообще никаких сообщений</p>]]></content>
			<author>
				<name><![CDATA[Plintus]]></name>
				<uri>https://linuxforum.ru/profile.php?id=36337</uri>
			</author>
			<updated>2014-11-28T08:08:03Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=433119#p433119</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как прикрутить php55 к apache24?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=433117#p433117" />
			<content type="html"><![CDATA[<p>Я начал а потом вспомнил что усёк debug из названия директории<br /> </p><div class="codebox"><pre><code>pkg2ng
Converting packages from /var/db/pkg
Analysing shared libraries, this will take a while... 
Checking all packages:  63%
pkg: fstat() failed for(/usr/local/lib/php/20121212-debug/mbstring.so): No such file or directory
Checking all packages:  65%
pkg: fstat() failed for(/usr/local/lib/php/20121212-debug/mysql.so): No such file or directory
Checking all packages:  66%
pkg: fstat() failed for(/usr/local/lib/php/20121212-debug/mysqli.so): No such file or directory
Checking all packages:  68%
pkg: fstat() failed for(/usr/local/lib/php/20121212-debug/session.so): No such file or directory
Checking all packages:  69%
pkg: fstat() failed for(/usr/local/lib/php/20121212-debug/xml.so): No such file or directory
Checking all packages:  70%
pkg: fstat() failed for(/usr/local/lib/php/20121212-debug/xmlrpc.so): No such file or directory
Checking all packages:  93%^C</code></pre></div><p>восстановил название. запустил pkg2ng</p>]]></content>
			<author>
				<name><![CDATA[Plintus]]></name>
				<uri>https://linuxforum.ru/profile.php?id=36337</uri>
			</author>
			<updated>2014-11-28T08:03:18Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=433117#p433117</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как прикрутить php55 к apache24?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=433115#p433115" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>make install FORCE_PKG_REGISTER=1
===&gt;  Installing for pkg-1.3.8_3
===&gt;   Registering installation for pkg-1.3.8_3
If you are upgrading from the old package format, first run:

  # pkg2ng</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Plintus]]></name>
				<uri>https://linuxforum.ru/profile.php?id=36337</uri>
			</author>
			<updated>2014-11-28T07:59:09Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=433115#p433115</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как прикрутить php55 к apache24?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=433114#p433114" />
			<content type="html"><![CDATA[<p>При этом:<br /></p><div class="codebox"><pre><code> portversion -v | grep php
[Reading data from pkg(8) ... - 72 packages found - done]
[Updating the portsdb &lt;format:bdb_btree&gt; in /usr/ports ... - 24394 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000.........19000.........20000.........21000.........22000.........23000.........24000... ..... done]
mod_php55-5.5.19            =  up-to-date with port 
php55-5.5.19                =  up-to-date with port 
php55-mbstring-5.5.19       =  up-to-date with port 
php55-mysql-5.5.19          =  up-to-date with port 
php55-mysqli-5.5.19         =  up-to-date with port 
php55-session-5.5.19        =  up-to-date with port 
php55-xml-5.5.19            =  up-to-date with port 
php55-xmlrpc-5.5.19         =  up-to-date with port </code></pre></div>]]></content>
			<author>
				<name><![CDATA[Plintus]]></name>
				<uri>https://linuxforum.ru/profile.php?id=36337</uri>
			</author>
			<updated>2014-11-28T07:55:50Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=433114#p433114</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как прикрутить php55 к apache24?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=433113#p433113" />
			<content type="html"><![CDATA[<p>make install FORCE_PKG_REGISTER=1</p>]]></content>
			<author>
				<name><![CDATA[pitdron]]></name>
				<uri>https://linuxforum.ru/profile.php?id=26039</uri>
			</author>
			<updated>2014-11-28T07:55:33Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=433113#p433113</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как прикрутить php55 к apache24?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=433111#p433111" />
			<content type="html"><![CDATA[<p>Опять та же история <br /></p><div class="codebox"><pre><code>===&gt;  Installing for pkg-1.3.8_3
===&gt;  Checking if pkg already installed
===&gt;   pkg-1.3.8_3 is already installed
      You may wish to ``make deinstall&#039;&#039; and install this port again
      by ``make reinstall&#039;&#039; to upgrade it properly.
      If you really wish to overwrite the old port of pkg
      without deleting it first, set the variable &quot;FORCE_PKG_REGISTER&quot;
      in your environment or the &quot;make install&quot; command line.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1

Stop.
make: stopped in /usr/ports/ports-mgmt/pkg</code></pre></div><p>deinstall показывает что пакет не установлен а install говорит что он установлен <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></content>
			<author>
				<name><![CDATA[Plintus]]></name>
				<uri>https://linuxforum.ru/profile.php?id=36337</uri>
			</author>
			<updated>2014-11-28T07:51:37Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=433111#p433111</id>
		</entry>
</feed>
