Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > Suggestions > Topic : Webuzo Integration with HHVM FasterCGI

1


Threaded Mode | Print  

 Webuzo Integration with HHVM FasterCGI (16 Replies, Read 18650 times)
qinyu
Group: Member
Post Group: Newbie
Posts: 4
Status:
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
IP: --   

Webuzo Integration with HHVM FasterCGI
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Thanks for the suggestion.
We will review it and implement it ASAP,

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

IP: --   

Webuzo Integration with HHVM FasterCGI
qinyu
Group: Member
Post Group: Newbie
Posts: 4
Status:
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.
IP: --   

Webuzo Integration with HHVM FasterCGI
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Thanks for the info !!!!

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

IP: --   

Webuzo Integration with HHVM FasterCGI
mhamza
Group: Member
Post Group: Newbie
Posts: 2
Status:
Desperately Needed HHVM FasterCGI Add-On
IP: --   

Webuzo Integration with HHVM FasterCGI
sopedro
Group: Member
Post Group: Newbie
Posts: 24
Status:
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
IP: --   

Webuzo Integration with HHVM FasterCGI
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
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

IP: --   

Webuzo Integration with HHVM FasterCGI
sopedro
Group: Member
Post Group: Newbie
Posts: 24
Status:
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
IP: --   

Webuzo Integration with HHVM FasterCGI
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
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

IP: --   

Webuzo Integration with HHVM FasterCGI
sopedro
Group: Member
Post Group: Newbie
Posts: 24
Status:
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
IP: --   

Webuzo Integration with HHVM FasterCGI
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
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

IP: --   

Webuzo Integration with HHVM FasterCGI
sopedro
Group: Member
Post Group: Newbie
Posts: 24
Status:
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
IP: --   

Webuzo Integration with HHVM FasterCGI
sopedro
Group: Member
Post Group: Newbie
Posts: 24
Status:
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
IP: --   

Webuzo Integration with HHVM FasterCGI
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
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

IP: --   

Webuzo Integration with HHVM FasterCGI
pedroresina
Group: Member
Post Group: Newbie
Posts: 34
Status:
Hi, do you know when HHVM is going to be implemented in Webuzo control panel?
IP: --   

« Previous    Next »

Threaded Mode | Print  

1


Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 5:14 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.166