PHP 4.3.2 Released
seldo writes "Everyone's favourite scripting language ;-) has released an update. From their site: 'The PHP developers are proud to announce the immediate availability of PHP 4.3.2. This release contains a huge number of bug fixes and is a strongly recommended update for all users of PHP. Full list of fixes can be found in the NEWS file.' This incremental release also has useful additions, such as updating to support GD 2.0.12."
Those who don't understand perl are doomed to reinvent it poorly.
What's the official word on Apache 2.0 support? Do they still recommend that you use Apache 1.x for now?
PHP, being one of the simplest languages to learn, unfortunately attracts HUGE numbers of really bad programmers, who only know how to retrieve data from a DB (mysql, of course) and print it out using a simple loop. And then they think they know everything.
Theese are the people creating many "professional" websites - people, who have no idea why using register_globals is a distster waiting to happen, what is SQL injection, why every bit comming from the user should be treated as unsafe, etc.
PHP might be easy to use, but it's also very easy to write scripts, which should never be allowed to run on a networked computer.
This story is about PHPs new version. PHP is a scripting language which can do a lot of things. The most used is of course on the WEB, but there is also a lot of httpd, and apache is one of them, so I ask: What does story have to do with Apache?.
Perl is also supported by Apache, but I don't see Perl news under some Apache section. Don't get me wrong on this though, I love Apache and PHP, but they are two independent pieces of software.
Note to self: get smarter troll to guard door.
Slashdot might as well report every minor version change in ATI's catalyst drivers.
Repeal the DMCA!
I combed through the changenotes and here are the ones that I thought were among the most important:
# Added a new Apache 2 SAPI module (apache2handler) based on the old version (apache2filter).
# Fixed several 64-bit problems
# Fixed bug #22672 (User not logged under Apache2). (Ian)
# Fixed bug #22989 (sendmail not found by configure). (igyu@ionsphere.org)
# Fixed bug #17098 (make Apache2 aware that PHP scripts should not be cached). (Ilia)
# Fixed bug #20802 (PHP would die silently when memory limit reached). (Ilia)
# Fixed bug #21498 (mysql_pconnect connection problems). (Georg)
http://tinyurl.com/4ny52
Everything InsaneCreator just said is true. I've worked with people who have written amazingly dangerous PHP scripts for commercial web sites and don't have the programming background to understand why their code is so insecure. With support for automating PHP code generation built into Dreamweaver this is probably going to become a more widespread problem.
It's very easy to pick up the basics of PHP and develop scripts quickly, even with limited programming experience. Sadly until recently so many of the default settings in PHP (still required by a lot of freely available scripts out there) make it a non-trivial task to secure these scripts. The point about register_globals is a good one -- the fact that it allows users to change the value of a variable by specifying it in the URL is extremely dangerous for obvious reasons. This has not been the default behaviour in PHP for some time, but most people I know end up switching it back on to avoid having to rewrite all their scripts to use HTTP session variables.
Of course it's possible to write insecure code in any language, and the newer versions of PHP have filled in some of the bigger security holes, but by being so newbie friendly it's still going to end up with more than its share of dangerous scripts.
And don't even get me started on PHP-Nuke! :)
"Are you being weird, or sarcastic?" said Emma. I said I didn't know because I get the two feelings mixed up.
Before I recompile php (replacing a snap from 2 weeks ago), has apache 1.3.28 been tagged yet or what?
I don't recompile software for fun...Ok I do, but there's a limit to how much fun I want this week.
on the other hand ... put together scripts from snippets found on the web/books that often times aren't written safely and can't be read at all by a human
=)
SQL injection is, TF, inserting SQL code through HTLM forms. This is done by adding close and open quotes and comments.
The SQL code added could do anything, if not otherwise restricted--such as dump or modify the data base.
Everyone's favourite scripting language ;-)
I use Python you insensitive clod!
PostNuke security alert due to SQL Injection
yeah right. And Linux is the best OS in the world.
Nice try.
JSP/Java blows away both PHP and ASP.