Softaculous


Topic : Webuzo Integration with HHVM FasterCGI


1

Posted By: qinyu on March 28, 2014, 2:03 pm
Webuzo Integration with HHVM FasterCGI Add-On in Webuzo

There are two ways to do this

Using HHVM
Using HHVM FastCGI
I will cover HHVM FastCGI in this post.With HHVM fastCGI you will have to use other web server like Apache or Nginx.I would cover Nginx in this post.I have tested Nginx and HHVM fastCGI.After getting the configuration work together I set out to write this tutorial.There is decent tutorial available on HHVM website on this topic.But certainly is not detailed enough.

from http://udinra.com/blog/hhvm-fastcgi-nginx-speedup-php

Posted By: valley on March 29, 2014, 4:06 am | Post: 1
Thanks for the suggestion.
We will review it and implement it ASAP,

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter


Posted By: qinyu on March 29, 2014, 5:32 am | Post: 2
Install ClouSE from binary distribution

ClouSE is the Cloud Storage Engine for MySQL that can utilize cloud storage such as Amazon S3 or Google Cloud Storage to store relational and blob (a.k.a. structured and non-structured) data. ClouSE provides fully functional, transactional and ACID-compliant relational data management on top of cloud storage.

from http://www.oblaksoft.com/documentation/faq/?collapse

WP2Cloud requires the Cloud Storage Engine for MySQL (ClouSE) to be installed and configured on the MySQL server.  If ClouSE is not installed, WP2Cloud will fail to activate.

http://www.oblaksoft.com/documentation/

ClouSE at work
Cloud storage, such as Amazon S3 or Google Cloud Storage, brings unique advantages to almost any developer. Elasticity promise means that no up-front investments in storage are required, it releases the worries about further provisioning storage when the storage needs increase [in a predictable or unexpected manner over time], it lets the developer and IT focus on their main duties and core duties. Cloud storage infrastructure is offered on a fair per consumption basis; it is inexpensive, scalable, reliable, always available, accessible and secure.

Posted By: valley on March 29, 2014, 12:19 pm | Post: 3
Thanks for the info !!!!

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter


Posted By: mhamza on April 29, 2014, 9:20 pm | Post: 4
Desperately Needed HHVM FasterCGI Add-On

Posted By: sopedro on January 5, 2015, 10:51 pm | Post: 5
Hi ginyu, thanks for oyur tutorial, it's simple install hhvm.
I edit the file install_fastcgi.sh to fit the webuzo directory structure and include manually the hhvm.conf file in webuzoVH.conf and all works as expected.
Thank you
Pedro

Posted By: valley on January 7, 2015, 6:13 am | Post: 6
Quote From : sopedro January 5, 2015, 10:51 pm
Hi ginyu, thanks for oyur tutorial, it's simple install hhvm.
I edit the file install_fastcgi.sh to fit the webuzo directory structure and include manually the hhvm.conf file in webuzoVH.conf and all works as expected.
Thank you
Pedro


Glad that it worked for you. We shall have this implemented sooner.


-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter


Posted By: sopedro on January 7, 2015, 10:48 pm | Post: 7
Hi valley,
Yes, all work fine until i reboot my system... :P Because the hhvm package needs mysql and search by mysql installation in default path, because it doesn't find mysql it starts to install all dependencies, as a result it conflits with the installation of mysql from webuzo, in my case i use mariadb, but with mysql is the same.Deletes de PID folder and files and avoid the recreation of that files, at the moment i can't figured out a workaround for this, but i'll keep tryng.
The only solution available at the moment is to use mariadb or mysql outside folder structure of webuzo(install normally by hand) and so all works fine.
But i like very much the form that webuzo create database and user with a GUI, so please, if you have some ideas i'm ready to ear :)
BTW, Webuzo it's so far the best solution i found.
Good work!
Pedro

Posted By: valley on January 8, 2015, 6:03 am | Post: 8
Create a symbolic link for the Webuzo mysql directory to the default path as required and it should work for now with Webuzo.

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter


Posted By: sopedro on January 8, 2015, 3:03 pm | Post: 9
Hi valley,
I can't create the symlink or i don't know how to do it, but i try other solution and...........IT WORKS!!!
in mariadb my.cnf file i changed to absolute path of the pid file, in my case /var/lib/mysql/mysqld/mysqld.pid
And after that i just move the /etc/mysql/my.cnf to /etc/mysql/my.cnf.backup and all works as expected, ii reboot machine and mariadb started with no issues.
Sorry, but i'm just started to working in Linux server program 7 days ago...
Now my installations of Wordpress and magento enterprise are flying....
Thank you,
Pedro

Posted By: valley on January 9, 2015, 6:50 am | Post: 10
Hi,

Sir glad that it works for you.
We shall surely get this implemented in Webuzo sooner.

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter


Posted By: sopedro on January 9, 2015, 12:43 pm | Post: 11
Another Update to all works fine.
I create a fallback to php5-fpm, so, if hhvm fails the page is rendered with php5-fpm, to do so, we need to change de hhvm port from 9000 to 8000 in /etc/hhvm/server.ini and create a upstream.conf inside /usr/local/apps/nginx/etc/conf.d with the following contente:
upstream php {
server 127.0.0.1:8000;
server 127.0.0.1:9000 backup;
}upstream debug {
server 127.0.0.1:9001;
}
Hope this helps someone
Pedro

Posted By: sopedro on January 11, 2015, 2:44 pm | Post: 12
Hi, in demo webuzo panel in database apps it shows REDIS and in my panel 2.3.3 doesn't.
Can you help me??

Regards,
Pedro

Posted By: valley on January 13, 2015, 7:08 am | Post: 13
Quote From : sopedro January 11, 2015, 2:44 pm
Hi, in demo webuzo panel in database apps it shows REDIS and in my panel 2.3.3 doesn't.
Can you help me??

Regards,
Pedro


It is available in the Premium version of Webuzo.


-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter


Posted By: pedroresina on March 19, 2015, 12:04 am | Post: 14
Hi, do you know when HHVM is going to be implemented in Webuzo control panel?

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.