View previous topic :: View next topic |
Author |
Message |
binro l33t
Joined: 06 May 2005 Posts: 724 Location: Bangkok, Thailand
|
Posted: Sat Mar 02, 2013 6:34 pm Post subject: Apache 2.4.4: CGI files displayed not executed [SOLVED] |
|
|
Apache upgrades are getting to be quite a bore. Having eventually managed 2.2 to 2.4, I casually upgraded from 2.4.3 to 2.4.4-r1 and now most of my PHP apps don't work. I have had the following set up for years:
00_default_vhost.conf
Code: |
<IfDefine DEFAULT_VHOST>
Listen 80
<VirtualHost *:80>
ServerName localhost
Include /etc/apache2/vhosts.d/default_vhost.include
# Keep PHP applications separate
Alias "/phpmyadmin" "/var/www/phpmyadmin"
<Directory "/var/www/phpmyadmin">
Options Indexes FollowSymLinks ExecCGI
Require all granted
</Directory>
</VirtualHost>
</IfDefine>
|
and httpd.conf has
Code: |
Options +ExecCGI
AddHandler cgi-script .cgi
|
included. All the correct new flags and options are set. It all worked this morning! Now when I click the URL for phpmyadmin I see the code! What has suddenly changed?
TIA _________________ "Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
Last edited by binro on Sun Mar 03, 2013 1:47 pm; edited 1 time in total |
|
Back to top |
|
|
papahuhn l33t
Joined: 06 Sep 2004 Posts: 626
|
Posted: Sat Mar 02, 2013 8:58 pm Post subject: Re: Apache 2.4.4: CGI files displayed not executed |
|
|
Maybe you should use mod_php then. _________________ Death by snoo-snoo! |
|
Back to top |
|
|
binro l33t
Joined: 06 May 2005 Posts: 724 Location: Bangkok, Thailand
|
Posted: Sun Mar 03, 2013 7:13 am Post subject: Re: Apache 2.4.4: CGI files displayed not executed |
|
|
papahuhn wrote: | Maybe you should use mod_php then. |
That was the problem! During the update the -DPHP5 got removed from /etc/conf.d/apache2 and nobody asked me. Still a problem with Nagios but I don't have time now, more details later.
Thanks. _________________ "Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling |
|
Back to top |
|
|
binro l33t
Joined: 06 May 2005 Posts: 724 Location: Bangkok, Thailand
|
Posted: Sun Mar 03, 2013 1:46 pm Post subject: |
|
|
Same problem, -D NAGIOS was removed. Panic over. _________________ "Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling |
|
Back to top |
|
|
|