Install error on FreeBSD10

#1
I downloaded the trial of Litespeed webserver, and tried to compile PHP 5.5.8 through the web admin, but it stops with this error message. Am I supposed to install some packages manually before compiling PHP on FreeBSD?

If configure fails try --with-vpx-dir=<DIR>
If configure fails try --with-jpeg-dir=<DIR>
configure: error: png.h not found.
**ERROR** Could not configure PHP build
 
Top