mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#phpfpm

0 Beiträge0 Beteiligte0 Beiträge heute
Tuxi ⁂Okay, ich glaube, ich habe die richtigen Einstellungen für das Zusammenspiel von <a href="https://anonsys.net/search?tag=MariaDB" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MariaDB</span></a>, <a href="https://anonsys.net/search?tag=PHP-FPM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP-FPM</span></a> und <a href="https://anonsys.net/search?tag=Redis" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Redis</span></a> gefunden. Der "Feinschliff" war nicht ganz ohne. Seit ca. einer Woche scheint es hier auf <a href="https://anonsys.net/search?tag=anonsys.net" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>anonsys.net</span></a> rundzulaufen.<br>Danke an <span class="h-card"><a href="https://missocial.de/profile/jools" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jools</span></a></span>, <span class="h-card"><a href="https://friendica.opensocial.space/profile/raroun" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>raroun</span></a></span> und <span class="h-card"><a href="https://sekretaerbaer.de/profile/oldkid" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>oldkid</span></a></span> für den Input und die Unterstützung. 👍🍻<br><a href="https://anonsys.net/search?tag=Friendica" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Friendica</span></a> <a href="https://anonsys.net/search?tag=FediAdmin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FediAdmin</span></a>
Mai :v_trans:<p>Today I learned about the PHP_INI_SCAN_DIR env variable; while its powerfull, it's nice so you can set custom php.inis being loaded.</p><p>However, today I *also* learned that php-fpm is a very "clever" piece of software which, while allowing setting env vars in each pool, will not work with PHP_INI_SCAN_DIR. It will set it tho, but in it's infinite wisdom thinks it's a **verry** clever idea to execute any phpini loading BEFORE the pool starts. So yeah.... this variable is absolute worthless in php-fpm. Sure you can set it globally before you start it in systemd, but then you also can just change the php.ini directly or use an include, so whats the point then.</p><p>*sigh* and that only cost be 2 hours of my live + wrestling with dbgsyms packages, gdb on a hosting server, stoping all other phpfpms, disabling all other pools, setting the pool to only spawn ever one worker and THEN wrestling with gdb so it actually dosnt detach when forking and also follows it so I can see whats happening..... Gosh lucky it's the weekend already.</p><p><a href="https://soc.saiyajin.space/tags/php" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>php</span></a> <a href="https://soc.saiyajin.space/tags/debugging" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>debugging</span></a> <a href="https://soc.saiyajin.space/tags/debugginglife" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>debugginglife</span></a> <a href="https://soc.saiyajin.space/tags/gdb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gdb</span></a> <a href="https://soc.saiyajin.space/tags/debugsymbols" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>debugsymbols</span></a> <a href="https://soc.saiyajin.space/tags/phpfpm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>phpfpm</span></a> <a href="https://soc.saiyajin.space/tags/hosting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hosting</span></a> <a href="https://soc.saiyajin.space/tags/hosterlive" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hosterlive</span></a> <a href="https://soc.saiyajin.space/tags/weliveontheedgeofinsanity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>weliveontheedgeofinsanity</span></a></p>
Emanuele Panz<p>"I recreated the server, now with encrypted disks, and restored the application. Can you check why it is not running?"</p><p>Spent considerable time checking the <a href="https://phpc.social/tags/Symfony" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Symfony</span></a>, <a href="https://phpc.social/tags/caddyserver" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>caddyserver</span></a> and <a href="https://phpc.social/tags/phpfpm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>phpfpm</span></a> configs: nothing could explain such errors, including not respecting any config change.</p><p>It was the usual suspect: <a href="https://phpc.social/tags/selinux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>selinux</span></a>, which was non properly configured</p><p>Bonus point: took the time to quickly upgrade to PHP 8.3 and Symfony 6.4; not bad for an application last deployed on December 2022 ☺</p>
Flávio Heleno<p>TIL: if you run "php-fpm -tt", it will not only test your configuration but also dump it on screen, very useful for figuring out what is wrong :) <a href="https://phpc.social/tags/PHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP</span></a> <a href="https://phpc.social/tags/PHPFPM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHPFPM</span></a></p>
Scott Williams 🐧<p>I feel like <a href="https://mastodon.online/tags/Kubernetes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kubernetes</span></a> largely tamed <a href="https://mastodon.online/tags/Tomcat" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tomcat</span></a> for <a href="https://mastodon.online/tags/Java" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Java</span></a> webapps but <a href="https://mastodon.online/tags/phpfpm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>phpfpm</span></a> remains a greedy and fickle yet necessary beast for <a href="https://mastodon.online/tags/php" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>php</span></a>.</p>