My previous articles on installing PHP on CentOS dealt with installing PHP 5.2.6. I have found this to have some bugs that kill the process without error information. One bug I found, which was on an x86_64 server, was that converting an object to a string did this.
So, I have compiled the latest PHP version, [...]
Archive for the ‘Software’ Category
PHP 5.3 on CentOS 5
Posted 20th June 2009 by Andy | 102 Commentsmod_auth_mysql digest authentication patch
Posted 31st May 2009 by Andy | 2 CommentsRecently, I wrote a mod_perl module for using a database backend for basic and digest authentication in Apache, however I found it to be much slower than mod_auth_mysql. This would be due to using mod_perl and DBI. So I have written a patch for mod_auth_mysql which performs the same, which means its as fast.
The main [...]
Secure digest HTTP authentication using Webtatic::AuthDBI
Posted 24th May 2009 by Andy | No CommentsThe HTTP protocol gives a standardised way to provide authentication. This is supported via two modes:
Basic – transmit the username and password in a reversable base-64 encode
Digest – transmits complex MD5 hash of the username, realm, password, a server generated nonce, request method and request uri
Basic HTTP authentication suffers from a very easy man-in-the-middle attack, [...]
Installing PHP 5.2.6 on CentOS 5 – extra extensions
Posted 19th May 2009 by Andy | 7 CommentsUpdate 20th June 2009 – I found a bug in PHP 5.2.9, so I have compiled 5.2.9 rpms, including the ones that this article talks about, check out the article here.
Update 23rd May 2009 – It appears dbase, readline, json and filter were included either compiled into php or as a shared module in php-common, [...]
Installing PHP 5.2.6 on CentOS 5
Posted 17th May 2009 by Andy | 10 CommentsUpdate 20th June 2009 – I found a bug in PHP 5.2.6, so I have compiled 5.2.10 rpms and provided a repository from which to install them, check out the article here.
Update 19th May 2009 – I have written an article here detailing how to build RPMs and install some additional php extensions, which although [...]
Laptop DNS forwarding to DHCP DNS
Posted 8th March 2009 by Andy | No CommentsI run bind9, a DNS server, on my Ubuntu laptop so that I can use more advanced local dns resolution than what /etc/hosts can provide, such as wildcard domain names.
The problem is that in order for me to be able to use that DNS server whilst being able to resolve internet domains at the same [...]