Hallo Robert! I was not able to figure out what build options the Ubuntu package used, but I hardly think it matters any more.
Out of the four flags you mentioned, two were present and enabled (CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES missing), and found this line in .config in the build dir: # CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set so after enabling it in the Busybox config indicated in menuconfig and building, PHP is now working as it should. Is there a list of valid options somewhere, perhaps even with a description of the use of each one? Many times, the more proficient users take for granted that others are just as informed as themselves. While undoubtedly frustrating to the former demographic, the latter struggle with a catch-22 situation, and are often suspected of having forgotten something that they have never had any knowledge of. ;) Many thanks for the pointers! Elias 2011/8/2 Robert Schumann <[email protected]>: > Hi Elias! > > I'm not very deep into your issue and I cannot verify your problem, but... > > Am 02.08.2011 16:08, schrieb Elias Lovén Larsson: >> 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' > > 1. Did you check your busybox .config vs. the Ubuntu .config or yours at > all? > > 2. Did you check all options, which might be related to your issue? E.g. > > CONFIG_HTTPD=y > CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES=y > CONFIG_FEATURE_HTTPD_CGI=y > CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR=y > > I'm just asking because you didn't provide your busybox .config, which > would be necessary to help you out and tell if something's really going > wrong or just unconfigured. Often people complaining about "it's not > working" are forgetting something to configure when building busybox ;-) > > Best regards > Robert > > >> 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). >> > >> >> 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? >> _______________________________________________ >> busybox mailing list >> [email protected] >> http://lists.busybox.net/mailman/listinfo/busybox >> > > _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
