I've been able to build PHP from the source distribution but now lampp doesn't start. Both Apache and MySQL fail with a similar error:
error while loading shared libraries: libssl.so.0.9.8: wrong ELF class: ELFCLASS64
I think this is because MySQL and Apache were linked against a 32-bit version of this library and I overwrote it with the 64-bit version so I could build PHP.
Please direct me to the configure and build parameters for Apache and MySQL, I'm going to attempt to recompile them as well but I could not find this information in the distribution or on this site.
Thank you!
Jeff