<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> apache2-mpm-prefork : Conflicts: apache2-mpm which is a virtual package.<br>
 apache2-mpm-worker : Conflicts: apache2-mpm which is a virtual package.<br></blockquote><div><br>Prefork version of apache2 uses the traditional non-threaded model whereas the worker version of apache2 uses the threaded model. Both cannot exist on a Ubuntu system at the same time. This is because both these packages provide the same-named files (libraries, binaries etc.), thereby creating a conflict.<br>

 </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The following actions will resolve these dependencies:<br>
<br>
     Remove the following packages:<br>
1)     apache2-mpm-worker<br></blockquote><div><br></div></div>The package: libapache2-mod-php5 is created to work with the traditional non-threaded version of apache2. This is the reason that you must remove the package: apache2-mpm-worker and install the package: apache2-mpm-prefork.<br>

<br>The following command should help you to resolve this issue:<br><br>sudo apt-get install -f libapache2-mod-php5<br><br>Regards,<br>Rigved<br>