I added a nomysql version (less work to install).
Download http://znation.nl/libcod/libcod4_1_7_nomysql.so and upload it next to your cod4 binary.
Modify your startup line to:
(LD_LIBRARY_PATH might be optional)PHP Code:
LD_LIBRARY_PATH=. LD_PRELOAD=libcod4_1_7_nomysql.so ./cod4_lnxded ...your other parameters here...