Config error - PHP with HTTPD

Sertac TULLUK sertac at merihvideo.com.tr
Tue Aug 2 15:51:28 UTC 2011


Dear Elias;

About 1.5 years ago, I tried to compile busybox HTTPD with PHP for a long 
time (I tested busybox 1.16.X and 1.18.X).. Unfortunately, it looks very 
hard to achieve this. I couldn't succeed it..

However, after that time, I compiled THTTPD with PHP succesfully for 
arm-linux. It is working fine.

If you want, I can help you about how to compile THTTPD with PHP support for 
arm-linux.

I hope this helps.

Best Regards

Sertac

----- Original Message ----- 
From: "Elias Lovén Larsson" <thegreatpain at gmail.com>
To: <busybox at busybox.net>
Sent: Tuesday, August 02, 2011 5:08 PM
Subject: Config error - PHP with HTTPD


>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?
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
> 




More information about the busybox mailing list