<?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/tag/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-67ac4115adcba724465446/] Что [&#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>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-67ac4115ade03282939986/] В целом все просто, на сервере несколько IP, curl при обращении к домену идет по ipv6, и биндится на первый интерфейс. Его просто нужно заставить работать с ipv4 + от имени  нужно интерфейса, посоветовал программисту воспользоваться параметрами: [crayon-67ac4115ade07306851628/] И все заработало. Первый параметр заставляет работать только с 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-67ac4115adebd245870280/] После этого рестарт 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>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>
		<item>
		<title>Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in</title>
		<link>https://demi4.com/warning-unknown-input-variables-exceeded-1000-to-increase-the-limit-change-max_input_vars-in-php-ini-in/</link>
					<comments>https://demi4.com/warning-unknown-input-variables-exceeded-1000-to-increase-the-limit-change-max_input_vars-in-php-ini-in/#respond</comments>
		
		<dc:creator><![CDATA[graff]]></dc:creator>
		<pubDate>Thu, 20 Nov 2014 08:35:29 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php.ini]]></category>
		<guid isPermaLink="false">http://demi4.com/?p=314</guid>

					<description><![CDATA[<p>Настраивал парсер один для себя, как всегда &#8211; програмистам руки поотбивать нужно &#8211; поеаписывают, а рассказать как оно работает не удасужаться&#8230; Вобщем запустил парсер, отработал, делаю импорт данных в базу, а тут ошибка &#8220;Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in&#8221; Как оказалось это параметр для защиты веб [&#8230;]</p>
<p>The post <a href="https://demi4.com/warning-unknown-input-variables-exceeded-1000-to-increase-the-limit-change-max_input_vars-in-php-ini-in/">Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in</a> first appeared on <a href="https://demi4.com">Нотатки сісадміна</a>.</p>]]></description>
		
					<wfw:commentRss>https://demi4.com/warning-unknown-input-variables-exceeded-1000-to-increase-the-limit-change-max_input_vars-in-php-ini-in/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>bash: phpize: command not found</title>
		<link>https://demi4.com/bash-phpize-command-not-found/</link>
					<comments>https://demi4.com/bash-phpize-command-not-found/#respond</comments>
		
		<dc:creator><![CDATA[graff]]></dc:creator>
		<pubDate>Mon, 10 Nov 2014 18:42:53 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpize]]></category>
		<guid isPermaLink="false">http://demi4.com/?p=285</guid>

					<description><![CDATA[<p>Такая ошибка может возникнуть в момент когда пытаешь собрать модуль апача из исодников. Данная утилита настриавает дерево исходников модуля под текущие настройки системы. Что бы быстро исправить данную пробелму в Centos Linux необходимо сразу еще добавить на всякий случай m4, autoconf, делаем вс одной командой: [crayon-67ac4115ae12c145298259/] То же но для Debian Linux: [crayon-67ac4115ae12f011493513/] После этого [&#8230;]</p>
<p>The post <a href="https://demi4.com/bash-phpize-command-not-found/">bash: phpize: command not found</a> first appeared on <a href="https://demi4.com">Нотатки сісадміна</a>.</p>]]></description>
		
					<wfw:commentRss>https://demi4.com/bash-phpize-command-not-found/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>eAccelerator: Unable to change cache directory /var/cache/eaccelerator permissions</title>
		<link>https://demi4.com/eaccelerator-unable-to-change-cache-directory-var-cache-eaccelerator-permissions/</link>
					<comments>https://demi4.com/eaccelerator-unable-to-change-cache-directory-var-cache-eaccelerator-permissions/#respond</comments>
		
		<dc:creator><![CDATA[graff]]></dc:creator>
		<pubDate>Mon, 10 Nov 2014 18:35:15 +0000</pubDate>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[eAccelerator]]></category>
		<guid isPermaLink="false">http://demi4.com/?p=280</guid>

					<description><![CDATA[<p>Странно что ошибку &#8220;eAccelerator: Unable to change cache directory /var/cache/eaccelerator permissions&#8221; до сих пор не пофиксили, так как о ней уже известно давно и фискистся очень просто. Что бы исправить ошибку придется пересобирать eAccelerator, сам фикс ниже, ищем в кактлоге с исходниками eAccelerator файл eaccelerator.c и в нем: [crayon-67ac4115ae1e4015913855/] Далее по новой собираем: [crayon-67ac4115ae1e7805358625/] и [&#8230;]</p>
<p>The post <a href="https://demi4.com/eaccelerator-unable-to-change-cache-directory-var-cache-eaccelerator-permissions/">eAccelerator: Unable to change cache directory /var/cache/eaccelerator permissions</a> first appeared on <a href="https://demi4.com">Нотатки сісадміна</a>.</p>]]></description>
		
					<wfw:commentRss>https://demi4.com/eaccelerator-unable-to-change-cache-directory-var-cache-eaccelerator-permissions/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
