GithubHelp home page GithubHelp logo

pp3345 / pancake Goto Github PK

View Code? Open in Web Editor NEW
72.0 72.0 2.0 7.17 MB

Simple, lightweight HTTP server with accelerated PHP support

Home Page: http://pancakehttp.net

License: GNU Lesser General Public License v3.0

PHP 38.57% C 60.80% Shell 0.63%

pancake's People

Contributors

pp3345 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

messified nhnam

pancake's Issues

Can't use method return value in write context

$ 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

Doesn't work with PHP 5.6.0 beta 3

Pancake complains about incompatible PHP version when the latest version of php5-cli (5.6) is installed (from the Raspbian Jessie repository).

incompatible php version - please install 5.4.0 or newer

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 ?

Failed to load module sapi

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...

HawkEye Web-Interface

http://hawk.craftination.de/

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

Unable to load pancake 1.3 natives when using PHP without session-support

$ 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.