il problema non è tanto php (infatti l'ho già compilato con ionCube), ma MySql che mi dà prestazioni molto negative.