It should work fine in PHP 5
If you're using a 64 bit linux server, check the official SA-MP Wiki to properly configure your server on Linux.
Also in the server.cfg, rcon should not be present or must be set at 1, otherwise rcon's features will not work.
rcon
1
Do not use root. Create a samp user instaed; it does not need to be sudoer.
There was an error while loading. Please reload this page.