Posts

Showing posts with the label PHP-FPM

FIX: The gateway did not receive a timely response from the upstream server or application.

Kali ini ketemu masalah baru setelah menggunakan PHP-FPM terkait cetak halaman ke file PDF sebanyak 87 halaman. Setelah error kemaren di .htaccess juga, malam ini errornya: The gateway did not receive a timely response from the upstream server or application. Solusinya dengan menaikkan Timeout pada file httpd.conf Apache menjadi 600. Eh, sebenarnya memang tidak tertera di file tersebut sih. Selain itu, sebelum menaikkan Timeout ini, di file php.ini juga ditambahkan nilai  max_execution_time 600. Setelah melakukan perubahan pada kedua file ini, lalukan restart Apache dan PHP-FPM nya: service apache24 restart service php-fpm restart

FIX: Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe in FreeBSD

Image
Saat menjalankan PHP-FPM di server FreeBSD, tapi apache komplen dengan error seperti di judul ini: FIX: Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe in FreeBSD Solusi saat ini saya buang saja mod_php nya dari "pkg remove". Hasilnya, php-fpm dengan webserver Apache sudah bisa running. Segitu saja sih solusinya, kalau ada yang lebih bagus silakan ditulis di kolom komentar.