Solved

php upgrade

Posted on 2002-03-07
3
256 Views
Last Modified: 2012-05-04
Hello,

With the recent announcement of the PHP exploit (see http://www.php.net), I have been charged with upgrading all of our servers.  All of them went smoothly - except for one:

Redhat Linux 5.2
Redhat Secureweb 2.0 (Redhat's Apache with SSL, based on Apache 1.3.1)
PHP 3.0.5
(Yes, I know these are all old!)

I have tried the following:
- Dropping in a patched 3.0.18 libphp3.so, compiled on another machine
I gotten several errors, the showstopper being:
undefined symbol: ap_regexec
- compiling 3.0.18 on the Redhat 5.2

- patching and compiling 3.0.5 on the Redhat 5.2
Can't even get it patched, as there are several code changes to the mime.c, I tried dropping in the mime.c from the 3.0.18 and compiling, but no luck.

Is there anyone that has had this situation and was able to upgrade?  Please help!

Thanks,

Tom
0
Comment
Question by:tom419
3 Comments
 
LVL 3

Accepted Solution

by:
rycamor earned 300 total points
ID: 6879164
1. Are you sure your patch was successful? How about documenting exactly what you did to patch the PHP 3.0.18 source, and then your steps to compile.

2. You might not be vulnerable anyway, because the exploit was only documented for PHP versions 3.0.10-3.0.18.

3. BTW, the simple fix, if you don't want to update, is just to disable file uploads in php.ini. If you really need file upload capability, just find a good Perl CGI script for that and call it a day.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Please show me easiest post form. 3 31
form button worked now it doesnt anymore 9 41
Session timeout 5 14
Could you point how to give Bootstrap's open/ close menu effect ? 25 34
This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
This article discusses four methods for overlaying images in a container on a web page
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now