<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>php - Нотатки сісадміна</title>
	<atom:link href="https://demi4.com/category/linux/php/feed/" rel="self" type="application/rss+xml" />
	<link>https://demi4.com</link>
	<description>вирішення sysadmin / devops завдань, проблем, питань</description>
	<lastBuildDate>Sat, 14 Mar 2020 19:39:17 +0000</lastBuildDate>
	<language>uk</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>Fatal error: Allowed memory size of ****** bytes exhausted (tried to allocate 24 bytes) in libraries/joomla/error/exception.php on line 117</title>
		<link>https://demi4.com/fatal-error-allowed-memory-size-of-bytes-exhausted-tried-to-allocate-24-bytes-in-libraries-joomla-error-exception-php-on-line-117/</link>
					<comments>https://demi4.com/fatal-error-allowed-memory-size-of-bytes-exhausted-tried-to-allocate-24-bytes-in-libraries-joomla-error-exception-php-on-line-117/#respond</comments>
		
		<dc:creator><![CDATA[graff]]></dc:creator>
		<pubDate>Sat, 14 Mar 2020 19:39:17 +0000</pubDate>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[memory_limit]]></category>
		<guid isPermaLink="false">https://demi4.com/?p=1401</guid>

					<description><![CDATA[<p>Після переносу сайту на Joomla зіткнувся з такою помилкою як &#8216;Fatal error: Allowed memory size of&#8217; Довго шукав як вирішити цю проблему &#8211; бо начебто все просто, але не просто, бо додавання RAM у memory_limit php не допомогало. Як з&#8217;ясувалось &#8211; питання у наявності memcached на новому сервері. То шляхи 2 Додати memcached, налаштувати йго Змінити [&#8230;]</p>
<p>The post <a href="https://demi4.com/fatal-error-allowed-memory-size-of-bytes-exhausted-tried-to-allocate-24-bytes-in-libraries-joomla-error-exception-php-on-line-117/">Fatal error: Allowed memory size of ****** bytes exhausted (tried to allocate 24 bytes) in libraries/joomla/error/exception.php on line 117</a> first appeared on <a href="https://demi4.com">Нотатки сісадміна</a>.</p>]]></description>
		
					<wfw:commentRss>https://demi4.com/fatal-error-allowed-memory-size-of-bytes-exhausted-tried-to-allocate-24-bytes-in-libraries-joomla-error-exception-php-on-line-117/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>php mail() in Docker container (sh: 1: /usr/sbin/sendmail: not found)</title>
		<link>https://demi4.com/php-mail-in-docker-container-sh-1-usr-sbin-sendmail-not-found/</link>
					<comments>https://demi4.com/php-mail-in-docker-container-sh-1-usr-sbin-sendmail-not-found/#comments</comments>
		
		<dc:creator><![CDATA[graff]]></dc:creator>
		<pubDate>Tue, 20 Sep 2016 18:46:58 +0000</pubDate>
				<category><![CDATA[Docker]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[php]]></category>
		<guid isPermaLink="false">http://demi4.com/?p=1003</guid>

					<description><![CDATA[<p>Запуская php в контейнере докера необходимо подумать про доставку почты, в моем случае я не сразу догадался что будут проблемы и понял о проблеме только тогда &#8211; когда в контейнере получил сообщение &#8220;sh: 1: /usr/sbin/sendmail: not found&#8221; Проблема решается в моем случае просто, я в контейнер добавил софтину ssmtp и в конфиге прописал [crayon-67ac40ee9a12e771614741/] Что [&#8230;]</p>
<p>The post <a href="https://demi4.com/php-mail-in-docker-container-sh-1-usr-sbin-sendmail-not-found/">php mail() in Docker container (sh: 1: /usr/sbin/sendmail: not found)</a> first appeared on <a href="https://demi4.com">Нотатки сісадміна</a>.</p>]]></description>
		
					<wfw:commentRss>https://demi4.com/php-mail-in-docker-container-sh-1-usr-sbin-sendmail-not-found/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>apache2-mpm-worker + php5-fcgi + suexec-custom</title>
		<link>https://demi4.com/apache2-mpm-worker-php5-fcgi-suexec-custom/</link>
					<comments>https://demi4.com/apache2-mpm-worker-php5-fcgi-suexec-custom/#respond</comments>
		
		<dc:creator><![CDATA[graff]]></dc:creator>
		<pubDate>Fri, 11 Dec 2015 20:29:35 +0000</pubDate>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[apache2-mpm-worker]]></category>
		<category><![CDATA[php5-fcgi]]></category>
		<category><![CDATA[suexec]]></category>
		<guid isPermaLink="false">http://demi4.com/?p=730</guid>

					<description><![CDATA[<p>Попросили тут намедни настроит кастом сервак без панели, решил под это дело настроить apache2-mpm-worker + php5-fcgi + suexec. Выбор поставил на mpm-worker так как до этого уже был один сервер на этой модели, и показал себя хорошо, причем кто бы мне что ни говорил &#8211; но под каждые задачи &#8211; свои рекомендации. Первый мой опыт [&#8230;]</p>
<p>The post <a href="https://demi4.com/apache2-mpm-worker-php5-fcgi-suexec-custom/">apache2-mpm-worker + php5-fcgi + suexec-custom</a> first appeared on <a href="https://demi4.com">Нотатки сісадміна</a>.</p>]]></description>
		
					<wfw:commentRss>https://demi4.com/apache2-mpm-worker-php5-fcgi-suexec-custom/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Module &#8216;apc&#8217; already loaded in Unknown on line 0</title>
		<link>https://demi4.com/module-apc-already-loaded-in-unknown-on-line-0/</link>
					<comments>https://demi4.com/module-apc-already-loaded-in-unknown-on-line-0/#respond</comments>
		
		<dc:creator><![CDATA[graff]]></dc:creator>
		<pubDate>Sun, 15 Nov 2015 16:02:40 +0000</pubDate>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[php5-apc]]></category>
		<guid isPermaLink="false">http://demi4.com/?p=715</guid>

					<description><![CDATA[<p>Случайно сегодня обнаружил что в логах апача одно домена сыпется такая ошибка &#8220;Module &#8216;apc&#8217; already loaded in Unknown on line 0&#8221;. Собственно тут то и искать ничего не нужно, просто модуль кеширования apc загружен был дважды по ошибке. Полез в /etc/php5/cgi/conf.d и обнаружил что там модуль подгружен дважды с разными именами файлов. После удаление одного [&#8230;]</p>
<p>The post <a href="https://demi4.com/module-apc-already-loaded-in-unknown-on-line-0/">Module ‘apc’ already loaded in Unknown on line 0</a> first appeared on <a href="https://demi4.com">Нотатки сісадміна</a>.</p>]]></description>
		
					<wfw:commentRss>https://demi4.com/module-apc-already-loaded-in-unknown-on-line-0/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>curl  Couldn&#8217;t bind to&#8230;</title>
		<link>https://demi4.com/curl-couldn-t-bind-to/</link>
					<comments>https://demi4.com/curl-couldn-t-bind-to/#respond</comments>
		
		<dc:creator><![CDATA[graff]]></dc:creator>
		<pubDate>Mon, 18 May 2015 21:57:06 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[curl]]></category>
		<guid isPermaLink="false">http://demi4.com/?p=555</guid>

					<description><![CDATA[<p>Программист обратился с такой ошибкой: [crayon-67ac40ee9a4f1269570392/] В целом все просто, на сервере несколько IP, curl при обращении к домену идет по ipv6, и биндится на первый интерфейс. Его просто нужно заставить работать с ipv4 + от имени  нужно интерфейса, посоветовал программисту воспользоваться параметрами: [crayon-67ac40ee9a4f4512812499/] И все заработало. Первый параметр заставляет работать только с ipv4(на случай [&#8230;]</p>
<p>The post <a href="https://demi4.com/curl-couldn-t-bind-to/">curl  Couldn’t bind to…</a> first appeared on <a href="https://demi4.com">Нотатки сісадміна</a>.</p>]]></description>
		
					<wfw:commentRss>https://demi4.com/curl-couldn-t-bind-to/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Автоматическое удаление сессий php с сервера.</title>
		<link>https://demi4.com/avtomaticheskoe-udalenie-sessiy-php-s-servera/</link>
					<comments>https://demi4.com/avtomaticheskoe-udalenie-sessiy-php-s-servera/#respond</comments>
		
		<dc:creator><![CDATA[graff]]></dc:creator>
		<pubDate>Mon, 18 May 2015 21:36:31 +0000</pubDate>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<guid isPermaLink="false">http://demi4.com/?p=552</guid>

					<description><![CDATA[<p>Вообще данная настройка идет из коробки, мне не понятно для чего ее выключать, но на всякий случай добавлю заметку что бы не забывать Заметка навеяна проблемой с удалением большого количества файлов в линуксе. Теперь у себя на всех серверах и доменах проверил что бы была включена в php.ini: [crayon-67ac40ee9a6c7738631005/] После этого рестарт apache и все [&#8230;]</p>
<p>The post <a href="https://demi4.com/avtomaticheskoe-udalenie-sessiy-php-s-servera/">Автоматическое удаление сессий php с сервера.</a> first appeared on <a href="https://demi4.com">Нотатки сісадміна</a>.</p>]]></description>
		
					<wfw:commentRss>https://demi4.com/avtomaticheskoe-udalenie-sessiy-php-s-servera/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>libcrypto.so.1.0.0: could not read symbols: Invalid operation</title>
		<link>https://demi4.com/libcrypto-so-1-0-0-could-not-read-symbols-invalid-operation/</link>
					<comments>https://demi4.com/libcrypto-so-1-0-0-could-not-read-symbols-invalid-operation/#respond</comments>
		
		<dc:creator><![CDATA[graff]]></dc:creator>
		<pubDate>Wed, 01 Apr 2015 12:20:21 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<guid isPermaLink="false">http://demi4.com/?p=502</guid>

					<description><![CDATA[<p>При сборке php из исходников вывалило эту хрень: libcrypto.so.1.0.0: could not read symbols: Invalid operation &#160; для решения проблемы делаем сначала делаю ./configure со всеми параметрами, а после редактирую Make файл, где меню немного строку, которая начинается с &#8220;EXTRA_LIBS&#8221; и содержит &#8220;-lcrypt&#8221; В итоге у меня получилось: &#160; [crayon-67ac40ee9a89e436928754/] После этого спокойно делаю дальше make [&#8230;]</p>
<p>The post <a href="https://demi4.com/libcrypto-so-1-0-0-could-not-read-symbols-invalid-operation/">libcrypto.so.1.0.0: could not read symbols: Invalid operation</a> first appeared on <a href="https://demi4.com">Нотатки сісадміна</a>.</p>]]></description>
		
					<wfw:commentRss>https://demi4.com/libcrypto-so-1-0-0-could-not-read-symbols-invalid-operation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>PHP configure: error: xml2-config not found. Please check your libxml2 installation.</title>
		<link>https://demi4.com/php-configure-error-xml2-config-not-found-please-check-your-libxml2-installation/</link>
					<comments>https://demi4.com/php-configure-error-xml2-config-not-found-please-check-your-libxml2-installation/#respond</comments>
		
		<dc:creator><![CDATA[graff]]></dc:creator>
		<pubDate>Tue, 20 Jan 2015 13:32:40 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php55-cgi]]></category>
		<guid isPermaLink="false">http://demi4.com/?p=452</guid>

					<description><![CDATA[<p>Ставлю на сервак вторую версию php55 как cgi, ставлю из иcходников, вылазит это: &#8220;PHP configure: error: xml2-config not found. Please check your libxml2 installation.&#8221; решается просто: для Centos [crayon-67ac40ee9a9d6306692563/] &#160; для Debian: [crayon-67ac40ee9a9da445166251/] &#160; После этого спокойно продолжаем</p>
<p>The post <a href="https://demi4.com/php-configure-error-xml2-config-not-found-please-check-your-libxml2-installation/">PHP configure: error: xml2-config not found. Please check your libxml2 installation.</a> first appeared on <a href="https://demi4.com">Нотатки сісадміна</a>.</p>]]></description>
		
					<wfw:commentRss>https://demi4.com/php-configure-error-xml2-config-not-found-please-check-your-libxml2-installation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Uncaught exception &#8216;InvalidArgumentException&#8217; with message  &#8216;A callable is expected in AnnotationRegistry::registerLoader().</title>
		<link>https://demi4.com/uncaught-exception-invalidargumentexception-with-message-a-callable-is-expected-in-annotationregistry-registerloader/</link>
					<comments>https://demi4.com/uncaught-exception-invalidargumentexception-with-message-a-callable-is-expected-in-annotationregistry-registerloader/#respond</comments>
		
		<dc:creator><![CDATA[graff]]></dc:creator>
		<pubDate>Sun, 18 Jan 2015 10:54:34 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[eAccelerator]]></category>
		<category><![CDATA[symphony]]></category>
		<category><![CDATA[xcache]]></category>
		<guid isPermaLink="false">http://demi4.com/?p=444</guid>

					<description><![CDATA[<p>Проснулся сутра от звонка клиента &#8211; лежит сайт, открываю в броузере &#8211; белая страница, в логах 500 ошибка. Полез глубже разбираться, там ошибка &#8220;Uncaught exception &#8216;InvalidArgumentException&#8217; with message  &#8216;A callable is expected in AnnotationRegistry::registerLoader().&#8221; Посмотрев внимательнее обнаружил что сайт написан на фреймворке Symphony, а ошибка связана с кеширование, решил проблему отключение eAccelerator и включение xCache, [&#8230;]</p>
<p>The post <a href="https://demi4.com/uncaught-exception-invalidargumentexception-with-message-a-callable-is-expected-in-annotationregistry-registerloader/">Uncaught exception ‘InvalidArgumentException’ with message  ‘A callable is expected in AnnotationRegistry::registerLoader().</a> first appeared on <a href="https://demi4.com">Нотатки сісадміна</a>.</p>]]></description>
		
					<wfw:commentRss>https://demi4.com/uncaught-exception-invalidargumentexception-with-message-a-callable-is-expected-in-annotationregistry-registerloader/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>установить eAccelerator на Debian</title>
		<link>https://demi4.com/ustanovit-eaccelerator-na-debian/</link>
					<comments>https://demi4.com/ustanovit-eaccelerator-na-debian/#respond</comments>
		
		<dc:creator><![CDATA[graff]]></dc:creator>
		<pubDate>Sat, 10 Jan 2015 23:27:38 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[eAccelerator]]></category>
		<category><![CDATA[kernel.shmmax]]></category>
		<guid isPermaLink="false">http://demi4.com/?p=403</guid>

					<description><![CDATA[<p>Проснулся сутра от телефона, который сообщил что упал сервак. Подключился и увидел высокий LA, сервер ВПС, а не полноценный дедик, беглый анализ показал что ВПСку вешает апач, много запросов на один домен. Решил прикрутить акселератор для php. Еще во времена админства у одного из хотсеров рунета, привык к eaccelerator, выручал не раз, решил и тут [&#8230;]</p>
<p>The post <a href="https://demi4.com/ustanovit-eaccelerator-na-debian/">установить eAccelerator на Debian</a> first appeared on <a href="https://demi4.com">Нотатки сісадміна</a>.</p>]]></description>
		
					<wfw:commentRss>https://demi4.com/ustanovit-eaccelerator-na-debian/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
