Hi Sharma
Me again. What exactly is your setup? You have Linux at home and you don't have LAMP set up? Or is it the case that you test your scripts by FTPing to your hoster on a remote server which is running LAMP?
I suspect the latter. If that's the case, you will only be allowed to re-compile PHP if you have a root server. Do you have a root account on your webserver? If you have SSH access, I assume so. You need to open your SSH and go through exactly the same steps as would be required for recompiling PHP at home. In this case, PHP is already installed. You need to find out the version and then decide whether to stick with that version or upgrade. If you are simply recompiling the existing version, the procedure is easy:
/.configure --enable-wddx /*You need several other parameters here.
Check your config.log for the previous configure statement*/
make
make install
If LAMP is already set up on your webserver, the appropriate alterations to the httpd.conf files for Apache/PHP will already be in place, so you won't have to worry about it.
If, however, you want to set up LAMP from scratch on a Linux box at home or work, you need to start with Apache, then MySQL, then PHP - in that order. The procedure for compiling the sources is in each case the same: configure, make, make install. However, you'll have to read up about the parameters available and make your own decisions about which parameters should be used. You also need to make sure that the full panoply of C/C++ compiler tools are installed. This includes glibc, gcc, zlib and dozens of others. If you have a package manager, just install absolutely everything under C/C++ tools and libraries. Lord knows what they all do, but you need them. One note of warning - the compiler packages often come as a basic tool and a development library. You need both - they often don't tell you that in the docs and manuals.
HTH - post back if I've missed the mark completely.
Norm 🆒