Solved

PHP 5.5.x with Apache 2.2

Posted on 2014-09-30
3
701 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 61

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 61

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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Question has a verified solution.

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

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Fine Tune your automatic Updates for Ubuntu / Debian
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

947 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now