If you do switch back to php 4, before you do just check and see what
table types you are using. It is myisam or innodb?
If it is myisam and there are lots of writes occurring on the table it
will preform a table lock on each write, you maybe better off switching
to innodb and row locking.