php - Fastcgi and version detection in HHVM -


i install hhvm using git clone, , have installed fastcgi , configured apache 2.4, still not able run files on hhvm server.

 sudo hhvm -m server -vserver.type=fastcgi -vserver.port=9000  

i run above , following error

warning: logging before initgooglelogging() written stderr e0410 00:38:32.074034 21849 fastcgi-session.cpp:562] fastcgi protocol: received invalid record

i have install fastcgi via

sudo apt-get install php5-fastcgi 

and when run

sudo apt-get install hhvm-fastcgi 

i error

the following packages have unmet dependencies: hhvm-fastcgi : depends: hhvm (>= 2.3.0) e: unable correct problems, have held broken packages.

but type hhvm --version on command line shows following:

hiphop vm 3.0.0-dev (rel) compiler: heads/master-0-g39a0d45681b1404e19427f8cdd214c273d0a601d repo schema: b602fe3a78ec9eec7b65ec874110b9323ceabf88

update: custom sites-enabled configuration

   <virtualhost *:80 >  serveradmin webmaster@localhost documentroot /var/www  errorlog ${apache_log_dir}/error.log customlog ${apache_log_dir}/access.log combined proxypassmatch / fcgi://127.0.0.1:9000/var/www/    </virtualhost>  # vim: syntax=apache ts=4 sw=4 sts=4 sr noet 

my apache config file

mutex file:${apache_lock_dir} default pidfile ${apache_pid_file} timeout 300   keepalive on   maxkeepaliverequests 100   keepalivetimeout 5   user ${apache_run_user}  group ${apache_run_group}  hostnamelookups off   errorlog ${apache_log_dir}/error.log   loglevel warn   includeoptional mods-enabled/*.load  includeoptional mods-enabled/*.conf  include ports.conf  <directory />     options followsymlinks allowoverride none require denied  </directory>   <directory /usr/share> allowoverride none require granted   </directory>   <directory /var/www/> options indexes followsymlinks allowoverride none require granted   </directory>   accessfilename .htaccess    <filesmatch "^\.ht"> require denied   </filesmatch>      logformat "%v:%p %h %l %u %t \"%r\" %>s %o \"%{referer}i\" \"%{user-agent}i\""         vhost_combined    logformat "%h %l %u %t \"%r\" %>s %o \"%{referer}i\" \"%{user-agent}i\"" combined    logformat "%h %l %u %t \"%r\" %>s %o" common    logformat "%{referer}i -> %u" referer    logformat "%{user-agent}i" agent     includeoptional conf-enabled/*.conf    includeoptional sites-enabled/*.conf    include /etc/phpmyadmin/apache.conf 

don't bother hhvm-fastcgi package. need kill that. did find docs it?

the invalid record thing looks hitting fastcgi server in wrong way. pasting apache config helpful. did follow https://github.com/facebook/hhvm/wiki/fastcgi ?


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -