[Clfs-dev] php with busybox
Jonathan Norman
jonathan at bluesquarelinux.co.uk
Tue Jan 6 05:02:49 PST 2009
You will need to edit your httpd.conf to tell it to load the php
module and how to handle .php files. Adding index.php tp the index
list, loading the module and adding the application type below should
be all you need to do. Once done restart apache.
Jon~
LoadModule php5_module modules/libphp5.so
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
AddType application/x-httpd-php .php
On 6 Jan 2009, at 05:14, Varrun Ashok wrote:
> hello everybody,
> I am using a busybox os with glibc libraries. I have enabled all
> the options that came under httpd in networking in busybox-1.12.0
> while compiling busybox.
> 1)then i copied the executable file php from /usr/bin in redhat4
> and pasted in /usr/bin of my busybox os.
> 2)when i type php -v the output says the php 4.3.9 has been built
> as a cgi.
> 3)i would like to put a php file sumwhere in my file system and
> when i type the ip address from sum other computer i must be able
> to access the php file. i have not been successful till now :
> (.however i am able to see the output of an html file present in
> the same path!
> 4)can sumone give me the exact configuration of httpd.conf and
> other files that are necessary.
>
>
>
> _______________________________________________
> Clfs-dev mailing list
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
More information about the Clfs-dev
mailing list