Skip to main content

Posts

Showing posts from May, 2017

HHVM PHP Convert to ByteCode Building the Repo and Deployment Process

Step 1: Manually Building the Repo.          Two type method of building the Repo. :- Sub Step 1:  Everything Under a Root  To build a repo including all files recursively under /path/to/root, invoke HHVM like this: $ sudo hhvm --hphp -t hhbc -v AllVolatile=true --input-dir /var/www/html Sub Step 2:  Manual List of Files Instead of a directory, you can also pass it an explicit list of filenames to put in the repo or a master file that contains all of the files, one per line, that should be put in the repo. (Keep in mind that the commands below are generating two separate repos -- you can't add to or remove from a repo once it's been generated!) $ sudo hhvm --hphp -t hhbc -v AllVolatile=true test.php OR  $ sudo hhvm --hphp -t hhbc -v AllVolatile=true --input-list test.txt Example : The test.txt should look like this : /var/www/html/index.php /var/www/html/isrc/a.php /var/www/html/isrc/b.php /var/...

Install HHVM (HipHop Virtual Machine) On Ubuntu 14.04 Using Apache Or Nginx

Step 1 First we need to add the HHVM key to your Ubuntu Server with the following command: $ sudo wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add - Step 2  Next we are going to add the HHVM source to your sources list with the following command: $ sudo echo deb http://dl.hhvm.com/ubuntu trusty main | sudo tee /etc/apt/sources.list.d/hhvm.list Step 3  Now that we added the key and sources it is a good idea to run and update with the following command: $ sudo apt-get update Step 4  Now we can install HHVM with the following command: $ sudo apt-get install hhvm Step 5   Make it start on boot by running the command: $ sudo update-rc.d hhvm defaults Step 6  HHVM includes an excellent script to install FastCGI based on web server you have installed. Run it with the following command: $ sudo /usr/share/hhvm/install_fastcgi.sh Step 7  Note: On Apache there have been issues with hhvm_proxy_fcgi.conf not matching the defaul...

How to Install Mantisbt Bug Tracker On Ubuntu & Windows

Ubuntu 16.04 :- MantisBT is an open source issue tracker.We will look at installation of Mantis on ubuntu 16.04 OS. You can download mantis from This download contains a zip file containg the php code for mantis Extract the zip file and Copy the directory to  /var/www/html/mantis directory sudo unzip mantisbt-2.4.0.zip mv mantisbt-2.4.0 /var/www/html/mantis Pre Requisites mantis requires the mbstring module of php . Run the following command to install and enable the same sudo apt-get install libapache2-mod-php5 sudo apt-get install php5 libapache2-mod-php5 sudo php5enmod mbstring sudo apt-get install php5-mysql sudo apt-get install php5-xcache Access the url from the webbrowser to initiate the setup http://localhost/mantis/admin/install.php Enter the server and database details and click on “Install/Upgrade” button to finish installation This will do the necessary installation. To access mantis login page access the url http://localhost/mantisbt/log...