TWLan Forum
PHP-5-Unterstützung - Printable Version

+- TWLan Forum (https://twlan.org)
+-- Forum: Legacy (https://twlan.org/forumdisplay.php?fid=61)
+--- Forum: TWLan 1.x (DSLan) (https://twlan.org/forumdisplay.php?fid=62)
+---- Forum: Deutsche Community (https://twlan.org/forumdisplay.php?fid=65)
+----- Forum: Feedback (https://twlan.org/forumdisplay.php?fid=67)
+----- Thread: PHP-5-Unterstützung (/showthread.php?tid=3370)

Pages: 1 2


PHP-5-Unterstützung - Kevz - 22.08.2010

Hallo zusammen,

ich hätte eine kleine Frage bez. der Unterstützung der PHP-Version 5.x.x.

Es momentan die Version 4.4.4 vorgegeben. Die implementierung von 5.x.x ist kein sonderlich großes Problem.. das größere ist eher, die Dateien dafür anzupassen, damit keine Inkompatibilität entsteht. Aber da kommen wir bereits zum nächsten Problem: Der Code ist natürlich komprimiert/verschlüsselt. Das heißt, man ist auf den Support der Autoren angewiesen.

Deshalb an dieser stelle: Ist in ferner Zukunft Support auch für neuere PHP-Versionen geplant? Die Features sprechen für sich, OOP, Lambda, Closures, Namespace, etc. Gerade die Sicherheit bei OOP ist sehr gestiegen, in der neuen PHP-Version. Es sind mehr Möglichkeiten gegeben! Und natürlich vieles mehr, abseits OOP.


Liebe Grüße,


RE: PHP-5-Unterstützung - Lekensteyn - 22.08.2010

There are many reasons to use PHP5, one of them is that it's the current version, including performance enhancements and security fixes.

Only eAccelerator 0.9.6 and up are supported by PHP5, but these do not include an encoder.
As long as there are no alternatives to eAccelerator Encoder, they will not make it work with PHP5.

It's a pity, but we have to satisfy Innogames.

Lekensteyn


RE: PHP-5-Unterstützung - agent47 - 22.08.2010

Version 2 soll PHP5 nutzen, die Version wird aber wahrscheinlich nicht mehr in diesem Jahrhundert kommen.

Die aktuelle Version ist mit den eAccelerator in Bytecode Kompiliert und zum ausführen wird ebenfalls die eAccelerator Extension benötigt, die aber nie für PHP5 minigriert wurde.

Da es aber eine Reine Lan Version ist und damit keine Verbindung zum Internet haben sollte sind die Sicherheits und Performance Mängel der alten PHP und MySQL Version unbedeutend.


RE: PHP-5-Unterstützung - Kevz - 31.10.2010

Wie wäre es denn mit Zend Guard? Kosten zwar ebenfalls etwas, aber Unterstützt zudem auch die neueren PHP Versionen einschließlich der PHP 5.3. :-)


RE: PHP-5-Unterstützung - faust - 22.11.2010

(22.08.2010, 12:44)Lekensteyn Wrote: There are many reasons to use PHP5, one of them is that it's the current version, including performance enhancements and security fixes.

Only eAccelerator 0.9.6 and up are supported by PHP5, but these do not include an encoder.
As long as there are no alternatives to eAccelerator Encoder, they will not make it work with PHP5.

It's a pity, but we have to satisfy Innogames.

Lekensteyn

are you sure about that encoder thing?! i did't tested but i think the old encoder.php should do it's job... it is also included in the actual trunk of the eaccelerator svn...
i will check it the next days.


RE: PHP-5-Unterstützung - Lekensteyn - 22.11.2010

encoder.php just calls the eaccelerator_encode() function. That won't work in PHP 5 for sure.
I've studied the source code of eaccelerator, and I can tell you that porting it to PHP 5 is not easy.



RE: PHP-5-Unterstützung - Kevz - 22.11.2010

(22.11.2010, 14:32)Lekensteyn Wrote: encoder.php just calls the eaccelerator_encode() function. That won't work in PHP 5 for sure.
I've studied the source code of eaccelerator, and I can tell you that porting it to PHP 5 is not easy.

Fine! Please send me the new source code! ;-)


RE: PHP-5-Unterstützung - faust - 22.11.2010

(22.11.2010, 18:08)Kevz Wrote:
(22.11.2010, 14:32)Lekensteyn Wrote: encoder.php just calls the eaccelerator_encode() function. That won't work in PHP 5 for sure.
I've studied the source code of eaccelerator, and I can tell you that porting it to PHP 5 is not easy.

Fine! Please send me the new source code! ;-)

@Kevs: einen neuen Sourcecode gibts nicht...

@Lekensteyn: eAccelerator supports php5.3 so whats the problem?! as far as i know php5 is backward compatible so you just need the decoded source of twlan to build up a 5.3 twlan Big Grin


RE: PHP-5-Unterstützung - Lekensteyn - 22.11.2010

(22.11.2010, 18:08)Kevz Wrote:
(22.11.2010, 14:32)Lekensteyn Wrote: encoder.php just calls the eaccelerator_encode() function. That won't work in PHP 5 for sure.
I've studied the source code of eaccelerator, and I can tell you that porting it to PHP 5 is not easy.

Fine! Please send me the new source code! ;-)
Sorry, I cannot Wink

(22.11.2010, 20:19)blner Wrote:
(22.11.2010, 18:08)Kevz Wrote:
(22.11.2010, 14:32)Lekensteyn Wrote: encoder.php just calls the eaccelerator_encode() function. That won't work in PHP 5 for sure.
I've studied the source code of eaccelerator, and I can tell you that porting it to PHP 5 is not easy.

Fine! Please send me the new source code! ;-)

@Kevs: einen neuen Sourcecode gibts nicht...

@Lekensteyn: eAccelerator supports php5.3 so whats the problem?! as far as i know php5 is backward compatible so you just need the decoded source of twlan to build up a 5.3 twlan Big Grin
eAccelerator encoder and PHP 4 support is removed as of 0.9.6: http://eaccelerator.net/wiki/Release-0.9.6-rc1



RE: PHP-5-Unterstützung - Chrissi - 23.11.2010

blner und kevz, eAccelerator ist aber nicht was wir direkt nutzen. Wir brauchen den eAccelerator encoder, wie Lekensteyn das schon sagt; und den gibt es für PHP5 nicht. Der eAccelerator an sich hat nur die Funktion, das Programm zu verschnellern (to accelerate).

www.eaccelerator.net Wrote:In older releases, the encoder will only work with PHP versions from the 4.x.x branch.

http://www.eaccelerator.net/wiki/Release-0.9.5 Wrote:WARNING: The encoder and loader DO NOT support php 5.1 nor php 5.0 and contain a lot of bugs for php 4. This is the last release in which the encoder/loader functionality will be available. Later a new encoder/loader might be included but there aren't any plans for that right now.



RE: PHP-5-Unterstützung - faust - 23.11.2010

(23.11.2010, 00:57)Chrissi Wrote: blner und kevz, eAccelerator ist aber nicht was wir direkt nutzen. Wir brauchen den eAccelerator encoder, wie Lekensteyn das schon sagt; und den gibt es für PHP5 nicht. Der eAccelerator an sich hat nur die Funktion, das Programm zu verschnellern (to accelerate).

www.eaccelerator.net Wrote:In older releases, the encoder will only work with PHP versions from the 4.x.x branch.

http://www.eaccelerator.net/wiki/Release-0.9.5 Wrote:WARNING: The encoder and loader DO NOT support php 5.1 nor php 5.0 and contain a lot of bugs for php 4. This is the last release in which the encoder/loader functionality will be available. Later a new encoder/loader might be included but there aren't any plans for that right now.

ok, das habe ich dezent überlesen >_< hab ja gesagt, habe nichts getestet Wink


RE: PHP-5-Unterstützung - freddy - 23.11.2010

Hab aber schon eine neue Methode für TWLan im Kopf, die auch schon gute Resultate erbringt Wink
Vielleicht liegt PHP5/6 nicht mehr in so weiter Ferne Tongue

MfG
Freddy


RE: PHP-5-Unterstützung - Kevz - 23.11.2010

Hallo Chrissi,

ich weiß der Code durch das "Verschlüsseln" verschnellert wird, aber in erster Linie geht es ja um die Verschlüsselung und diese ist seit der Version 0.9.6 nicht mehr gegeben.. Und mit APC, oder XCache kannst Du ebenso den Quellcode verschnellern. Nur eben nicht unkenntlich für andere machen! ;-) Es bietet sich also die Möglichkeit an, Selbst eine Verschlüsselungsroutine zu erstellen, kompilieren - oder bcompiler, wo ich aber nicht zu tendiere. Alles andere ist Kostenpflichtig! Bei dem Selbst kompilieren.. das ist wieder eine Frage, wie sicher die Routine wieder ist.. Alles sehr schwammig!

€dit: Es gab mal im Zend Forum einen Lizenzschlüssel zur Zend Guard BETA. Leider ist der Lizenzschlüssel für die BETA bereits abgelaufen. Es würde sich aber anbieten die Zeit zurückzustellen, was aber auch keine dauerhafte Lösung ist! ;-) Es ist also ein Teufelskreis! :-(


RE: PHP-5-Unterstützung - SlimShady95 - 23.11.2010

Muss es legal sein?
Sonst könnte ich Zend Guard besorgen, natürlich dann als Vollversion Wink

MfG Manuel


RE: PHP-5-Unterstützung - k3v95 - 23.11.2010

lol^^
was das für ne aussage


RE: PHP-5-Unterstützung - SlimShady95 - 23.11.2010

Ne ich mein des völlig ernst Wink
Wenn die Admins nichts dagegen haben, dass die Version nich gekauft sondern einfach runtergeladen ist, einfach bei mir melden Wink

MfG Manuel


RE: PHP-5-Unterstützung - lolli1 - 23.11.2010

lol sind nur 30.39 mb xD
das dauert ja nicht lange^^


RE: PHP-5-Unterstützung - SlimShady95 - 23.11.2010

Das wäre mir eigentlich egal, wie lange das dauert Wink
Aber DSLan in PHP5 wäre schon echt geil.
Und bevor hier jemand ein Haufen Geld ausgibt für das Programm, besorg ich das Wink

MfG Manuel


RE: PHP-5-Unterstützung - Kevz - 23.11.2010

Das ist dann aber wieder illegal! Siehe ansonsten bitte meine Aussage bez. Zend Guard und der Lizenz.


RE: PHP-5-Unterstützung - k3v95 - 23.11.2010

er meint es ja illigal, da werden die admins bestimmt nein sagen