PHP is not parsing

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
Kabouter
Posts: 2
Joined: 2013/12/29 13:02:27

PHP is not parsing

Post by Kabouter » 2013/12/29 13:58:00

I have changed some settings(In the hope webdav would work) and updated php from 5.3 to 5.4.23. Now PHP isn't parsing anymore. Does someone know how to fix it? I'm really desperate
CentOS Linux 5.10
Apache 2.2.3
html is working fine

My httpd.conf file
http://pastebin.com/jj4uvhKy

My php.conf file
http://pastebin.com/7agK5uSg

fcgid.conf
http://pastebin.com/td9DWHNV

Apache error logs

Code: Select all

[Sun Dec 29 16:29:28 2013] [notice] caught SIGTERM, shutting down
[Sun Dec 29 16:29:28 2013] [info] mod_fcgid: Process manager 23918 stopped
[Sun Dec 29 16:29:29 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Dec 29 16:29:29 2013] [notice] SSL FIPS mode disabled
[Sun Dec 29 16:29:29 2013] [warn] module php5_module is already loaded, skipping
[Sun Dec 29 16:29:30 2013] [notice] Digest: generating secret for digest authentication ...
[Sun Dec 29 16:29:30 2013] [notice] Digest: done
[Sun Dec 29 16:29:30 2013] [notice] mod_python: Creating 4 session mutexes based on 50 max processes and 0 max threads.
[Sun Dec 29 16:29:30 2013] [notice] SSL FIPS mode disabled
[Sun Dec 29 16:29:30 2013] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
httpd -t

Code: Select all

[Sun Dec 29 16:24:16 2013] [warn] module php5_module is already loaded, skipping
[Sun Dec 29 16:24:16 2013] [warn] NameVirtualHost 94.46.244.12:80 has no VirtualHosts
[Sun Dec 29 16:24:16 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
Syntax OK
httpd -S

Code: Select all

[Sun Dec 29 16:24:59 2013] [warn] module php5_module is already loaded, skipping
[Sun Dec 29 16:24:59 2013] [warn] NameVirtualHost 94.46.244.12:80 has no VirtualHosts
[Sun Dec 29 16:24:59 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
VirtualHost configuration:
94.46.245.2:80         is a NameVirtualHost
         default server domain1.net (/etc/httpd/conf/httpd.conf:1018)
         port 80 namevhost domain1.net (/etc/httpd/conf/httpd.conf:1018)
                 alias www.domain1.net
                 alias webmail.domain1.net
                 alias admin.domain1.net
         port 80 namevhost domain2.eu (/etc/httpd/conf/httpd.conf:1076)
                 alias www.domain2.eu
                 alias webmail.domain2.eu
                 alias admin.domain2.eu
         port 80 namevhost domain3.com (/etc/httpd/conf/httpd.conf:1134)
                 alias www.domain3.com
                 alias webmail.domain3.com
                 alias admin.domain3.com
         port 80 namevhost domain4.org (/etc/httpd/conf/httpd.conf:1192)
                 alias www.domain4.org
                 alias webmail.domain4.org
                 alias admin.domain4.org
         port 80 namevhost domain5.be (/etc/httpd/conf/httpd.conf:1250)
                 alias www.domain5.be
                 alias webmail.domain5.be
                 alias admin.domain5.be
         port 80 namevhost domain6.net (/etc/httpd/conf/httpd.conf:1305)
                 alias www.domain6.net
                 alias webmail.domain6.net
                 alias admin.domain6.net
         port 80 namevhost testtest.com (/etc/httpd/conf/httpd.conf:1365)
                 alias www.testtest.com
                 alias webmail.testtest.com
                 alias admin.testtest.com
         port 80 namevhost domain7.net (/etc/httpd/conf/httpd.conf:1422)
                 alias www.domain7.net
                 alias webmail.domain7.net
                 alias admin.domain7.net
         port 80 namevhost domain8.be (/etc/httpd/conf/httpd.conf:1480)
                 alias www.domain8.be
                 alias webmail.domain8.be
                 alias admin.domain8.be
         port 80 namevhost domain9.be (/etc/httpd/conf/httpd.conf:1538)
                 alias www.domain9.be
                 alias webmail.domain9.be
                 alias admin.domain9.be
         port 80 namevhost domain10.eu (/etc/httpd/conf/httpd.conf:1595)
                 alias www.domain10.eu
                 alias webmail.domain10.eu
                 alias admin.domain10.eu
94.46.245.2:443        is a NameVirtualHost
         default server domain5.be (/etc/httpd/conf/httpd.conf:1652)
         port 443 namevhost domain5.be (/etc/httpd/conf/httpd.conf:1652)
                 alias www.domain5.be
                 alias webmail.domain5.be
                 alias admin.domain5.be
wildcard NameVirtualHosts and _default_ servers:
_default_:443          server.wittoeck.com (/etc/httpd/conf.d/ssl.conf:81)
Syntax OK


I know it's not te first thread about this but I can't resolve the problem. I tried every solution I could find.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: PHP is not parsing

Post by avij » 2013/12/29 14:29:06

CentOS 5.x does not provide PHP 5.4.23. You should ask for help primarily from the guys who provided you those PHP packages.

Kabouter
Posts: 2
Joined: 2013/12/29 13:02:27

Re: PHP is not parsing

Post by Kabouter » 2013/12/29 22:12:26

I understand, but asking hurts nobody. :D
Anyhow this resolved my problem: http://stackoverflow.com/questions/9305 ... arsing-php
I tried it already but I placed it on the wrong place.

Post Reply