I spent some time trying to create a gentoo ebuild for LiveSupport, and
(long story short) I ended up having to emerge php5.
while I'm not generally aware of the differences between php4 and php5,
I just gave it a try. while the HTML UI does start up, I do get error
messages, and I can't actually log in.
was LS tried before on php5? is it supposed to work?
> I spent some time trying to create a gentoo ebuild for LiveSupport, and
> (long story short) I ended up having to emerge php5.
>
> while I'm not generally aware of the differences between php4 and php5,
> I just gave it a try. while the HTML UI does start up, I do get error
> messages, and I can't actually log in.
>
> was LS tried before on php5? is it supposed to work?
I have tryed it with php5 (gentoo-ebuild i posted before) and it doesn't
work at some points. I ended up with masking php5. Some like classes (->)
doesn't work the same for php5.
Stefan de Konink wrote:
> Is the tarball that different in compare to the CVS? I previously posted
> the ebuilds for the other 'dependencies'. Or do you want to put everything
> in one ebuild (ugly).
if you set your PORTDIR_OVERLAY to livesupport/etc/portage/ , it should
work.
but: as the quite recent PEAR modules are already requiring dev-lang/php
instead of dev-php/php, it basically bumps up your PHP to PHP5 - and it
seems LS doesn't work with PHP5 just yet
between PHP4 and PHP5 they changed some oo-related behavior.
One basic thing is that now references instead of copys are standard. The
code $a = $b, in PHP4 creates new variable $a containing the value of $b. In
PHP5 it is an reference, like $a = &$b before, so $a and $b are just two
names for the same thing. Of course, this can cause some unwanted behavior
if $b is changed and $a have to keep old value.
So we would have to decide if it makes much sence, at this time, to develop
a second branch for PHP5, or if we concentrate of the features as long PHP4
is standard.
Sebastian Goebel wrote:
> So we would have to decide if it makes much sence, at this time, to develop
> a second branch for PHP5, or if we concentrate of the features as long PHP4
> is standard.
and is it possible to write code that works on both php4 and php5?
can php5 be made to work like php4 with some php.ini settings?