Config error - PHP with HTTPD

Elias Lovén Larsson thegreatpain at gmail.com
Tue Aug 2 14:08:12 UTC 2011


I cannot for the life figure this out by myself, hoping there's anyone
on this list who knows what could be wrong.
I'm trying to set up the HTTPD to use PHP (5.2.14) on Busybox (1.15.3,
also tried 1.18.5).

This happens when I run it...

# httpd -fvv -c /etc/httpd.php.conf -p 81 -h /usr/www-php
httpd: config error '*.php:/usr/bin/php-cgi' in '/etc/httpd.php.conf'

Calling the URL <computerName>:81/index.php simply downloads
/usr/www-php/index.php.
My /etc/httpd.php.conf:
----------
A:127.0.0.1
D:*
A:192.168.1.0/255.255.255.0

*.php:/usr/bin/php-cgi
----------

Apparently, I'm the only one on this planet to be affected by this, so
I must be doing something very wrong.
Anyone with an idea of what's going on?


More information about the busybox mailing list