pp3345 / pancake Goto Github PK
View Code? Open in Web Editor NEWSimple, lightweight HTTP server with accelerated PHP support
Home Page: http://pancakehttp.net
License: GNU Lesser General Public License v3.0
Simple, lightweight HTTP server with accelerated PHP support
Home Page: http://pancakehttp.net
License: GNU Lesser General Public License v3.0
$ sudo ./pancake.sh
Found x86_64 processor
Found PHP 5.3
[Master] Loading Pancake 1.2-devel... 2012 Yussuf Khalil
PHP Fatal error: Can't use method return value in write context in /home/sam/Pancake/sys/threads/single/requestWorker.thread.cphp on line 726
[Master] 25.11.12 20:21:41 Failed to boot RequestWorker #1 in time - Aborting
[Master] 25.11.12 20:21:41 Stopping...
[Master] 25.11.12 20:21:41 Waiting for PHPWorker #1 ("default") to stop
[Master] 25.11.12 20:21:41 Waiting for PHPWorker #2 ("default") to stop
[Master] 25.11.12 20:21:41 Waiting for PHPWorker #3 ("default") to stop
$ php -v
PHP 5.3.10-1ubuntu3.4 with Suhosin-Patch (cli) (built: Sep 12 2012 18:59:41)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
$ php -m | grep "pcntl|sysvmsg|sockets"
pcntl
sockets
sysvmsg
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
$ whoami
sam
Pancake complains about incompatible PHP version when the latest version of php5-cli (5.6) is installed (from the Raspbian Jessie repository).
HI Thanks for providing this.
I am running into an issue.
my php version is 5.6.17
but when I try to start it says
incompatible php version - please install 5.4 or newer
/usr/local/Pancake/sys/pancake.sh: 31: test: 6: unexpected operator.
What am I doing wrong ?
I followed the REAME and install instructions and I keep getting this on my Raspberry Pis even on vanilla installs. I've installed PHP and php5-cli via apt-get.
pi@raspberrypi ~/Pancake/sys $ sudo ./pancake.sh
Found armv6l processor
Found PHP 5.4
[Master] Loading Pancake 1.4... 2012 - 2013 Yussuf Khalil
[Master] 10.05.13 14:29:06 An error (2) occurred: Address family not supported by protocol in /home/pi/Pancake/sys/syscore.php on line 198
[Master] 10.05.13 14:29:06 An error (512) occurred: It seems that your operating system does not support IPv6 - will fallback to IPv4 in /home/pi/Pancake/sys/syscore.php on line 201
PHP Warning: Pancake\loadModule(): Unable to load dynamic library '/home/pi/Pancake/sys/natives/sapi/armhf_54.so' - /home/pi/Pancake/sys/natives/sapi/armhf_54.so: cannot open shared object file: No such file or directory in Unknown on line 0
[PHPWorker #1 ("default")] 10.05.13 14:29:06 An error (2) occurred: Failed to load module sapi in /home/pi/Pancake/sys/compilecache/phpWorker.thread.default.cphp on line 498
PHP Fatal error: Call to undefined function Pancake\SAPIPrepare() in /home/pi/Pancake/sys/compilecache/phpWorker.thread.default.cphp on line 526
PHP Warning: Pancake\loadModule(): Unable to load dynamic library '/home/pi/Pancake/sys/natives/sapi/armhf_54.so' - /home/pi/Pancake/sys/natives/sapi/armhf_54.so: cannot open shared object file: No such file or directory in Unknown on line 0
[PHPWorker #2 ("default")] 10.05.13 14:29:06 An error (2) occurred: Failed to load module sapi in /home/pi/Pancake/sys/compilecache/phpWorker.thread.default.cphp on line 498
PHP Fatal error: Call to undefined function Pancake\SAPIPrepare() in /home/pi/Pancake/sys/compilecache/phpWorker.thread.default.cphp on line 526
[CodeProcessor] 10.05.13 14:29:06 Compiling RequestWorker - Please wait...
[Master] 10.05.13 14:29:06 An error (256) occurred: Thread 20735 exited while in compilation, please report this error to the Pancake support in /home/pi/Pancake/sys/threads/codeProcessor.class.php on line 47
[Master] 10.05.13 14:29:06 Stopping...
Warning: session_start(): The session id is too long or contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /usr/local/Pancake/sys/php/sapi.php on line 285 MySQL server has gone away
Caused by the following code:
<?php
function error($msg) {
die($msg);
}
session_start();
//Include config and lang pack
include("config.php");
include("langs/" . $hawkConfig["langFile"]);
Pancake 1.0, tested with PHP 5.4.7-dotdeb and self-compiled PHP 5.4.7RC1
$ sudo ./pancake.sh
Found x86_64 processor
Found PHP 5.4
PHP Warning: PHP Startup: Unable to load dynamic library './natives/core/x86_64_54.so' - ./natives/core/x86_64_54.so: undefined symbol: ps_globals in Unknown on line 0
Pancake natives not loaded. Please run pancake.sh
PHP was compiled with
./configure --disable-cgi --disable-all --enable-sockets --enable-pcntl --enable-posix --enable-tokenizer --enable-ctype
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.