--with-openssl, the OpenSSL library is required. Mysqli is a MySQL driver provided by the MySQL team, with many useful features and typical features. But he's not the best choice for MySQL on the PHP platform, PDO is proven to be a simple, high concurrency, and easy to create and recycle standard interface. However, PDO also experienced a 5.3 memory overflow problem, and after 5.3, when reading Oracle's LOB resources, the memory is not throttled, but it will still overflow.
If it is a product model, like pear, SHMOP, FTP, etc., are not recommended to use, they want to do things, in C/s, with Java, and even other scripting language, there is a very good and fast choice, not limited to the use of PHP to achieve. Unfamiliar class libraries and infrequently used libraries are also deprecated. Magic-quote, Session.auto_start, PHP server information, PHP error information, etc. after the compilation is completed, the first time should be closed, to avoid exposing the server information.
PHP corresponds to the Web server mode, Module, fastcgi, FPM only need one, the server is not your experimental plot. FastCGI can choose Nginx and lighttpd, in fact, Nginx is also using lighttpd spwan-fcgi for fcgi process management. FPM is the use of PHP itself to manage multiple processes, a bit like a back-end agent. No matter what the mode, in the release of the product server, should do the process and thread tuning, do enough stress testing, find out the best combination of processes.
Choose a php OPCode cache extension, this is also very important, under the Linux 2.6 core, under the fcgi, XCache has good practical experience, the other after the increase in concurrency, the performance attenuation is serious.
If you really want to experience, would rather compile more than a few PHP version, also do not for a version of PHP set up a variety of extensions, adapt to a variety of environments, this will make yourself into a dilemma.