English | Magyar
JS ki | CSS ki | Ékezetek ki | HiContrast
Lapozó:  (0 - 1424) 
<== | ==>
Ugrás a végére | Összes megjelenítése | Utolsó oldal
OpenOpera patches | Opera-SSL patches | Opera 12.15 source (Git repository) | Opera 12.15 source (Torrent) | Opera internal pages | Otter Browser Linux x64 - Qt5.15.2/QtWebKit5.602.1 (2024.04.27. 20:05)
OS for MC680x0 | OS for PPC | OS for Sparc64 | besztofbégéaefcé | CSÉNDZSLOG | WebToolz | DDG Shit Filter | Google Shit Filter | Progz | Fast CSS Box | Browser | OS | Agent | Statisztika | BBCode
Monospace font-family: Courier New | Browser default monospace
Email értesítő / Email notification ===> 
Keresés
Σ: 1 post

TCH  (statz) Főfasz
#1, Főfasz (10443)
1882 | #5807 | ^ | Idézet | Thu, 25 May 2023 14:23:47 +02
188.143.*.* Linux x86 Opera Classic Hungary *.pool.digikabel.hu
Biztos, hogy bele akarsz ebbe mászni?
Csak mert az a probléma, hogy egyszálú a PHP-d, ezért a szerver fork()-olja saját magát, hogy többszálúságot tudjon biztosítani a konkurens lekérések kiszolgálásához, ergo ennek a PHP-nak a futtatásához szükséges az mpm_prefork modul. Ha lekapcsolod, akkor nincs PHP.

Az egyik megoldás erre az, hogy forgatsz magadnak egy többszálú, threadsafe PHP-t, ami viszont azzal jár, hogy az összes non-threadsafe feature-jét és modulját bukod a PHP-nak, amiből nem kevés van.
Ha ez megvan, akkor le lehet kapcsolni a preforkot és engedélyezni a workert.

A másik az az lenne, hogy FastCGI-vel tolod, ami nagyjából így nézne ki:
apache2ctl stop
apt-get install php7.4-fpm apache2-utils
a2dismod php7.4 mpm_prefork
a2enmod actions fastcgi alias mpm_worker
touch /usr/lib/cgi-bin/php7.4.fcgi
chown -R www-data:www-data /usr/lib/cgi-bin
Aztán szerkeszteni kéne a /etc/apache2/mods-available/php7.4.conf fájlt és belebaszni a végére, hogy
<IfModule mod_fastcgi.c>
   AddHandler php7.4.fcgi .php
   Action php7.4.fcgi /php7.4.fcgi
   Alias /php7.4.fcgi /usr/lib/cgi-bin/php7.4.fcgi
   FastCgiExternalServer /usr/lib/cgi-bin/php7.4.fcgi -socket /var/run/php7.4-fpm.sock -pass-header Authorization -idle-timeout 3600
   <Directory /usr/lib/cgi-bin>
       Require all granted
   </Directory>
</IfModule>
Aztán:
a2enconf php7.4-fpm
apache2ctl start
/etc/init.d/php7.4-fpm restart
Ez az utolsó sor nálad lehet másképp lesz, ha valami systemd fertőzött disztrót használsz:
systemctl restart php7.4-fpm.service
Vagy mittudomén, faszom tudja, hogy megy ez shitsteamd alatt...

Na most, ezt én sosem próbáltam, nem tudom, hogy így látatlanban ez menne-e, vagy sem, tehát nem tudok garanciát vállalni rá.


English | Magyar
JS ki | CSS ki | Ékezetek ki | HiContrast
Lapozó:  (0 - 1424) 
<== | ==>
Ugrás a végére | Összes megjelenítése | Utolsó oldal
OpenOpera patches | Opera-SSL patches | Opera 12.15 source (Git repository) | Opera 12.15 source (Torrent) | Opera internal pages | Otter Browser Linux x64 - Qt5.15.2/QtWebKit5.602.1 (2024.04.27. 20:05)
OS for MC680x0 | OS for PPC | OS for Sparc64 | besztofbégéaefcé | CSÉNDZSLOG | WebToolz | DDG Shit Filter | Google Shit Filter | Progz | Fast CSS Box | Browser | OS | Agent | Statisztika | BBCode
Monospace font-family: Courier New | Browser default monospace
Email értesítő / Email notification ===> 
Keresés

Név: (max 255 byte)

Email: (max 255 byte) Nem kötelező!

Üzenet: (max 65536 kar.) 65536-0=65536




crap_vkn v4.34.0 by TCH
Thx to saxus for the escaped string decoder function (PHP), the realIP function (PHP) & the SQL handle layer (PHP), to thookerov for the int_divide function (PHP), to Jeff Anderson for the getSelText function (JS), to Alex King for the insertAtCursor function (JS), Flood3r for the new CSS styles, Pety for the spamprotection idea and some design and comfort ideas, MaxMind for the IP2Country database, famfamfam for the flags of countries and an unknown PHP programmer for the removeAccents function.



Kecskebaszók ide!