I have LSWS 4.0.12 installed with PHP 5.2.5. I need to add mysqli support, but LSWS admin only gives me the option of compiling 5.2.8 and higher, and the "Use configuration from previous build" button is not available. Is there a reason why I'm not able to recompile 5.2.5 via LSWS? If it's necessary to upgrade, I assume it will be safe to copy the current config from phpinfo (below)? But what about the default set of flags showing in LSWS compile page? Are certain ones (or all) required?
Thanks for any help.
Code:
--prefix=/usr/local/lsws/lsphp5' '--with-litespeed' '--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-discard-path' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-sockets' '--enable-zip' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr' '--with-gd' '--with-jpeg-dir=/usr' '--with-libxml-dir=/opt/xml2/' '--with-mysql' '--with-png-dir=/usr' '--with-ttf' '--with-xpm-dir=/usr/X11R6' '--with-zlib' '--with-zlib-dir=/usr' '--without-pdo-sqlite'