Re: [PHP] PHP5 stable enough for webapps ?

2005-01-28 Thread trobi
[EMAIL PROTECTED]  wrote / napsal (a):
I am in the midst of getting work to implement PHP5 onto a new server for a
web based app I am doing using PEAR's DB_DataObject plus some other fancy
OO. To give them the piece of mind I would like to know if its stable enough
to run for an intranet based app running on Federo Linux. The extensions I
am trying to get are DOM XML, XSL , GD, getext + a heap of PEAR packages. I
have been developing under PHP5 on Mac OSX so no know issues as yet, but I
was the one that did the compiling. Its always a querky finnaky thing when
someone else does it for you :|
Let me know.
Dan
(also wondering when php will be apache2 ready, Rusmas care to answer
without having to repeat yourself though ?? :))
 

Under GNU/Linux you can compile it too, you don't have to use th 
pre-compiled
packages. I think GNU/Linux is stable enough but it is up to you.
trobi

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] PHP5 stable enough for webapps ?

2005-01-28 Thread electroteque
On 28/01/2005, at 11:26 PM, trobi wrote:

Under GNU/Linux you can compile it too, you don't have to use th 
pre-compiled
packages. I think GNU/Linux is stable enough but it is up to you.
trobi

Heh is that for PHP5 or Apache2 ? I think PHP5 is stable enough for 
what i need it to do, no bugs hangs or crashes., Convincing others that 
it isnt bleeding edge anymore is a different story.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] PHP5 stable enough for webapps ?

2005-01-28 Thread Jochem Maas
[EMAIL PROTECTED] wrote:
I am in the midst of getting work to implement PHP5 onto a new server for a
web based app I am doing using PEAR's DB_DataObject plus some other fancy
OO. To give them the piece of mind I would like to know if its stable enough
to run for an intranet based app running on Federo Linux. The extensions I
am trying to get are DOM XML, XSL , GD, getext + a heap of PEAR packages. I
have been developing under PHP5 on Mac OSX so no know issues as yet, but I
was the one that did the compiling. Its always a querky finnaky thing when
someone else does it for you :|
Let me know.
well if you have been working fine on MacOSX then I reckon thats a good 
indication!
...and if you want to run redhat thats your problem ;-)
Yes PHP5 is stable enough to use IMHO, just don't rely on updates to std 
packages always
working (like the redhat packages - which _ahem_ suck).
(I have been writing a PHP5 framework since around 11-2003 and I haven't been 
able to
get it to segfault since around May last year.)
...so it runs on Apache2 quite nicely - there is the fact that you must use the 
prefork apache2
worker module, other than that there are no overwhelming problems (I assume 
that there
are bugs that could crop up - but this is just going on the assumption that 
bugless software
is only made on other planets :-) - at any rate I have pushed PHP5 quite far on 
Apache2
and nothing is breaking - e.g. many cyclic-object-references, which was 
something that sometimes
caused segfaults in the 'early' days)
good luck with the setup,
Jochem
Dan
(also wondering when php will be apache2 ready, Rusmas care to answer
bad form Dan!!! you spelt his name wrong. tut tut ;-)
without having to repeat yourself though ?? :))
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] PHP5 stable enough for webapps ?

2005-01-28 Thread electroteque
On 28/01/2005, at 11:56 PM, Jochem Maas wrote:
well if you have been working fine on MacOSX then I reckon thats a 
good indication!
Well umm, its a standard setup really, i install all the libraries 
needed for the extensions via fink, i compile php via source.


...and if you want to run redhat thats your problem ;-)
Not my decsision what would you suggest ? We need pretty standard stuff 
for it to be supported. I dont work for a web company, i'm in an IT 
department of a government Tv station or i wouldnt need to go through 
all this hassle to get it.


Yes PHP5 is stable enough to use IMHO, just don't rely on updates to 
std packages always
working (like the redhat packages - which _ahem_ suck).
As before the systems guy will be doing it from source fk rpm's.

(I have been writing a PHP5 framework since around 11-2003 and I 
haven't been able to
get it to segfault since around May last year.)
Yeh right interested what your view is on framework
...so it runs on Apache2 quite nicely - there is the fact that you 
must use the prefork apache2
worker module, other than that there are no overwhelming problems (I 
assume that there
are bugs that could crop up - but this is just going on the assumption 
that bugless software
is only made on other planets :-) - at any rate I have pushed PHP5 
quite far on Apache2
and nothing is breaking - e.g. many cyclic-object-references, which 
was something that sometimes
caused segfaults in the 'early' days)

I think we could start a flame here, but I have been told the problem 
isnt with php c code directly but the c libraries it hooks into that 
instead thread safe ?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] PHP5 stable enough for webapps ?

2005-01-28 Thread Jochem Maas
electroteque wrote:
On 28/01/2005, at 11:56 PM, Jochem Maas wrote:
well if you have been working fine on MacOSX then I reckon thats a 
good indication!

Well umm, its a standard setup really, i install all the libraries 
needed for the extensions via fink, i compile php via source.

was not meant as a a dig - its merely that MacOSX is less used and therefore
per definition less tested, statistically you have more chance of finding
a (platform specific) bug there. at least that was my reasoning.

...and if you want to run redhat thats your problem ;-)

Not my decsision what would you suggest ? We need pretty standard stuff 
for it to be supported. I dont work for a web company, i'm in an IT 
department of a government Tv station or i wouldnt need to go through 
all this hassle to get it.

what do you classify as std? (most gov orgs I know of think std == 
Microsoft).
redhat is shite, if you need professional support/indemnity/etc I would 
recommend
Novell/SuSE. if you can go for a minimal setup like debian or gentoo (2 distros 
that
I like) which take the 'less is more' approach and gives you control - rather 
than
some redhat webserver 1500 miles away which thinks it knows better than you 
whether
you want to upgrade to the latest version of xyz.

Yes PHP5 is stable enough to use IMHO, just don't rely on updates to 
std packages always
working (like the redhat packages - which _ahem_ suck).

As before the systems guy will be doing it from source fk rpm's.
I pity the man - I have a friend who is _really_ ace at the sort of
thing and he used the word 'nightmare' (php5/apache2/firebird1.5 on a redhat
v3 enterprise server).
yum yum not. ()

(I have been writing a PHP5 framework since around 11-2003 and I 
haven't been able to
get it to segfault since around May last year.)

Yeh right interested what your view is on framework
framework == 'bunch of code that I can reuse to form the basis of a site'
basically its a data-object setup specific to Firebird DB - basically
you design a DB (day or 2), write the objects (day or 2 again), boom
instant CMS - and then I spend countless hours doing the custom magic for a 
given client.
There is a lot of work done on relating data entities and
on the generic/generated CMS interface. (3 types of relation: Reference, Vector,
Association - each is implements as a Field object - fields objects make up the
structure of data-object). Its pretty cool, but the stuff that really makes it 
stand
out (IMHO) is the generic management/editing screens...e.g.
1. highlight rows (ala phpmyAdmin but better) and then edit all the highlighted 
rows
(no use of checkboxes) with a single click
2. drag'n'drop columns (to change the order) with the ability to store the 
changes
(the system is capable of storing custom view settings for each user)
Actually I have wanted to make the code open source - but its really a
quite a complex beast to setup i.e. I can't just give someone a file and say
run it, theres your demo. which means I need to write an install file, a help
file and make a test DBstructure for people to play with as soon as I have
time I will get my ass into gear, then you (and the rest of the world) will
be able to see if its any good.


...so it runs on Apache2 quite nicely - there is the fact that you 
must use the prefork apache2
worker module, other than that there are no overwhelming problems (I 
assume that there
are bugs that could crop up - but this is just going on the assumption 
that bugless software
is only made on other planets :-) - at any rate I have pushed PHP5 
quite far on Apache2
and nothing is breaking - e.g. many cyclic-object-references, which 
was something that sometimes
caused segfaults in the 'early' days)

I think we could start a flame here, but I have been told the problem 
isnt with php c code directly but the c libraries it hooks into that 
instead thread safe ?
correct as far as I understand it. to paraphrase Rasmus (answering a post
on threading) 'your in uncharted territory, good luck'

I see you sneakily snipped off the misspelling of Rasmus' name ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] PHP5 stable enough for webapps ?

2005-01-28 Thread Greg Donald
On Fri, 28 Jan 2005 23:43:54 +1100, electroteque
[EMAIL PROTECTED] wrote:
 Heh is that for PHP5 or Apache2 ? I think PHP5 is stable enough for
 what i need it to do, no bugs hangs or crashes., Convincing others that
 it isnt bleeding edge anymore is a different story.

I wouldn't say it has no bugs.. especially when you look at the other
5.0.x releases:

http://www.php.net/ChangeLog-5.php

Sure PHP 5 is getting better all the time, but bug free I seriously
doubt.  That said, I'm using it for new development and it does appear
to work fine.


-- 
Greg Donald
Zend Certified Engineer
http://destiney.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php