hi i could put to work php on cherokee webserver on my embedd system it seems that i have a bad cross compile of php this was my last use code:
Code:
export CROSS_COMPILE=arm-linux-
export CC=${CROSS_COMPILE}"gcc"
export CXX=${CROSS_COMPILE}"g++"
./configure --host=arm-linux --target=arm --prefix=/opt/php \
--disable-shared --disable-xml disable-libxml --disable-dom --disable-simplexml --disable-short-tags \
--disable-xmlreader --disable-xmlwriter \
--without-mysql --without-pear --without-iconv --disable-all \
--enable-fastcgi
the lines that i had to added to my cherokee.conf file was:
Code:
vserver!1!rule!6!disabled = 0
vserver!1!rule!6!encoder!deflate = 0
vserver!1!rule!6!encoder!gzip = 1
vserver!1!rule!6!handler = fcgi
vserver!1!rule!6!handler!balancer = round_robin
vserver!1!rule!6!handler!balancer!source!1 = 1
vserver!1!rule!6!handler!change_user = 0
vserver!1!rule!6!handler!check_file = 1
vserver!1!rule!6!handler!error_handler = 1
vserver!1!rule!6!handler!pass_req_headers = 1
vserver!1!rule!6!handler!xsendfile = 0
vserver!1!rule!6!match = extensions
vserver!1!rule!6!match!extensions = php
vserver!1!rule!6!only_secure = 0
vserver!1!rule!6!match!final = 1
vserver!1!rule!6!timeout = 30
source!1!env!PHP_FCGI_CHILDREN = 5
source!1!env!PHP_FCGI_MAX_REQUESTS = 490
source!1!env_inherited = 0
source!1!host = 127.0.0.1:47990
source!1!interpreter = /home/php/bin/php-cgi -b 127.0.0.1:47990
source!1!nick = PHP Interpreter
source!1!type = interpreter
i hope that this experiences can be useful for some else.... thanks for all the help
but my final doubt its
i had to disable libxml and libz how can this affect the php's work?? i have that doubt according to that i should try to fix my cross compile
thanks!!