I have same issue. I can’t see any solution here. Is there any howto for debugging? I have made clean install 13.1. Apache is working fine with html. mod_php5.so is loaded 7 times, one by root, others by wwwrun
Copy paste the output and wrap it in CODE tags ( # in the toolbar )
If .php is being downloaded it would usually indicate that php5.conf is not being read properly and sethandler for .php files isn’t thus being properly set as application/x-httpd-php, we can see this from the curl command.
S | Name | Type | Version | Arch | Repository
--+------------------+---------+--------------+--------+---------------------
i | apache2 | package | 2.4.6-6.41.1 | i586 | openSUSE-13.1-Update
i | apache2-doc | package | 2.4.6-6.41.1 | noarch | openSUSE-13.1-Update
i | apache2-mod_php5 | package | 5.4.20-34.3 | i586 | openSUSE-13.1-Update
i | apache2-prefork | package | 2.4.6-6.41.1 | i586 | openSUSE-13.1-Update
i | apache2-utils | package | 2.4.6-6.41.1 | i586 | openSUSE-13.1-Update
I have working 11.4 install on same box and I have manually updated/copied local changed config-files(parts) to 13.1 install. Something is missing, but I can’t find what. Working 11.4 has apache2-2.2.17-80.1.i586, php5-5.3.17-387.2.i586 and apache2-mod_php5-5.3.17-387.2.i586
Yeah well that’s it then - what files have you replaced exactly?
You can’t simply copy the configuration files from an earlier, Apache 2.2 no less, to an Apache 2.4 installation. There are several changes to the configuration files and their layout.
Sorry my bad respons. I have only copied parts of config-files. Parts I think was needed for my needs. At the moment I am not sure what they are. I could easely copy all cofig files 11.4 to new 13.1 and see what happens, but as you tell that would make it worse. Other way to debug is to reinstall Apache and php to get original config and then make needed changes one by one until I find error. I have tried find differences with grep but there is too many lines to find the interesting ones for my purpose. As I told 11.4 work fine and 13.1 also except php. So my work is to find the difference causing the problem.
ServerName Intranet
# YaST auto define section
<IfDefine SSL>
SSLEngine off
</IfDefine>
At some stage in my work I used YaST http-server module and it changed this file. I have several virtual IP-based hosts and all were affected by this. As I see this is bug in YaST and in apache2/php-module.
I have reverted to rpm-original default-server.conf. No change is needed in it when using virtual hosts.