PHP build failure

#1
Hi all,
I have just installed litespeed, and all is well, bar the PHP config/build.
The person who set the server up I think has put MYsql in a bit of an odd place. When I build PHP, I get:

PHP:
checking whether to enable embedded MySQLi support... no
mysql_config not found
configure: error: Please reinstall the mysql distribution
**ERROR** Could not configure PHP build
Is there anyway I can flag where the builder can find the mysql config?
I have tried --mysqli= /usr/bin/mysql in the first page, and the following flags too:

--mysqli=/etc/mysql
and
--mysqli=/etc/mysql/my.cnf

None are helping.

The server is running ubuntu 2.6.28-16-generic #55-Ubuntu 64bit

This is the only thing stopping me getting this running :(

Mysql is currently running happily under apache, and I have Litespeed pulling the apache config.

Is there anyway I can get litespeed to use the PHP build that apache is using?

Cheers

J
 
Top