tag:blogger.com,1999:blog-18125890.post4839076745315686520..comments2023-09-24T15:25:32.807+05:30Comments on Naresh: Install HHVM (Hiphop PHP) on Centos 6.4 (64-bit)Nareshhttp://www.blogger.com/profile/18187716902126738230noreply@blogger.comBlogger67125tag:blogger.com,1999:blog-18125890.post-37840327977059536032017-09-08T18:04:03.712+05:302017-09-08T18:04:03.712+05:30Nice article thanks for given this information. i ...Nice article thanks for given this information. i hope it useful to many pepole.more <a href="https://www.perfectprofile.net/search-jobs/php-jobs-in-hyderabad/" rel="nofollow">php jobs in hyderabad</a>.Anonymoushttps://www.blogger.com/profile/05991518150961162659noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-5758757728165157592015-11-13T02:54:12.618+05:302015-11-13T02:54:12.618+05:30When I install hhvm-pgsql i get the following erro...When I install hhvm-pgsql i get the following error <br />---> Package hhvm-pgsql.x86_64 0:3.0.1-3.el6 will be installed<br />--> Processing Dependency: hhvm = 3.0.1-3.el6 for package: hhvm-pgsql-3.0.1-3.el6.x86_64<br />--> Processing Dependency: postgresql92-libs >= 9.2.8-1PGDG.rhel6 for package: hhvm-pgsql-3.0.1-3.el6.x86_64<br /><br />It appears that the hhvm-pgsql is not compatilbe with the hhvm version in your repo. Can you fix please?<br /><br />Thanks!<br />ShawnShawnhttps://www.blogger.com/profile/08714377343771965888noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-19146297495407386892014-04-27T07:43:34.539+05:302014-04-27T07:43:34.539+05:30Hello ReynerPM,
Older package was called hiphop-p...Hello ReynerPM,<br /><br />Older package was called hiphop-php. Later it was renamed to hhvm to be inline with the facebook's project name change.<br /><br />I have updated the post to use "hhvm" as the package for the current release.<br /><br />For now, in order to get out of the dependency hell, please do "sudo yum install hhvm" and you should be good. Let me know if things still doesn't work.<br /><br />Cheers !<br />NareshNareshhttps://www.blogger.com/profile/18187716902126738230noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-11559482410672847682014-04-27T06:02:34.234+05:302014-04-27T06:02:34.234+05:30I have a lot of dependencies problems:
Error: Pac...I have a lot of dependencies problems:<br /><br />Error: Package: hiphop-php-2.2.0-1.el6.x86_64 (hop5)<br /> Requires: libboost_system.so.1.50.0()(64bit)<br /> Available: boost-system-1.50.0-1.el6.x86_64 (hop5)<br /> libboost_system.so.1.50.0()(64bit)<br /> Available: boost-system-1.41.0-18.el6.i686 (base)<br /> Not found<br /> Installing: boost-system-1.54.0-7.el6.x86_64 (hop5)<br /> Not found<br />Error: Package: hiphop-php-2.2.0-1.el6.x86_64 (hop5)<br /> Requires: libboost_regex.so.1.50.0()(64bit)<br /> Available: boost-regex-1.50.0-1.el6.x86_64 (hop5)<br /> libboost_regex.so.1.50.0()(64bit)<br /> Available: boost-regex-1.41.0-18.el6.i686 (base)<br /> Not found<br /> Installing: boost-regex-1.54.0-7.el6.x86_64 (hop5)<br /> Not found<br />Error: Package: hiphop-php-2.2.0-1.el6.x86_64 (hop5)<br /> Requires: libboost_filesystem.so.1.50.0()(64bit)<br /> Available: boost-filesystem-1.50.0-1.el6.x86_64 (hop5)<br /> libboost_filesystem.so.1.50.0()(64bit)<br /> Available: boost-filesystem-1.41.0-18.el6.i686 (base)<br /> Not found<br /> Installing: boost-filesystem-1.54.0-7.el6.x86_64 (hop5)<br /> Not found<br />Error: Package: hiphop-php-2.2.0-1.el6.x86_64 (hop5)<br /> Requires: libboost_program_options.so.1.50.0()(64bit)<br /> Available: boost-program-options-1.50.0-1.el6.x86_64 (hop5)<br /> libboost_program_options.so.1.50.0()(64bit)<br /> Available: boost-program-options-1.41.0-18.el6.i686 (base)<br /> Not found<br /> Installing: boost-program-options-1.54.0-7.el6.x86_64 (hop5)<br /> Not found<br /> You could try using --skip-broken to work around the problem<br /> You could try running: rpm -Va --nofiles --nodigest<br /><br />I'm running CentOS release 6.5 (Final) with PHP5.5, any adviceReynierPMhttps://www.blogger.com/profile/01608056532926008968noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-70370686858620657522014-04-22T15:30:23.294+05:302014-04-22T15:30:23.294+05:30Hey, my bad, I didn't have EPEL on, found it i...Hey, my bad, I didn't have EPEL on, found it in thereVhttps://www.blogger.com/profile/15446198496145704658noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-74358923686085607652014-04-22T14:36:31.367+05:302014-04-22T14:36:31.367+05:30Error: Package: hhvm-3.0.1-3.el6.x86_64 (hop5)
...Error: Package: hhvm-3.0.1-3.el6.x86_64 (hop5)<br /> Requires: libdwarf >= 20130729-1.el6<br /> Installed: libdwarf-20120410-2.el6.x86_64 (@hop5)<br /> libdwarf = 20120410-2.el6<br /><br />Hi, not sure where you're getting your libdwarf from, but hop5 doesn't have a high enough version with -3Vhttps://www.blogger.com/profile/15446198496145704658noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-60534352386067982662014-04-10T16:02:08.147+05:302014-04-10T16:02:08.147+05:30Hi Naresh, any update on the 3.0.0 release for Cen...Hi Naresh, any update on the 3.0.0 release for CentOS?<br /><br />Best,<br />Tommy.Anonymoushttps://www.blogger.com/profile/16529032140585635206noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-85870672693664630192014-04-09T11:12:06.617+05:302014-04-09T11:12:06.617+05:30Hello Bas,
Thanks for that.
Yea, i am closely wa...Hello Bas,<br /><br />Thanks for that.<br /><br />Yea, i am closely watching 3.x release, Looks its only FastCGI based. I'll try to spin something, may be in the next couple of days.<br /><br />Cheers!Nareshhttps://www.blogger.com/profile/18187716902126738230noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-22520710470579249842014-04-08T17:18:16.424+05:302014-04-08T17:18:16.424+05:30Hi Naresh,
Thanks for the CentOS repo, installati...Hi Naresh,<br /><br />Thanks for the CentOS repo, installation of HHVM was a breeze! Not meaning to rush you, do you have plans to bump HHVM to the 3.0.0 release and if so, do you have somewhat of an ETA? Anonymoushttps://www.blogger.com/profile/12446966983787567510noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-18535114127408301252014-03-22T05:21:08.485+05:302014-03-22T05:21:08.485+05:30Hi Naresh,
is it possible you could have a look o...Hi Naresh,<br /><br />is it possible you could have a look on this issue thanks<br /><br />https://github.com/facebook/hhvm/issues/2129Anonymoushttps://www.blogger.com/profile/06437044145002801212noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-19719448144189102912014-03-18T18:07:35.239+05:302014-03-18T18:07:35.239+05:30Matthew, I'd suggest installing hhvm on a vm f...Matthew, I'd suggest installing hhvm on a vm first. It uses higher versions of boost/gcc packages which will conflict with other packages in the system.<br /><br />In order to continue on your current system, you need to remove "gnote" package 'yum remove gnote' and then install the hhvm packages. But, i'd not recommend this if the gnote app is heavily used by you.<br /><br />Cheers !Nareshhttps://www.blogger.com/profile/18187716902126738230noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-17685745057722473642014-03-11T08:29:52.984+05:302014-03-11T08:29:52.984+05:30--> Finished Dependency Resolution
Error: Packa...--> Finished Dependency Resolution<br />Error: Package: gnote-0.6.3-3.el6.x86_64 (@base/$releasever)<br /> Requires: libboost_filesystem-mt.so.5()(64bit)<br /> Removing: boost-filesystem-1.41.0-17.el6_4.x86_64 (@updates)<br /> libboost_filesystem-mt.so.5()(64bit)<br /> Updated By: boost-filesystem-1.54.0-7.el6.x86_64 (hop5)<br /> Not found<br /> Available: boost-filesystem-1.41.0-18.el6.x86_64 (base)<br /> libboost_filesystem-mt.so.5()(64bit)<br /> Available: boost-filesystem-1.50.0-1.el6.x86_64 (hop5)<br /> Not found<br />Error: Package: gnote-0.6.3-3.el6.x86_64 (@base/$releasever)<br /> Requires: libboost_system-mt.so.5()(64bit)<br /> Removing: boost-system-1.41.0-17.el6_4.x86_64 (@updates)<br /> libboost_system-mt.so.5()(64bit)<br /> Updated By: boost-system-1.54.0-7.el6.x86_64 (hop5)<br /> Not found<br /> Available: boost-system-1.41.0-18.el6.x86_64 (base)<br /> libboost_system-mt.so.5()(64bit)<br /> Available: boost-system-1.50.0-1.el6.x86_64 (hop5)<br /> Not found<br />Error: Package: akonadi-1.2.1-2.el6.x86_64 (@base/$releasever)<br /> Requires: libboost_program_options-mt.so.5()(64bit)<br /> Removing: boost-program-options-1.41.0-17.el6_4.x86_64 (@updates)<br /> libboost_program_options-mt.so.5()(64bit)<br /> Updated By: boost-program-options-1.54.0-7.el6.x86_64 (hop5)<br /> Not found<br /> Available: boost-program-options-1.41.0-18.el6.x86_64 (base)<br /> libboost_program_options-mt.so.5()(64bit)<br /> Available: boost-program-options-1.50.0-1.el6.x86_64 (hop5)<br /> Not found<br /> You could try using --skip-broken to work around the problem<br /> You could try running: rpm -Va --nofiles --nodigest<br /><br /><br />This is the rror i am getting can you please help me with this?Mathewhttps://www.blogger.com/profile/01901100837197431385noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-62486413991630010112014-03-02T09:13:00.312+05:302014-03-02T09:13:00.312+05:30Hi Anthony,
I have very limited resources to main...Hi Anthony,<br /><br />I have very limited resources to maintain hhvm. If i include i686 also, then its going to be bit more problematic for me to manage. I'll try to see, but cannot promise anything. Hope you understand.<br /><br />Thanks.Nareshhttps://www.blogger.com/profile/18187716902126738230noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-13268101731091446022014-03-02T01:59:27.281+05:302014-03-02T01:59:27.281+05:30Hey naresh,
Trying to install hhvm cause a multil...Hey naresh,<br /><br />Trying to install hhvm cause a multilib protection error<br /><br />Protected multilib versions: libstdc++-4.8.2-8.el6.x86_64 != libstdc++-4.4.7-4.el6.i686<br />Protected multilib versions: libgcc-4.8.2-8.el6.x86_64 != libgcc-4.4.7-4.el6.i686<br /><br />Is there by chance you will i the future provide i686 build of stdc and libgcc, so as e wont need to do a "-setopt=protected_multilib=false" ? :)<br /><br />Thanks!<br />Anonymoushttps://www.blogger.com/profile/05951231772686290540noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-24751206798756467082014-02-14T07:16:52.566+05:302014-02-14T07:16:52.566+05:30Technically yes, But the bug is due to Zend Vs HHV...Technically yes, But the bug is due to Zend Vs HHVm Implementation difference. I've filed a bug on your behalf https://github.com/facebook/hhvm/issues/1796 see that for some more details and actual fix if you are interested in.<br /><br />cheers!Nareshhttps://www.blogger.com/profile/18187716902126738230noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-24357376204610612092014-02-12T19:11:14.327+05:302014-02-12T19:11:14.327+05:30Thank you very much, now it's working...
Very ...Thank you very much, now it's working...<br />Very strange bug, from what I understood HHVM throws an error when trying to manipulate an object that hasn't been initialized... Am I right?Anonymoushttps://www.blogger.com/profile/17768342763397567632noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-55041754639462649702014-02-12T17:31:57.095+05:302014-02-12T17:31:57.095+05:30Looks like there is a bug in hhvm.
In the wp-incl...Looks like there is a bug in hhvm.<br /><br />In the wp-includes/functions.php change line 127 (wordpress 3.8.1 fresh download)<br /><br />Change<br /><br /> $date_object = date_create( null, $timezone_object );<br /><br />to<br /><br /> $date_object = date_create( "now", $timezone_object );<br /><br />I have tested this locally and seem to work fine.Nareshhttps://www.blogger.com/profile/18187716902126738230noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-69509445029101336052014-02-11T19:33:21.445+05:302014-02-11T19:33:21.445+05:30Since to the update to version HHVM-2.4.0-0-gc82fc...Since to the update to version HHVM-2.4.0-0-gc82fcd8e6199c500454b1a8b930a876ef2c1522b my wordpress blog will not show it's index anymore...<br />If I visit the page with my browser I simply get a blank page but if I manually compile the page from command line I get the following error "HipHop Fatal error: Unexpected object type stdClass. in .../wp-includes/functions.php on line 130". I can browse as always the Admin Panel and I already tried changing the theme and disabling all the plugins...<br />I'm using Wordpress 3.8.1...<br />Do you have any idea on what's going on?Anonymoushttps://www.blogger.com/profile/17768342763397567632noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-80338815855591644172014-02-11T18:05:10.291+05:302014-02-11T18:05:10.291+05:30Please follow http://nareshv.blogspot.com/2014/02/...Please follow http://nareshv.blogspot.com/2014/02/configure-hhvm-with-apache-fastcgi-on.html Nareshhttps://www.blogger.com/profile/18187716902126738230noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-55333076510007576032014-02-10T15:39:32.464+05:302014-02-10T15:39:32.464+05:30Naresh, I have tried everything on the internet so...Naresh, I have tried everything on the internet so far. All I get are Internal Server Errors.<br /><br />I installed hhvm through yum install hhvm and your repo.<br />Then I installed apache with mod_fcg through: yum install httpd mod_fcgid.<br /><br />I was not able to find on how to install mod_fastcgi on Apache, there is simply no documentation about installing this module on CentOS apache.<br /><br />My hhvm.hdf config file is as follow:<br />http://paste.ee/p/xBKmR<br /><br />Then I run the HHVM server by executing this command:<br />/usr/bin/hhvm --mode daemon --user web --config /etc/hhvm.hdf -vServer.Port=9000 -vServer.Type=fastcgi<br /><br />My Apache config for an example host is as follow:<br />http://paste.ee/p/fVBOW<br /><br />All I get are Internal Server Errors. HHVM is running correctly I assume.<br /><br />Note that I am on CentOS 6.5.<br /><br />Thanks again.<br />Anonymoushttps://www.blogger.com/profile/17455800805552525561noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-18105580862402828202014-02-10T06:47:21.104+05:302014-02-10T06:47:21.104+05:30Hello Tamer,
HHVM currently has fastcgi implement...Hello Tamer,<br /><br />HHVM currently has fastcgi implementation. Have you looked at the instructions available at http://www.hhvm.com/blog/1817/fastercgi-with-hhvm ?<br /><br />AFAIK, Multi-domain support in HHVM are a WIP (though there are virtualhosts support) . Try to see if you can use http://httpd.apache.org/docs/2.2/vhosts/mass.html and fastcgi to get things working..<br /><br />Let me know if you need anything else, i'll try to answer those.Nareshhttps://www.blogger.com/profile/18187716902126738230noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-8914392757787793382014-02-09T18:19:53.652+05:302014-02-09T18:19:53.652+05:30Naresh, could you help me out setting HHVM up with...Naresh, could you help me out setting HHVM up with Apache? Supporting multiple domains etc.<br />I couldn't get it working...Anonymoushttps://www.blogger.com/profile/17455800805552525561noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-42270680757648642532014-01-07T14:49:20.189+05:302014-01-07T14:49:20.189+05:30"Nice blog.. Thanks for sharing this blog inf..."Nice blog.. Thanks for sharing this blog information with us…<br /><br /> <a href="javascript:void(0);" rel="nofollow"> php</a> <br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-18125890.post-47327455980982818982013-12-26T10:55:14.090+05:302013-12-26T10:55:14.090+05:30Thanks so much!Thanks so much!mainyahttps://www.blogger.com/profile/17053760998243595285noreply@blogger.comtag:blogger.com,1999:blog-18125890.post-62024095407595772272013-12-17T07:50:01.995+05:302013-12-17T07:50:01.995+05:30I am working on it. hhvm 2.3.0 needs gcc 4.7 or hi...I am working on it. hhvm 2.3.0 needs gcc 4.7 or higher. Just now i have compiled gcc 4.8.2 for centos 6.4. HHVM should be available sometime this week.Nareshhttps://www.blogger.com/profile/18187716902126738230noreply@blogger.com