I compiled PHP from the LSWS web interface and it went well with the default parameters proposed by the admin user interface php-compilation form. My "opt/lsws/fcgi-bin/" directory contains the following files:
-r-xr-xr-x 1 root root 3317 Dec 30 23:09 lsperld.fpl
-r-xr-xr-x 1 nobody nobody 1878016 Oct 23 2006 lsphp
lrwxrwxrwx 1 root nobody 13 Jan 1 01:44 lsphp5 -> ./lsphp-5.2.5
-rwxr-xr-x 1 root nobody 15697031 Jan 1 01:44 lsphp-5.2.5
-r-xr-xr-x 1 root root 651 Dec 30 23:09 RailsRunner.rb
Issuing the "./lsphp-5.2.5 -i | more" command I get a lot of informations but not warnings or error (let me know if you need to examine the output and I can send it privately). I issued the same command to "lsphp" (I had to make it exacecutale) and it reavelead to be a php 4 executable, which showed some errors, but I suppose I'm using php5 at the moment.
What do you suggest to do? Thanks.