Brian Hague | 20 Jul 2012 22:00
Picon

Haiku AMP status

Slightly off topic...

I know there's not a lot of people who have been looking into this,
but thought I might throw it out there...

Is there anyone working on porting Apache, PHP, MySQL (or other SQL products)?

Might be nice to have a HaikuAMP package...

Brian Hague

Cian Duffy | 20 Jul 2012 22:12
Picon

Re: Haiku AMP status



On 20 July 2012 21:00, Brian Hague <alphaseinor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Slightly off topic...

I know there's not a lot of people who have been looking into this,
but thought I might throw it out there...

Is there anyone working on porting Apache, PHP, MySQL (or other SQL products)?



.bep's in both cases imply it works


No MySQL, though 


Regards
Cian
François Revol | 20 Jul 2012 22:18
Picon
Favicon
Gravatar

Re: Haiku AMP status

On 20/07/2012 22:12, Cian Duffy wrote:
> On 20 July 2012 21:00, Brian Hague <alphaseinor@...> wrote:
> 
>> Slightly off topic...
>>
>> I know there's not a lot of people who have been looking into this,
>> but thought I might throw it out there...
>>
>> Is there anyone working on porting Apache, PHP, MySQL (or other SQL
>> products)?
>>
> 
> http://ports.haiku-files.org/browser//haikuports/trunk/www-servers/apache
> 

I started porting Nginx but it has an issue with strerror() currently
(or rather an issue with not using it).

François.

scottmc | 20 Jul 2012 23:26
Picon

Re: Haiku AMP status

On Fri, Jul 20, 2012 at 1:18 PM, François Revol <revol@...> wrote:
> On 20/07/2012 22:12, Cian Duffy wrote:
>> On 20 July 2012 21:00, Brian Hague <alphaseinor@...> wrote:
>>
>>> Slightly off topic...
>>>
>>> I know there's not a lot of people who have been looking into this,
>>> but thought I might throw it out there...
>>>
>>> Is there anyone working on porting Apache, PHP, MySQL (or other SQL
>>> products)?
>>>
>>
>> http://ports.haiku-files.org/browser//haikuports/trunk/www-servers/apache
>>
>
> I started porting Nginx but it has an issue with strerror() currently
> (or rather an issue with not using it).
>
> François.
>

Kaliber got Apache working with PHP in 2009:
http://tiltos.com/drupal/node/14
And he's got a patch for building mysql on Haiku, although I don't
know how well any of these work:
http://svn.gna.org/viewcvs/pingwinek/trunk/packages/mysql/

It's been awhile since I tried building Apache and PHP, but Diger
confirms that PHP builds ok with haikuporter and even works with
Cherokee:
http://haikuware.com/remository/view-details/internet-network/servers/cherokee

In regards to his comment -- "Most likely you have not installed
bzip2. The haikuports has a lot of mistakes. Bzip2 is not specified in
the curves of the php. Use haikuporter -i bzip2-1.0.6"

Would be nice, that instead of bashing, that people would take time to
file tickets and explain what they are finding wrong with ports so
that they can be improved.  HaikuPorts was created to help centralize
the porting efforts, and is there for all of us to improve the ports.

Anyone look into what would be needed to add support for PHP to Haiku's poorman?

-scottmc

Barrett | 20 Jul 2012 22:15
Picon

Re: Haiku AMP status

Hello,
 
I know there's not a lot of people who have been looking into this,
but thought I might throw it out there...

Is there anyone working on porting Apache, PHP, MySQL (or other SQL products)?

I have not heard about anyone working on a updated port of apache, but you can compile the v2.2.17 using haikuporter :


the same for php :


Looking at the patches needed for compiling them it seems that they need just a few trivial changes to work, so maybe it's possible to easily get an updated build of apache/php starting from the patches for previous revs. If you are interested in doing that you can read the following article to get a start point about haikuports :


About mysql, i can't find a bep file but i see there are some alternatives :


Best Regards
Brian Hague | 20 Jul 2012 22:18
Picon

Re: Haiku AMP status

Thanks to you both, I'll try it out a bit, see if I can make something
work... wanted to play with enyo, and didn't want to switch to the
mac... besides, gives me something to work on under haiku...


Gmane