08-13-2013, 09:48 PM
Join Date: Aug 2013
Found a working solution
After working on it all day, and deciding to finally ask on the forum, I came across the solution that I was looking for.
That url provides instructions on how to perform the install completely via command line. I was able to skip a few steps, since all of the files were downloaded and ready to go.
I simply had to do the following...
#./configure '--prefix=/lsphp5' '--with-litespeed' --with-mysql ... (add your configuration here, which you can obtain from easyapache via "php -i" from ssh)
#patch -p0 -b < txtbgxGXAvz4N.txt
With that, the error should not display. If, for any reason, you need to run ./configure again, the php-5.2.17 directory will be wiped, and you will need to download the patch again.
After that, you simple need to update your symbolic link at /usr/local/lsws/fcgi-bin/lsphp5 to your new php build, and you should be good to go.
I recommend that if your /usr/local/lsws/fcgi-bin/lsphp5 file is not a symbolic link, that you make a copy of it, in case you have php errors. In the litespeed admin, I added a test external app to make sure that it works with my clients, before changing it, just in case (otherwise your clients will all receive 503 errors)
Hope this helps other out there with similar issues