HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   How To Set Up apache2 With mod_fcgid And PHP5 On CentOS 5.2 (With ispConfig 2)? (http://www.howtoforge.com/forums/showthread.php?t=33747)

efree_unix 16th April 2009 15:11

How To Set Up apache2 With mod_fcgid And PHP5 On CentOS 5.2 (With ispConfig 2)?
 
Hi, I have read your good tutorial with the topic "How To Set Up apache2 With mod_fcgid And PHP5 On CentOS 5.2."

I want to install mod_fcgid on my server. but I have installed apache2, PHP5, and ispConfig 2 on centos 5.2 and it ran smoothly. can I follow that tutorial? or there are somethings that I need to do because I use ispConfig maybe?

I really need your explanation. thank you very much...

falko 17th April 2009 17:24

ISPConfig 2 doesn't support mod_fcgid, so you'd have to add the configuration directives for mod_fcgid to the Apache Directives field of each web site in ISPConfig.

efree_unix 18th April 2009 05:08

How? Could you give an example?

falko 19th April 2009 15:47

You can find an example here: http://www.howtoforge.com/how-to-set...-on-centos-5.2

efree_unix 20th April 2009 04:27

thanks falko. all running smoothly.
but there is one that makes me confused. if I commented out the "#LoadModule php5_module modules/libphp5.so" in "/etc/httpd/conf.d/php.conf", then when I tried to restart httpd service, the error message would appear like this:
Starting httpd: Syntax error on line 50 of /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
[Failed]
.

but if I did not comment out "LoadModule php5_module modules/libphp5.so", all running smoothly. Do you know the problem?

falko 20th April 2009 12:15

php_admin_flag works only with mod_php.


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

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