FWIW, I used this Open Source package to help me with my site. There are numerous C Library functions "wrapped" in PHP. https://pecl.php.net/package/trader My site (www.fasterbull.com) only deals with EOD data so my solution is not necessarily going to be appropriate for tick data. good luck! fan27