Re: question about compiling a portable web server for linux

From: Date: Sat, 07 Aug 2010 02:43:20 +0000
Subject: Re: question about compiling a portable web server for linux
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-307361@lists.php.net to get a copy of this message
thanks for the reply. I know it is not a PHP problem. And I want to know whether it is possible to make it architecture independent. On Sat, Aug 7, 2010 at 10:38 AM, Ashley Sheridan <ash@ashleysheridan.co.uk>wrote: > On Sat, 2010-08-07 at 10:22 +0800, lainme wrote: > > Hi, I recently compiled a portable portable web server for linux, using > lighttpd and php. > > But it seems that php can only run on machine with the same glibc version > compiled it. How can I solve the problem? > > > It's not a PHP problem. If you compile something, it's compiled to the same > architecture that you specify, which by default is yours. have you tried > compiling your executable with the same setup as you're currently using? > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > >

« previous php.general (#307361) next »