You are not logged in.
I am looking to add PHP for use with Busybox httpd. Reason: I cannot find code for an HTTP upload web page that doesn't require PHP as well as shell scripts that query the URL string (there are javascripts to query the URL but the variable is not global: i.e: cannot use it in the shell script). Your input is welcome if I am incorrect, maybe missed something searching the net.
I do not want to install unnecessary PHP packages. I'm a clean freak. When I tazpkg -s PHP (search) there is quite an assortment of packages and prefer to select the one that provides mainly support for Busybox httpd.
All suggestions concerning everything I spoke about is greatly appreciated!
Thank you.. Allen
Offline
I found downloading and installing php-5.2.17 and only the libxml2 dependency was required to add PHP support to Busybox httpd. I should note that it was necessary to create/add /ect/php.ini file with the following entries...
cgi.force_redirect = 0
cgi.redirect_status_env ="yes";
and edit /etc/httpd.conf to include the location of php-cgi...
*.php:/usr/bin/php-cgi
Offline
[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]