OpenWrt Forum Archive

Topic: problem with php5

The content of this topic has been archived on 18 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hi, i am running 8.09 aprox. month old trunk build, kernel 2.4, i wanted to run punbb on my router with hdd, yesterday from actual trunk i built lighttpd  +php5, php5-cgi and sqlite3, installed by common openwrt install ....

then i fellow this tutorial: http://forum.openwrt.org/viewtopic.php?id=10330 everything worked fine until line lighttpd.ini

cgi.assign = ( ".php" => "/usr/bin/php" )  , in my system such file doesn't exist, after some tries i replaced this line with

cgi.assign = ( ".php" => "/usr/bin/php-cgi" ) and punbb worked looks like, but i have got problem with install dokuwiki now,

does anybody could tell me, what i did bad and if absention of php in usr/bin can be fixed just "symlink"?

Thank you much

try

fastcgi.server = (
        ".php" => (
                "localhost" => (
                        "socket" => "/tmp/php-fastcgi.socket",
                        "bin-path" => "/usr/bin/php-fcgi"
                )
        )
)

The discussion might have continued from here.