Red Hat Bugzilla – Bug 1283794
PH not configuring properly
Last modified: 2016-08-30 05:05:39 EDT
PHP doesn't seems to be working.
I have removed it and installed it. I have tried it with Apache and Cherokee and no matter what I do it doesn't work.
Recently with Cherokee I get service unavailable.
Sorry, not enough information
Should work out of the box
- httpd + php
- httpd + php-fpm
- nginx + php-fpm
(In reply to Remi Collet from comment #1)
> Sorry, not enough information
> Should work out of the box
> - httpd + php
> - httpd + php-fpm
> - nginx + php-fpm
Sorry about that.
I have tried
httpd + php
Cherokee + php and php-fpm and php-cgi
When I try to run in Cherokee http://localhost.info.php or say index.php it tries to open a file
In httpd it shows blank page or sometimes shows code.
Sorry no idea.
WHat is the content of your test script ?
(In reply to Remi Collet from comment #3)
> Sorry no idea.
> WHat is the content of your test script ?
When I run the following it is clear PHP isn't working although it is installed
bash-4.3$ sudo ldconfig -p 2>/dev/null | grep -i php
bash-4.3$ ldconfig -p 2>/dev/null | grep -i php
bash-4.3$ echo -e "HEAD / HTTP/1.0\n" | nc localhost 80
HTTP/1.0 200 OK
Date: Sat, 21 Nov 2015 09:27:06 GMT
Server: Cherokee/1.2.104 (UNIX)
Last-Modified: Thu, 15 Oct 2015 15:20:30 GMT
Any idea of why PHP isn't running but html is?