Fixing intermediate issues to let the php site working.