[CentOS] Best way to set up for PHP websites

Ruslan Sivak russ at vshift.com
Sat Dec 18 00:09:44 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am looking to set up a CentOS server for hosting a high traffic PHP
site (specifically Drupal 6).

I am trying to figure out what's the best way of setting up PHP.  The
standard mod_php seems to not be a good solution, as it requires apache
to be in the prefork configuration, due to PHP not being thread safe.

Something like mod_fcgi seems to be the way to go, but I can't seem to
find a good guide on setting it up.

I installed Zend Server, but seems like they are only supporting FastCGI
for Apache on Windows, and only mod_php on Linux.

Their admin control panel is using lighttpd and mod_fcgi on Linux.  I
getting it to work with Apache, but am having issues with the missing
mysqli libraries.

Is it recommended to use mod_fcgi on CentOS?  Is there a way to get it
to work with Zend Server?

If not, should I try to get things working with lighttpd?  I'm not sure
how easy it would be to set up a config to work with Drupal.

Russ



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFNC/vIGUZBYlCheYcRAt1cAKC7c6QwD/DDAF0hgxhEi61GvLShPgCeOLLG
JotWBicyAWvsDaAPyX7I1Jo=
=dQWS
-----END PGP SIGNATURE-----



More information about the CentOS mailing list