VMWare Workstation 11 can not be installed under Ubuntu 15.04

VMWare communities thread again gives a quick for this issue here:

Find the solution below:

 

Step 1: log in as root (e.g. sudo -s)

Step 2: Enter your Root password.

Step 3: Enter these commands:

 

curl http://pastie.org/pastes/9934018/download -o /tmp/vmnet-3.19.patch

cd /usr/lib/vmware/modules/source

tar -xf vmnet.tar

patch -p0 -i /tmp/vmnet-3.19.patch

mv vmnet.tar vmnet.tar.SAVED

tar -cf vmnet.tar vmnet-only

rm -r vmnet-only

vmware-modconfig –console –install-all

 

VMware will now compile the vmnet module for Kernel 3.19. (please make sure you have DKMS installed)

Fixing php in Ubuntu

Running php scripts on apache in your Ubuntu desktop won’t be sweat at first. You might notice that php scripts start downloading when you start accessing them via browser. This is mainly because of small configuration issues that we can find on machine. If you have enabled userdir module (http://localhost/~yourusername), it contains a line to disable php values as follows in /etc/apache2/mods-enabled/php5.conf :

php_admin_value engine Off

All that you have to do is to disable the above line and restart apache to get php working.