Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: how to install Apache 2.4 + PHP 5.5 + FastCgi on RHEL/CentOS |
|
Author |
|
elavarasan
Joined: 26 Sep 2011 Posts: 53
|
Posted: Sat 28 Sep '13 18:51 Post subject: how to install Apache 2.4 + PHP 5.5 + FastCgi on RHEL/CentOS |
|
|
Friends,
Please advise me that how to install Apache 2.4 with PHP 5.5, FastCgi on RHEL 5.
Currently, I'm running with Apache 2.2.3, PHP 5.3, mod_php. but i have noticed that mod_php is not stable when loading a huge concurrent access (1000 CC), it is eating more memory and CPU.
So I'm planning to setup FastCgi and do some testing to make sure that this is better than mod_php (Apache handler).
Thanks, |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
elavarasan
Joined: 26 Sep 2011 Posts: 53
|
Posted: Mon 30 Sep '13 11:34 Post subject: |
|
|
Thanks James Bond.,
I have followed your steps and almost completed every steps but at the last step FCGIWrapper /usr/lib/cgi-bin/php5 .php giving error message like Wrapper /usr/local/apache2/cgi-bin/php5 cannot be accessed: (2)No such file or directory .
Then when I check my installed PHP by using which php., it's showing /usr/local/bin location. so I did replace with this as FCGIWrapper /usr/local/bin/php .php .
But still i'm getting as Server API [Apache 2.0 Handler] instead of CGI/FCGI. via phpinfo script
So is there anything am i missed out or need to add anything?
Thanks |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 01 Oct '13 18:47 Post subject: |
|
|
That php5 in my tutorial is a symlink to php5-cgi i should correct that. so you may try whereis php5-cgi
Also make sure that you unload / comment out the php module aka apache handler. |
|
Back to top |
|
|
|
|
|
|