PHP 4.3.6 Released 34
ehmdjii writes "The PHP Development Team is proud to announce the release of PHP 4.3.6. This is is a bug fix release whose primary goal is to address two bugs which may result in crashes in PHP builds with thread-safety enabled. All users of PHP in a threaded environment (Windows) are strongly encouraged to upgrade to this release.
All in all this release fixes approximately 25 bugs that have been discovered since the 4.3.5 release. For a full list of changes in PHP 4.3.6, see the ChangeLog."
Fellow slashdotters, I need karma (Score:1, Interesting)
What irritates me... (Score:1, Interesting)
Anyone know anything more about this?
Compile 64bit? (Score:4, Interesting)
"Fixed bug #27717 (Test Failures when compiled on 64-bit mode)"
Re:Compile 64bit? (Score:1)
Re:NO MORE PHP! (Score:5, Insightful)
Try some self-discipline. It's not the language's fault.
Re:NO MORE PHP! (Score:1, Insightful)
If you're not entangling your content, presentation and logic with PHP, then you're wasting time and should have chosen something better
Re:NO MORE PHP! (Score:1, Insightful)
Re:NO MORE PHP! (Score:1, Insightful)
Oh yeah, Java makes it pretty trivial to cache content too.
Re:NO MORE PHP! (Score:5, Informative)
don't bother with 911 just download Smarty.
Try it, it's what makes PHP really nice. PHP without Smarty is almost sure to become an unmaintainable mess, especially if more than one person is working on a project. PHP + Smarty is the perfect seperation of content, presentation, and business logic.
Re:NO MORE PHP! (Score:1, Interesting)
I know that it's not good practice for large projects - but really, a website is not typically a large project.
If I wanna just throw a quick 'page last updated' in, why NOT do it inline?
Re:NO MORE PHP! (Score:2)
Re:NO MORE PHP! (Score:1)
either one of two things will happen:
1) your site will stay small and you'll be able to maintain it and you'll be happy it was so easy and didnt waste the hour of time learning to use a templating system.
or
2) your site grows into a huge tangle of mess and it will bite you in the ass and you'll develop a life long fear or anything that remotely approuches the mixing of presentation and logic and content. but at this point you have a large succe
Threaded environment (Score:3, Interesting)
It's not just Windows that can be threaded environments, FreeBSD and Linux also have the option of using the per-child MPM.
Re:Threaded environment (Score:3, Interesting)
According to the Apache docs, perchild MPM does not work. Using FastCGI PHP will likely have much better results. PHP has always had problems with thread safety.
Re:Threaded environment (Score:2, Insightful)
Re:Threaded environment (Score:3, Insightful)
You are correct that PHP's thread safety issues (most likely) lie with third party libraries. However, PHP could fix most of the problems by using mutexes around the unsafe library calls.
Fixes for Apache 2.0? (Score:2)
Re:Fixes for Apache 2.0? (Score:2)
Re:Fixes for Apache 2.0? (Score:2)
* fingers crossed *
Re:Fixes for Apache 2.0? (Score:2)
Slow day... (Score:1)
thread bugs (Score:3, Funny)
Re:thread bugs (Score:2)
Re:thread bugs (Score:2)
Python has full thread support.
Re:thread bugs (Score:1)
Serious question: are there any open source scripting languages that _can_ handle threads?
PHP itself is completly thread safe, but as soon as you link it to a library, that is not threadsafe PHP isn't thread safe anymore and usually you link PHP against many libs (glibc, gd, libxml2, mysql, ldap, ...) and some of them aren't thread safe. Just configure PHP with something like
and you've got an threadsafe PHP build for Apache2 - but using this isn't any fun since
PHP 5 (Score:1)
Re:PHP 5 (Score:4, Interesting)
I think you don't really need public/private/protected in a scripting language. More interesting for me are other improvements like that assignments like
are made by reference. With PHP4 even the first line would create a copy of the object. Also interesting arenew extensions like MySLi [php.net], the new soap extension [php.net] or the rewrite of the XML-Extensin based on libxml2 (including the realy nice SimpleXML-Extension [php.net]) ....
A collection of PHP5 information can be found p.e. on this German site [phpbar.de] (most links lead to English pages, and I'm one of the ones running this site - so it's the best (German) PHP site *g*)