PHP very slow

I host an API REST and I just moved from another webserver to OLS. However, PHP requests are VERY slow. Usually, a request took around 300ms, but now it's over 2s. If I send multiple requests, some just time out after 30s. What could cause this? Thanks