Click Here
home features news forums classifieds faqs links search
5630 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel

Who's Online
 38 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 amipal:  18 mins ago
 eliyahu:  22 mins ago
 amigakit:  29 mins ago
 sicky:  29 mins ago
 OlafS25:  36 mins ago
 Kronos:  48 mins ago
 _Steve_:  1 hr 5 mins ago
 K-L:  1 hr 6 mins ago
 clint:  1 hr 10 mins ago
 fryguy:  1 hr 23 mins ago

Software News   Software News : Apache for OS4: new release with PHP5-support
   posted by CygnusEd on 8-Jul-2005 16:23:59 (5738 reads)
Now available for AmigaOS4: Apache with PHP5-support!

You can download it at OS4depot


New in this release:

* Support of PHP 5.0.4 including the new zend-engine 2 !!

* New extensions in the php-module:
- SQLite: The new simple SQL database engine. It's now possible to create web-pages with database-support under OS4 (V 2.8.14).
- dom: The extension allows you to operate on an XML document with the DOM API.
- libxml: support of 'The XML C parser and toolkit of Gnome' (libxml2 - V 2.6.19).
- SimpleXML: The SimpleXML extension provides a very simple and easily usable toolset to convert XML to an object that can be processed with normal property selectors and array iterators.
- soap: The SOAP extension can be used to write SOAP Servers and Clients. (V 1.139.2.4)
- SPL: SPL is a collection of interfaces and classes that are meant to solve standard problems.

* New examples in the example-directory.

* Fixed problem with global variables starting with '$_' like '$_SERVER'.
(in PHP4- and PHP5-version).
    

Related Links
· More about Software News
· News by CygnusEd


Most read story about Software News
UBoot 2010.06.04 for Sam460ex available

Last news about Software News
Ultimate Creative is back, MagicUAE is out
Printer Friendly Page  Send this Story to a Friend

Goto page ( 1 | 2 )

PosterThread
miksuh 
Re: Apache for OS4: new release with PHP5-support
Posted on 8-Jul-2005 17:32:23
#1 ]
Cult Member
Joined: 10-Mar-2003
Posts: 731
From: Espoo, Finland

Wery good news!! It's great that PHP5 is now supported!

 Status: Offline
Profile     Report this post  
FuZion 
Re: Apache for OS4: new release with PHP5-support
Posted on 8-Jul-2005 18:00:02
#2 ]
Super Member
Joined: 22-Nov-2003
Posts: 1962
From: Birmingham, England

This is VERY good news. I'll be having a play with this over the coming months.

FuZion.

 Status: Offline
Profile     Report this post  
mattk 
Re: Apache for OS4: new release with PHP5-support
Posted on 8-Jul-2005 18:10:47
#3 ]
Regular Member
Joined: 7-Mar-2003
Posts: 242
From: England

Great job! This is important work.


_________________
Matt

 Status: Offline
Profile     Report this post  
firbodi 
Re: Apache for OS4: new release with PHP5-support
Posted on 8-Jul-2005 18:37:34
#4 ]
Super Member
Joined: 2-Sep-2003
Posts: 1046
From: Planet Earth!

Awesome!


_________________
MicroA1 G3, 512MB RAM, DVD-RW; and A1-SE G3,512MB RAM, CD-RW & DVD-ROM
Avatar: Perspolis, Capital of Achaemenid Empire 500 B.C.

 Status: Offline
Profile     Report this post  
_PAB_ 
Re: Apache for OS4: new release with PHP5-support
Posted on 8-Jul-2005 18:48:02
#5 ]
Regular Member
Joined: 20-Sep-2003
Posts: 189
From: Germany

Harmless ... err, "mosty harmless".


No, relly great to see that Develpment on OS4 is catching up with the actual live, more and more.


_________________

 Status: Offline
Profile     Report this post  
wegster 
Re: Apache for OS4: new release with PHP5-support
Posted on 8-Jul-2005 19:19:51
#6 ]
Elite Member
Joined: 29-Nov-2004
Posts: 8554
From: RTP, NC USA

@CygnusEd

So, I have to ask- is there any chance of seeing your port merged into the mainline tree? That's the only way we'll ever have ongoing bugfixes consistently.

Not at ALL to minimize your work, as I think it's great to see Apache + PHP on AOS, but...?


_________________
Are we not done with the same silly arguments and flames yet??!

 Status: Offline
Profile     Report this post  
wegster 
Re: Apache for OS4: new release with PHP5-support
Posted on 8-Jul-2005 19:22:53
#7 ]
Elite Member
Joined: 29-Nov-2004
Posts: 8554
From: RTP, NC USA

@CygnusEd

BTW, very good README. Other OS4Depot authors/publshers, you may want to take a look at Eds for apache, on OS4depot


_________________
Are we not done with the same silly arguments and flames yet??!

 Status: Offline
Profile     Report this post  
Colin_Camper 
Re: Apache for OS4: new release with PHP5-support
Posted on 8-Jul-2005 20:15:06
#8 ]
Super Member
Joined: 6-Jul-2003
Posts: 1188
From: Unknown

This is fantastic!

I was under the impression that all we had was a fossilised, unsupported 68K version.
I would have been impressed with Apache standalone, let alone with the lates PHP support.
Excellent work - very much appreciated.

 Status: Offline
Profile     Report this post  
CygnusEd 
Re: Apache for OS4: new release with PHP5-support
Posted on 8-Jul-2005 20:57:15
#9 ]
Regular Member
Joined: 7-Feb-2004
Posts: 370
From: germany

@wegster

To be honest - I don't know how to do that...
I have no experience with things like this.
On the other hand - I don't like to publish my code, unless
some important features are implemented. Most important
is cgi-support. And there are some timing issues left.

Hmm - I don't know if it makes sense to publish unfinished code?!

cygnusEd

 Status: Offline
Profile     Report this post  
winnetcom 
Re: Apache for OS4: new release with PHP5-support
Posted on 8-Jul-2005 21:48:55
#10 ]
Regular Member
Joined: 11-Jun-2004
Posts: 162
From: Burbank, CA. ....... Here every day

Is there a demo server running some where out there ?


_________________
Amiga Land is my favorite soap opera.

 Status: Offline
Profile     Report this post  
opi 
Re: Apache for OS4: new release with PHP5-support
Posted on 8-Jul-2005 22:11:37
#11 ]
Team Member
Joined: 2-Mar-2005
Posts: 2752
From: Poland

Quote:
Hmm - I don't know if it makes sense to publish unfinished code?!


I would say you have to. PHP uses Apache-like licence. You need to distribute source code to everyone who has a binary (I admit I haven't read whole Apache licence, also, I'm after two hours of soccer and a 0.5l of beer, so I can be wrong ). Apache licence is compatible with GPL.

Yes, maybe someone would like to start working on AROS/MorphOS port of your work. That's how Open Source work.

Last edited by opi on 08-Jul-2005 at 11:18 PM.
Last edited by opi on 08-Jul-2005 at 11:18 PM.


_________________
OpenWindows Initiative. Port PS3 hardware to bananas. For free. Join today and receive expired $50 cupon from AI!

 Status: Offline
Profile     Report this post  
CodeSmith 
Re: Apache for OS4: new release with PHP5-support
Posted on 8-Jul-2005 22:54:57
#12 ]
Elite Member
Joined: 8-Mar-2003
Posts: 3045
From: USA

@CygnusEd

Opi's got a point there... if you don't feel comfortable merging your changes into mainline, you need to at least create a set of diffs so that anyone can download the official source, apply your diffs and make any other modifications they want to. It's not an optional thing, you really need to do it as soon as you can.

I'm not perfectly familiar with the tools involved (I haven't been involved with OSS for a few years now), but it's not that hard, you just need to pass the correct arguments to the "diff" commandline utility. I'm sure someone will be able to give you a hand.

 Status: Offline
Profile     Report this post  
opi 
Re: Apache for OS4: new release with PHP5-support
Posted on 8-Jul-2005 23:17:05
#13 ]
Team Member
Joined: 2-Mar-2005
Posts: 2752
From: Poland

@CodeSmith

Normal diff (and I'm sure GG has a normal version of it would take two files as a parameters and should split a diff. So, Ed would need to diff against all the files he moded from the orginal source code.


_________________
OpenWindows Initiative. Port PS3 hardware to bananas. For free. Join today and receive expired $50 cupon from AI!

 Status: Offline
Profile     Report this post  
wegster 
Re: Apache for OS4: new release with PHP5-support
Posted on 8-Jul-2005 23:51:47
#14 ]
Elite Member
Joined: 29-Nov-2004
Posts: 8554
From: RTP, NC USA

@CygnusEd

Bah, Opi's just being difficult

technically, he's correct about the GPL- someone 'can' request a copy of your diffs or modified source.

I understand what you mean about not wanting to release 'a work in progress,' although not sure how the GPL affects that if technically this is a 'work in progress'...(I've had some code that probably had more 'TODO:s' in it than code :shocking )..

In the end, I'd work on cleaning up your code as your able to, to the point you think it's as 'reasonably well done as can be expected' and then approach the Apache devs about getting it put into the mainline. In this case, it would be for the 1.3.X tree, which _might_ be easier to get changes in, but ultimately, the only way for AOS to really gain sanity in it's ported software (from open source projects) is really to get the changes merged back in...once a cross-somiler is made available in the offical gcc tree, each project's maintainers/release engineer can then cross-compile each new revision and then contact the maintainer of each part if anything breaks (IOW, if something AOS specific becomes broken through changes), but then all bugfixes are picked up essentially 'for free.'

I wouldn't worry about it immediately, but it should be _everyones_ goal working on GPL/open source projects to ultimately get their code into the mainline projects.

And yes, if both MOS and OS4 developers all do the same, it really could become 'good for all of us'


_________________
Are we not done with the same silly arguments and flames yet??!

 Status: Offline
Profile     Report this post  
opi 
Re: Apache for OS4: new release with PHP5-support
Posted on 8-Jul-2005 23:58:20
#15 ]
Team Member
Joined: 2-Mar-2005
Posts: 2752
From: Poland

Quote:
Bah, Opi's just being difficult


No, I'm just drunk.
And BTW: C-Ed, job well done! I'm not even using PHP5 on my server.

Oh, I forgot about this. I would assume that GPL has no option for ,,work in progress'' if the binary made out of GPL was created. But I would not push Ced to do that. Let him clean the soruce and then we can share our work across.

Last edited by opi on 09-Jul-2005 at 12:00 AM.


_________________
OpenWindows Initiative. Port PS3 hardware to bananas. For free. Join today and receive expired $50 cupon from AI!

 Status: Offline
Profile     Report this post  
MH2 
Re: Apache for OS4: new release with PHP5-support
Posted on 9-Jul-2005 8:10:54
#16 ]
Member
Joined: 14-Apr-2003
Posts: 63
From: Gällivare - Sweden

Yes!!!!
He is doing great job of the OS4-Apache-server.
What do you boys like the installer-script.
I'm working on an better one, that will be relis
on the AmiGBG2005


_________________

 Status: Offline
Profile     Report this post  
elwood 
Re: Apache for OS4: new release with PHP5-support
Posted on 9-Jul-2005 8:38:30
#17 ]
Elite Member
Joined: 17-Sep-2003
Posts: 3416
From: Lyon, France


_________________
Philippe 'Elwood' Ferrucci
Sam460 1.10 Ghz
AmigaOS 4 betatester
Amiga Translator Organisation

 Status: Offline
Profile     Report this post  
Toaks 
Re: Apache for OS4: new release with PHP5-support
Posted on 9-Jul-2005 12:14:34
#18 ]
Elite Member
Joined: 10-Mar-2003
Posts: 8037
From: amigaguru.com

good work cygused


_________________
See my blog and collection website! . https://www.blog.amigaguru.com

 Status: Offline
Profile     Report this post  
nbache 
Re: Apache for OS4: new release with PHP5-support
Posted on 9-Jul-2005 13:02:04
#19 ]
Cult Member
Joined: 8-Apr-2003
Posts: 941
From: Copenhagen, Denmark

If you guys could spare a moment from your GPL discussions ...

(Just kidding, of course)

I installed this Apache on my A1, and it won't start. I haven't been using Amiga Apache before (I used BlackWidow instead), but I'm fairly familiar with Apache from work (AIX a.o.), so I feel pretty good about having installed and configured stuff correctly.

When I run the startup script, httpd fails to start, and nothing is written into the log files. SnoopDOS reveals that it tries to lock "Apache:bin/suexec" (which doesn't exist) for reading just before bailing out with a return code of 20.

Any hints? Anybody else seeing this?

Best regards,

Niels

 Status: Offline
Profile     Report this post  
MH2 
Re: Apache for OS4: new release with PHP5-support
Posted on 9-Jul-2005 16:02:51
#20 ]
Member
Joined: 14-Apr-2003
Posts: 63
From: Gällivare - Sweden

Then you have to read the readme file.

Quote:

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

Installation:

a) with Installer:

Simply double-click the "Install_Apache"-icon.

b) by hand:

- Unpack the archive and copy the value to wherever you want.
(e.g.: "Work:Networking/").

- Add these lines to your user-startup:

;BEGIN Apache
Assign Apache:
Assign bin: Apache:bin ADD
Path Apache:bin ADD
;END Apache

- Copy the content of the ENVARC-drawer to ENVARC:


In both cases you have to add a group "www" and a user "www" to your network-
settings:

Open file "sys:Devs/Internet/groups" with a text-editor and add this
line:

NAME=www ID=45 USERS=www

Open file "sys:Devs/Internet/users" with a text-editor and add this
line:

NAME=www UID=1001 GID=45 DIR=sys: SHELL=noshell

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

Configure:

- Open the configuration-file "Apache:conf/httpd.conf" with a text-editor
(e.g. Notepad).

- Search for the line starting with "ServerName". Replace "foo" with your
network-name or with your IP of your amiga (Look at your
internet-preferences).

You don't need to edit the other settings, but it would be wise to edit these
settings:

- "ServerAdmin": Replace "foo@mail.de" with your own email-address.

- "DocumentRoot": If you don't want to store your content into
"Apache:htdocs",
you can replace the path with your prefered one. If you do so, you must
change
the line starting with '' too.

IMPORTANT: => All paths in the config-file have to be spelled in
unix-style!!
You have to write "/Apache" instead of "Apache:".

=> If you choosed to install both versions of Apache (PHP4 +
PHP5),
you will find two different versions of the main config-file
in
'Apache:conf/': httpd.conf for PHP5 and httpd-php4.conf for
PHP4!

=> By default apache with PHP5 is set to port 80 and apache with
PHP4 to port 8080.

For further information please refer to the manuals or to
"http://httpd.apache.org/".

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

Starting / stopping:

To launch the server, open the "Apache:"-drawer an double-click
"starthttpd.rexx".
To stop it double-click "stophttpd.rexx".

After starting, try to access the apache-start-page by typing
"http://localhost"
into
your web-browser. It should appear after a few seconds.

If you have installed the PHP4-version too, then you can start and stop this
server
with "starthttpd-php4.rexx" and "stophttpd-php4.rexx".


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


_________________

 Status: Offline
Profile     Report this post  

Goto page ( 1 | 2 )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle