<Directory />
Options FollowSymLinks
AllowOverride All
Require all denied
</Directory>
3. Apache seems to accept the .htaccess file. When I write some stupid stuff inside, I get "Internal Server Error". So Apache seems to read my .htaccess. And when I activate e.g. mod_rewrite, everything ist pretty OK and is working as expected.
But:
When I use
AddHandler application/x-httpd-php52 .php
it will not work. "phpversion()" gives me 5.5.9.. but thats not what I wanted to have!
In error-log of Apache (/var/log/apache2), I only have some notices, no real errors.. Has anyone an approach?
Question
sagacitysite
hey there,
after spending a real lot time googling, finally I have to ask a question.. maybe I made something wrong.
The goal: I want to set the php version to php 5.2 for a specific user/domain
What I did:
1. I installed FCGID, following the configuration in froxlor and using this (https://redmine.froxlor.org/projects/froxlor/wiki/FCGID_-_Handbuch) respectively this (https://redmine.froxlor.org/projects/froxlor/wiki/FCGID_-_handbook) handbook.
2. In apache2.conf I set "AllowOverride all"
3. Apache seems to accept the .htaccess file. When I write some stupid stuff inside, I get "Internal Server Error". So Apache seems to read my .htaccess. And when I activate e.g. mod_rewrite, everything ist pretty OK and is working as expected.
But:
When I use
it will not work. "phpversion()" gives me 5.5.9.. but thats not what I wanted to have!
In error-log of Apache (/var/log/apache2), I only have some notices, no real errors.. Has anyone an approach?
Thanks for any advice!
PS: using ubuntu 14.04
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.