I am having real time trying to get PHP installed with lsws. I keep getting erros like ac_fn_c_try_link: not found I have read http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:lsapi:troubleshoot and several other threads regarding the PHP install. This is on a barebones install. I installed the OS from start, Ubuntu 10.4.2. Installed MySQL, and Litespeed. I have a application that errors stating that it requires PHP 5.2 or greater so I try to compile via Litespeed admin interface and fight with many errors. I try from cli as per the above instructions and I still cannot get it to install. I am running this via sudo. Final line of install failure reads: ./configure: 12050: checking for dirent.h that defines DIR... : not found eval: 1: Bad substitution Thanks for any help.