HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   need help for begginer (http://www.howtoforge.com/forums/showthread.php?t=53344)

iDen 8th July 2011 11:53

need help for begginer
 
Hello gurus
i'm almost total noob in building "hosting" solution.
i'm trying to build for myself web server with next technologies:

Apache+ php-fcgi + suexec + php-fpm
does ISPconfig support apache mod_fastcgi?
would php-fpm interfere in ISPconfig processes ?

I would like to have ability use different php versions for different sites, + different php.ini for each site.

for example roundcube would have own php and php ini.
2 different sites on drupal and wordpress would have separate php cgi and php.ini.

Is it possible with manual configuration not to interfere basic ISPconfig usage : creation of users virtual hosts for roundcube, drupal, wordpress, dns configs, user quota configs etc.

Also how should i start working on php-cgi. i dont know how make proper cgi binary installation. Seraching and reading google for tons of tutorials but nothing normal which would place some checkpoints in my knowledge of this question.

So i have to download php source. compile it with fastcgi and php fpm. install php-fpm and fastcgi separately on server. And then enable mod_fastcgi in apache. Am i right ?

one more question. while i'm adding supported php modules while compiling binary, how should i enable some other module for php after compilation ? is it possible ? or i have to recompile new binary ?

Please your answers would help me to understand question. i'm not asking for axact tutorial and commands. Just blueprint of things which i have to consider during experiments and investigation

till 8th July 2011 12:14

ISPConfig uses pho-fcgi and not php-fpm.

Quote:

I would like to have ability use different php versions for different sites, + different php.ini for each site.
Thats a function of ISPConfig. So no manual configuration needed.

Just follow the ISPConfig 3 perfect setup guide and you have a fully featured hosting server with php-cgi, php-fcgi, suphp and mod_php support builin. There is also no need to compile any php binarys, in these days, the Linux distriobutions are offering already php binaries for purposes like cgi, cli, mod_php etc. in their repositorys.

So all you have to do is follow one of these tutorials:

http://www.ispconfig.org/ispconfig-3/documentation/

I recommedn to use the debian 6 tutorial.


All times are GMT +2. The time now is 07:50.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.