Hello,
please, can somebody help me with installation of Apache 2.4 and PHP 5.4 or in better case in 5.5? I tried 2 “manuals” how to do it, but first didn’t work a second has errors with which I don’t know what to do.
Now server throws error 500 and doesn’t write anything in logs.
In error log is: [Sun Jun 30 19:59:12.707272 2013] [mpm_prefork:notice] [pid 1458] AH00163: Apache/2.4.4 (Linux/SUSE) PHP/5.4.12 configured – resuming normal operations [Sun Jun 30 19:59:12.707346 2013] [core:notice] [pid 1458] AH00094: Command line: ‘/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SYSTEMD -D NO_DETACH’ [Sun Jun 30 19:59:29.738862 2013] [core:error] [pid 1477] [client ::1:32861] AH00027: No authentication done but request not allowed without authentication for /. Authentication not configured? [Sun Jun 30 19:59:29.746724 2013] [core:error] [pid 1477] [client ::1:32861] AH00027: No authentication done but request not allowed without authentication for /error/HTTP_INTERNAL_SERVER_ERROR.html.var. Authentication not configured? [Sun Jun 30 19:59:30.016658 2013] [core:error] [pid 1478] [client ::1:32862] AH00027: No authentication done but request not allowed without authentication for /favicon.ico. Authentication not configured? [Sun Jun 30 19:59:30.016853 2013] [core:error] [pid 1478] [client ::1:32862] AH00027: No authentication done but request not allowed without authentication for /error/HTTP_INTERNAL_SERVER_ERROR.html.var. Authentication not configured? [Sun Jun 30 19:59:30.022341 2013] [core:error] [pid 1479] [client ::1:32863] AH00027: No authentication done but request not allowed without authentication for /favicon.ico. Authentication not configured?
*[Sun Jun 30 19:59:30.022453 2013] [core:error] [pid 1479] [client ::1:32863] AH00027: No authentication done but request not allowed without authentication for /error/HTTP_INTERNAL_SERVER_ERROR.html.var. Authentication not configured?
*In project on which I work we use PHP 5.4 and we want switch to PHP 5.5. And I found that I have to install Apache 2.4, when I want install PHP 5.5 (on OpenSuSE).
I added php 5.4 and apache 2.4 factory repos to repos list in Yast.
su
rcapache2 start
It seems like everything works correctly, no errors displayed
AFAICS the PHP 5.4 packages DON’t require Apache 2.4, they just require apache2.
So I would suggest to switch apache back to the version included in standard openSUSE 12.3, since those 2.4 packages contain a non-working default configuration (at least until recently). But delete /etc/apache2 first, otherwise you just keep that invalid configuration!
Please show your repo list and installed apache packages, and I will give you detailed steps how to proceed:
zypper lr -d
rpm -qa | grep apache
Regarding apache 2.4 see f.e. here: Access Denied (comment #1 exactly mentions your error log entries)
You can find hints there how to get 2.4 working if you want to stay with that version.
Apparently you have to run:
No, I don’t need Apache 2.4, I just read somewhere it is recommended to have it when you want install PHP 5.4+. So I can have Apache 2.2 without problems.
linux-upjd:/etc # zypper lr -d
| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service