There is a lpsolve extension for PHP.
Here you can download the PHP extension. Copy the extension to your php/ext/ folder. Then restart your server and you can use the extensions and the functions.
A tutorial: http://lpsolve.sourceforge.net/5.5/PHP.htm