See More
Popular Forum

MBA (4887) B.Tech (1769) Engineering (1486) Class 12 (1030) Study Abroad (1004) Computer Science and Engineering (988) Business Management Studies (865) BBA (846) Diploma (746) CAT (651) B.Com (648) B.Sc (643) JEE Mains (618) Mechanical Engineering (574) Exam (525) India (462) Career (452) All Time Q&A (439) Mass Communication (427) BCA (417) Science (384) Computers & IT (Non-Engg) (383) Medicine & Health Sciences (381) Hotel Management (373) Civil Engineering (353) MCA (349) Tuteehub Top Questions (348) Distance (340) Colleges in India (334)
See More

PHP modules explanation

General Tech Bugs & Fixes

Max. 2000 characters



( 5 months ago )

I have question about PHP modules that I can't understand very well how they work and I will appreciate your help.

If I have installed mod_php7 and the package contains php7, mod_php7 and php7-zts I assume that php7 are the main php files (correct me if I am wrong).

I did a lot of reading and found out that mod_php, php-fpm and FastCGI are modules for PHP that can be used.

If I install php7-fpm it doesnt include same extensions as mod_php7. My question is Do I have to install php7 and php7-zts and then install php7-fpm to make PHP work?

Another question is If I have already installed mod_php7 package that includes php7, mod_php7 and php7-zts, can I install php7-fpm and replace mod_php?

And do Apache and php-fpm work well or Nginx and php-fpm is better?

what's your interest