Skip to content

Instantly share code, notes, and snippets.

ptarjan@ubuntu:/tmp/fcgiquery$ sudo -i . /etc/apache2/envvars; apache2 -X
[Mon Jun 09 23:56:09.455124 2014] [core:warn] [pid 62531] AH00111: Config variable ${APACHE_PID_FILE} is not defined
[Mon Jun 09 23:56:09.455217 2014] [core:warn] [pid 62531] AH00111: Config variable ${APACHE_RUN_USER} is not defined
[Mon Jun 09 23:56:09.455226 2014] [core:warn] [pid 62531] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined
[Mon Jun 09 23:56:09.455239 2014] [core:warn] [pid 62531] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Mon Jun 09 23:56:09.462878 2014] [core:warn] [pid 62531] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Mon Jun 09 23:56:09.463139 2014] [core:warn] [pid 62531] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
[Mon Jun 09 23:56:09.463199 2014] [core:warn] [pid 62531] AH00111: Config variable ${APACHE_LOG_DIR} is not defined
AH00543: apache2: bad user name ${APACHE_RUN_USER}
ptarjan@ubuntu:/tmp/fcgiquery$ export | grep APA
declare -x APACHE_LOCK_DIR="/var/lock/apache2"
declare -x APACHE_LOG_DIR="/var/log/apache2"
declare -x APACHE_PID_FILE="/var/run/apache2/apache2.pid"
declare -x APACHE_RUN_DIR="/var/run/apache2"
declare -x APACHE_RUN_GROUP="www-data"
declare -x APACHE_RUN_USER="www-data"
ptarjan@ubuntu:/tmp/fcgiquery$ sudo /etc/init.d/apache2 stop; sudo vendor/bin/heroku-hhvm-apache2
* Stopping web server apache2 *
Booting on port 4631...
Using HHVM configuration (php.ini) file 'vendor/heroku/heroku-buildpack-php/conf/hhvm/php.ini'
Using Apache2 VirtualHost-level configuration include 'vendor/heroku/heroku-buildpack-php/conf/apache2/default_include.conf'
Using Apache2 configuration file 'vendor/heroku/heroku-buildpack-php/conf/apache2/heroku.conf'
Starting log redirection...
Starting hhvm...
Starting httpd...
Process exited unexpectedly: * Starting web server apache2
ptarjan@ubuntu:/tmp/fcgiquery$ httpd -t -D DUMP_MODULES
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_event_module (static)
authn_file_module (shared)
authn_core_module (shared)
authz_host_module (shared)
ptarjan@ubuntu:/tmp/fcgiquery/vendor$ ./bin/heroku-hhvm-apache2
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Booting on port 4221...
Using HHVM configuration (php.ini) file '/heroku/heroku-buildpack-php/conf/hhvm/php.ini'
Using Apache2 VirtualHost-level configuration include '/heroku/heroku-buildpack-php/conf/apache2/default_include.conf'
Using Apache2 configuration file '/heroku/heroku-buildpack-php/conf/apache2/heroku.conf'
Starting log redirection...
Starting hhvm...
Starting httpd...
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
ptarjan@ubuntu:/tmp/fcgiquery$ ./vendor/bin/heroku-hhvm-apache2
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Booting on port 16762...
Using HHVM configuration (php.ini) file '/heroku/heroku-buildpack-php/conf/hhvm/php.ini'
Using Apache2 VirtualHost-level configuration include '/heroku/heroku-buildpack-php/conf/apache2/default_include.conf'
Using Apache2 configuration file '/heroku/heroku-buildpack-php/conf/apache2/heroku.conf'
Starting log redirection...
Starting hhvm...
Starting httpd...
mapping self...
diff --git a/hphp/runtime/server/fastcgi/fastcgi-transport.cpp b/hphp/runtime/server/fastcgi/fastcgi-transport.cpp
index 6372f1e..fbe71d6 100644
--- a/hphp/runtime/server/fastcgi/fastcgi-transport.cpp
+++ b/hphp/runtime/server/fastcgi/fastcgi-transport.cpp
@@ -449,7 +449,7 @@ void FastCGITransport::onHeadersComplete() {
m_scriptFilename = getRawHeader(s_pathTranslated);
}
- // do a check for mod_proxy_cgi and remove the start portion of the string
+ // do a check for mod_proxy_fcgi and remove the start portion of the string
commit e4047dc130d0fe05efb989f448f5ebe1b7a3bd31
Author: Paul Tarjan <[email protected]>
Date: 10 days ago
support display_errors
diff --git a/hphp/runtime/base/execution-context.cpp b/hphp/runtime/base/execution-context.cpp
index 2d83a46..07ae352 100644
--- a/hphp/runtime/base/execution-context.cpp
+++ b/hphp/runtime/base/execution-context.cpp
[ 0%] Built target fastlz
[ 0%] Built target afdt
[ 5%] Built target mbfl
[ 6%] Built target sqlite3
[ 6%] Built target timelib
[ 6%] Built target lz4
[ 6%] Built target double-conversion
[ 9%] Built target folly
[ 15%] Built target zip_static
[ 16%] Built target hphp_thrift
Verifying I am +ptarjan on my passcard. https://onename.com/ptarjan