LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 09-12-2012, 02:29 AM   #1
micericewice
LQ Newbie
 
Registered: Sep 2012
Posts: 1

Rep: Reputation: Disabled
Question [Embedded] Integrate php to existing Apache


I'm trying to build sh3-linux embedded system. I have to build apache & integrate php. But I got some stuck:

1. If I cross-compile apache & cross-compile php:
apache was successful & php fail
Reason: build php with apache must use "httpd" binary-file to implement shared library (libphp5.so), but the Linux 8086 PC can not execute this file, because this file was cross-compiled

2. If I compile apache (using PC gcc) & cross-compile php (using sh3-linux-gcc), both success but the shared-library file (libphp5.so) is a 8086 shared-library file, it can be executed by the embedded-Linux.
Reason: the "httpd" binary is a 8086 base-system file, it can be executed by the PC, but it also build the wrong .so file!

Anyone have an idea to solve this issue? I think there're some parameter when build. I have no acknownledgement about this.
Where do I find an instruction?

Note:
*Pakage version
- apache-1.3.41
- php-5.3.4
*Note that I've build successfully both on my Linux-PC
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to integrate apache with mysql sri_04518 Linux - Networking 2 03-09-2010 07:07 PM
how to integrate php to http using rpm packets Linux - Server 1 09-25-2007 02:18 AM
help to integrate php,apache&mysql badall Linux - Server 3 06-16-2007 03:53 AM
Integrate Webmin in PHP Chrizzieej Linux - Software 2 05-07-2007 05:47 AM
Integrate postfix with existing MySQL database EdMeister Linux - Software 0 04-21-2005 04:52 AM


All times are GMT -5. The time now is 01:02 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration