I want to Compile tha latest version of PHP 5.6 (currntly 5.6.3) statically so that if i transfer to another machine it will work without any other library/modification.
I tried to do it myself, and although i managed to compile it as static , when i transfer it to another machine, i am trying to start php, but i get some errors for missing libraries.
In the ./configure command i has --enable-shared=no and --enable-static=yes , the compilation completed successfully but some libraries didnt compile as static, so its more tricky than it seems.
i tried later to do it using
pkg_config='pkg-config --static' ./configure LDFLAGS=-static ............
which seems better approach of compiling everything as static, however i get some errors that was unable to fix so i decided to post it to freelancer.
I want it in max 1 day. I will give you the configure command i want you to embed after biding. Please bid within my budget, should be very easy task with a simple knownledge of compiling.
After finishing your job, you have to give me a bash script for every command you followed to do the compilation so that i can do it myself for new upcoming versions.