LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-12-2006, 07:37 AM   #1
alienmagic
Member
 
Registered: Feb 2006
Distribution: Slackware 10.2, (2.6.16.16), FC 5
Posts: 109

Rep: Reputation: 15
How to disable PHP temporarily due to vulnerability


I have a new client that is running several websites on some Mandrake boxes. They are mostly running 9.1, with an old PHP version with multiple high risk vulnerabilities. Rather than update PHP, I'm going to build a new server and get them current altogether.

What I need to do temporarily is to disable PHP on one server that is only serving images to the other sites. There are no active PHP pages, but the box has 24 high risk vulnerabilities due to old PHP. I want to completely disable PHP on that box, since it's just hosting images anyway. I googled and found one site that mentioned adding the following line to httpd.conf:

php_admin_flag engine off

This seems like what I want, but I'll admit that I don't know much about PHP at all, and I'm just wanting confirmation that this will do what I want, or that it is the best way. Will this work, or is there another, or better way to disable PHP?
 
Old 05-12-2006, 07:41 AM   #2
alienmagic
Member
 
Registered: Feb 2006
Distribution: Slackware 10.2, (2.6.16.16), FC 5
Posts: 109

Original Poster
Rep: Reputation: 15
Nevermind. I had search LQ earlier too, and completely missed this post that I found when I tried searching again:

http://www.linuxquestions.org/questi...ht=disable+php

That sounds like the answer I was looking for.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
php vulnerability rino.caldelli Programming 5 12-09-2005 07:31 AM
WARN PHP Vulnerability Capt_Caveman Linux - Security 0 07-04-2005 04:38 PM
temporarily disable automount bnj Linux - Newbie 4 06-26-2005 08:41 AM
Can I temporarily disable GRUB?? Tiyogi Linux - General 4 04-15-2005 07:15 AM
PHP vulnerability glj Linux - Security 3 03-02-2002 05:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration