Può accadere che mettendo un link audio all’interno di un post in wordpress, accade che di avere il messaggio “500 Internal Server Error”.
Disattivando il plugin Jetpack l’errore svanisce.
Guardando i log del server si noteranno i seguenti errori:
[Mon Jan 13 12:40:26 2014] [error] [client 192.80.3.219] (104)Connection reset by peer: FastCGI: comm with server “/hsphere/shared/php53/bin/php” aborted: read failed
[Mon Jan 13 12:40:26 2014] [error] [client 192.80.3.219] FastCGI: incomplete headers (0 bytes) received from server “/hsphere/shared/php53/bin/php”
SOLUZIONE
Sul server che ospita il sito basterà abilitare a versione 5.2 oppure la 5.4 per far scomparire l’errore. A quanto pare solo la versione 5.3 di php crea questo tipo di problema.
If visited using an incognito window:
[Mon Jan 13 12:40:26 2014] [error] [client 192.80.3.219] (104)Connection reset by peer: FastCGI: comm with server “/hsphere/shared/php53/bin/php” aborted: read failed
[Mon Jan 13 12:40:26 2014] [error] [client 192.80.3.219] FastCGI: incomplete headers (0 bytes) received from server “/hsphere/shared/php53/bin/php”
That’s all I see.
If I deactivate Jetpack’s shortcodes completely, it still happens. If I deactivate the plugin, it works again.
Ah, if I switch to FastCGI on PHP 5.2, it works ok. If using FastCGI on PHP v5.3, it errors out. It’s only a problem on v5.3.
SOLUTION
Enable on host php 5.4 or 5.2.