[Clfs-dev] Clfs-dev Digest, Vol 15, Issue 8

Varrun Ashok varrunashok at yahoo.com
Tue Jan 6 21:29:57 PST 2009


    I have done all that Mr.Jonathan Norman asked me to do still i am not abel to make php work .
 1)i am using busybox 1-12.0 with all the options under networking enabled.
 2)my httpd.conf file contains the following
 LoadModule php5_module        modules/libphp5.so
 <IfModule dir_module>
      DirectoryIndex index.html index.php
 </IfModule>
 3)in /lib/modules i have the library file libphp5.so
 4)i type httpd -h /var/www/html/ -c /etc/httpd.conf in shell.
 5)i have put my php file in the above mentioned path.
 6)the from another computer connected to mine i open mozilla firefox and typr
 http://192.168.0.247/index.php
 the output is source code in the php file and not the actual processed output!!!1
 somebody please help!!!!!!!!!
 AddType application/x-httpd-php .php

clfs-dev-request at lists.cross-lfs.org wrote: Send Clfs-dev mailing list submissions to
 clfs-dev at lists.cross-lfs.org

To subscribe or unsubscribe via the World Wide Web, visit
 http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
or, via email, send a message with subject or body 'help' to
 clfs-dev-request at lists.cross-lfs.org

You can reach the person managing the list at
 clfs-dev-owner at lists.cross-lfs.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Clfs-dev digest..."


Today's Topics:

   1. Error in x86_64-multilib in SVN as of today. (Thomas Pegg)
   2. Re: Error in x86_64-multilib in SVN as of today. (Joe Ciccone)
   3. Re: Error in x86_64-multilib in SVN as of today. (Thomas Pegg)
   4. Re: Error in x86_64-multilib in SVN as of today. (Joe Ciccone)
   5. php with busybox (Varrun Ashok)
   6. Re: php with busybox (Jonathan Norman)


----------------------------------------------------------------------

Message: 1
Date: Mon, 05 Jan 2009 18:01:35 -0500
From: Thomas Pegg 
Subject: [Clfs-dev] Error in x86_64-multilib in SVN as of today.
To: clfs-dev at lists.cross-lfs.org
Message-ID: <4962914F.80103 at gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I noticed as I was running through a build of current SVN that in 
sections in 5.11 and 5.14 gcc build the --disable-multilib is being 
passed erroneously. I noticed this as in the 32-bit glibc step following 
   5.11, it was failing to find a compatible libgcc.a (only the 64-bit 
version existed, no 32-bit).

Thomas


------------------------------

Message: 2
Date: Mon, 05 Jan 2009 18:08:06 -0500
From: Joe Ciccone 
Subject: Re: [Clfs-dev] Error in x86_64-multilib in SVN as of today.
To: CLFS development discussion 
Message-ID: <496292D6.7060307 at gmail.com>
Content-Type: text/plain; charset=us-ascii

Thomas Pegg wrote:
> I noticed as I was running through a build of current SVN that in
> sections in 5.11 and 5.14 gcc build the --disable-multilib is being
> passed erroneously. I noticed this as in the 32-bit glibc step
> following 5.11, it was failing to find a compatible libgcc.a (only the
> 64-bit version existed, no 32-bit).
--disable-multilib is required on many architectures. Which architecture
are you refering to?



------------------------------

Message: 3
Date: Mon, 05 Jan 2009 18:11:59 -0500
From: Thomas Pegg 
Subject: Re: [Clfs-dev] Error in x86_64-multilib in SVN as of today.
To: CLFS development discussion 
Message-ID: <496293BF.70303 at gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Joe Ciccone wrote:
> Thomas Pegg wrote:
>> I noticed as I was running through a build of current SVN that in
>> sections in 5.11 and 5.14 gcc build the --disable-multilib is being
>> passed erroneously. I noticed this as in the 32-bit glibc step
>> following 5.11, it was failing to find a compatible libgcc.a (only the
>> 64-bit version existed, no 32-bit).
> --disable-multilib is required on many architectures. Which architecture
> are you refering to?

x86_64-Multilib

Thomas


------------------------------

Message: 4
Date: Mon, 05 Jan 2009 18:19:18 -0500
From: Joe Ciccone 
Subject: Re: [Clfs-dev] Error in x86_64-multilib in SVN as of today.
To: CLFS development discussion 
Message-ID: <49629576.5080304 at gmail.com>
Content-Type: text/plain; charset=us-ascii

Thomas Pegg wrote:
> Joe Ciccone wrote:
>> Thomas Pegg wrote:
>>> I noticed as I was running through a build of current SVN that in
>>> sections in 5.11 and 5.14 gcc build the --disable-multilib is being
>>> passed erroneously. I noticed this as in the 32-bit glibc step
>>> following 5.11, it was failing to find a compatible libgcc.a (only the
>>> 64-bit version existed, no 32-bit).
>> --disable-multilib is required on many architectures. Which architecture
>> are you refering to?
>
> x86_64-Multilib
>
Jim fixed this in r4353. Thanks for the report.


------------------------------

Message: 5
Date: Mon, 5 Jan 2009 21:14:44 -0800 (PST)
From: Varrun Ashok 
Subject: [Clfs-dev] php with busybox
To: clfs-dev at lists.cross-lfs.org
Message-ID: <686986.23271.qm at web55108.mail.re4.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

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.
 


       
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 

------------------------------

Message: 6
Date: Tue, 6 Jan 2009 13:02:49 +0000
From: Jonathan Norman 
Subject: Re: [Clfs-dev] php with busybox
To: CLFS development discussion 
Message-ID:
 
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

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


     DirectoryIndex index.html index.php


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



------------------------------

_______________________________________________
Clfs-dev mailing list
Clfs-dev at lists.cross-lfs.org
http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org


End of Clfs-dev Digest, Vol 15, Issue 8
***************************************




       
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-dev-clfs.org/attachments/20090106/9f669eb0/attachment.html>


More information about the Clfs-dev mailing list