Solved

PHP 5.5.x with Apache 2.2

Posted on 2014-09-30
3
720 Views
Last Modified: 2014-10-04
What are the dr

Hi,

I installed from sources PHP 5.5 on Ubuntu 12.04 apache 2.2, I have read that 5.5x versions are apache 2.4  compatible.
But I find my wordpress based app run smooth on PHP 5.5.16 with Apache 2.2
It's running and all now run 24 hours without errors.
What are the drawbacks? Shall I expect some problems and why it always can be seen that PHP 5.5 require Apache 2.4 as min but looks like it's not a true?
Please comment.

I wonder if I should expect some issues unpredicted and maybe switch back to 5.3 or 5.4 ?

Please advice.
0
Comment
Question by:Ian Simonv
  • 2
3 Comments
 
LVL 62

Expert Comment

by:gheist
ID: 40354516
Yes, in-memory mod_php is incompatible.

All apache versions can use mod_fcgi and map to php-cgi or php-fpm.
That isolates ram-hungry PHP from high-performance threaded webserver lika apache-event
At that point it does not matter you run apache 2.0 or nginx prerelease - PHP is one app server and webserver is busy with it;s task.
0
 

Author Comment

by:Ian Simonv
ID: 40356050
If that is incomatible why it work without errors?
0
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40356298
While you use single-threaded apache-prefork it works. problems always start with multi-threaded usage. But I think no new there, it was same with 5.3, 5.4 and probably before...
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Fine Tune your automatic Updates for Ubuntu / Debian
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question