vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   PHP 5 Released! (https://vborg.vbsupport.ru/showthread.php?t=67174)

Xenon 07-14-2004 08:20 PM

PHP 5 Released!
 
PHP5 has been released on July 13th.
That means that those who have not started to code in PHP5, should start now.

Soon the hosts will upgrade i think, i already got mail from my Host (of my private site) that they will upgrade soon.
So jump up the train, and check your scripts if you have not done so already.

Quote:

Originally Posted by PHP.net
The PHP team is proud to announce the final release of PHP 5!

Some of the key features of PHP 5 include:

* The Zend Engine II with a new object model and dozens of new features.
* XML support has been completely redone in PHP 5, all extensions are now focused around the excellent libxml2 library (http://www.xmlsoft.org/).
* A new SimpleXML extension for easily accessing and manipulating XML as PHP objects. It can also interface with the DOM extension and vice-versa.
* A brand new built-in SOAP extension for interoperability with Web Services.
* A new MySQL extension named MySQLi for developers using MySQL 4.1 and later. This new extension includes an object-oriented interface in addition to a traditional interface; as well as support for many of MySQL's new features, such as prepared statements.
* SQLite has been bundled with PHP. For more information on SQLite, please visit their website.
* Streams have been greatly improved, including the ability to access low-level socket operations on streams.
* And lots more...


Velocd 07-15-2004 02:08 AM

Quote:

Originally Posted by Xenon
PHP5 has been released on July 13th.
That means that those who have not started to code in PHP5, should start now.

Soon the hosts will upgrade i think, i already got mail from my Host (of my private site) that they will upgrade soon.
So jump up the train, and check your scripts if you have not done so already.

Cool beans. I've been messing with RCs a little here and there, but I defiantly will move over on my localhost and begin PHP5 coding. ;)

Modin 07-15-2004 02:47 AM

:up: it's great news, was waiting for this to finally get released...

my host has already installed it :D

Limpkinw 07-15-2004 03:37 AM

i installed it today and my site went nutz...

Xenon 07-15-2004 04:56 PM

Hmm, Apache released 2.0.50 as well.

think it's time to upgrade localhost ;)

Brad 07-15-2004 08:15 PM

I've been playing with the RC's for some time. I'm in love with the new OO engine

sabret00the 07-15-2004 08:32 PM

is their anything bound to go wrong on hacks? like anything been discontinued?

Xenon 07-15-2004 08:40 PM

hmm, a few more settings are there and disabled by default, which could affect some custom scripts, but as i wrote my hacks on PHP5 since RC1 was released, i'd say, you don't have to fear such ;)

Boofo 07-15-2004 09:31 PM

Quote:

Originally Posted by Limpkinw
i installed it today and my site went nutz...

Like how?

Dark_Wizard 07-15-2004 11:30 PM

Quote:

Originally Posted by Boofo
Like how?

I would like to know as well...I have the opportunity to have my dedicated server upgraded but need to know if anyone has it running with vb3.0 and how the stability is with it....

Boofo 07-16-2004 12:23 AM

Quote:

Originally Posted by Dark_Wizard
I would like to know as well...I have the opportunity to have my dedicated server upgraded but need to know if anyone has it running with vb3.0 and how the stability is with it....

On my server it has (testing) in front of PHP 5 right now so I opted to go from 4.3.7 to 4.3.8 for now. ;)

Xenon 07-16-2004 12:54 PM

Quote:

Originally Posted by Dark_Wizard
I would like to know as well...I have the opportunity to have my dedicated server upgraded but need to know if anyone has it running with vb3.0 and how the stability is with it....

I believe the devs have tested vb3 on php5 since a long time as well, and didn't occur any problems.

On my own testserver here, i've installed php5 since Beta 4, and vb3 works flawless.
vb2 works as well, but there were a few little issues iirc.

But as i'm not running a great community on my localhost, i cannot give any benchmarks ;)

nexialys 07-16-2004 01:15 PM

point with PHP5 is to have a complete hosted install, because local servers like me on my own OS-X, it takes too much memory... btw, some suggests to have a complete package of up-to-date softs: PHP, MySQL and Apache latest version... they arebuilt to work together this time!

Dark_Wizard 07-16-2004 02:24 PM

Quote:

Originally Posted by Xenon
I believe the devs have tested vb3 on php5 since a long time as well, and didn't occur any problems.

On my own testserver here, i've installed php5 since Beta 4, and vb3 works flawless.
vb2 works as well, but there were a few little issues iirc.

But as i'm not running a great community on my localhost, i cannot give any benchmarks ;)

Thx for the info...very appreciated!

Boofo 07-16-2004 02:37 PM

I just upgraded the server to PHP 5.0.0, so we'll see how it does. I am also running MySQL v4.0.20-standard and Apache v1.3.31. Is that a good combination?

Plus I am running RC3 (with all the security fixes). ;)

Brad 07-16-2004 02:45 PM

Quote:

Originally Posted by Boofo
I just upgraded the server to PHP 5.0.0, so we'll see how it does. I am also running MySQL v4.0.20-standard and Apache v1.3.31. Is that a good combination?

Plus I am running RC3 (with all the security fixes). ;)

I would try apache 2, just because I have not seen any problems with it. I don't run a large site so I could'nt tell you if it gives any hit preformance wise.

altho IIRC the box the vB sister sites are hosted on is apache 2 powered.

Boofo 07-16-2004 02:59 PM

Quote:

Originally Posted by Brad.loo
I would try apache 2, just because I have not seen any problems with it. I don't run a large site so I could'nt tell you if it gives any hit preformance wise.

altho IIRC the box the vB sister sites are hosted on is apache 2 powered.

As soon as it becomes an option in my root CPanel, I will probably install it. As of now, only 1.3.31 is an option there.

Boofo 07-16-2004 04:32 PM

An update: I had to go back to 4.3.8. I kept getting the following error (among others) from init.php whenever I tried to use the PungoSpell spell checker.

It said function.implode was not an array in this query:

PHP Code:

 $datastoretemp $DB_site->query("
SELECT title, data FROM " 
TABLE_PREFIX "datastore
WHERE title IN ('" 
implode("', '"$specialtemplates) . "')
"
);
unset(
$specials$specialtemplates); 

It nailed function.merge (array_merge) in here too and another one in global.php.

So, apparently, there are areas it needs work on, I guess. ;)

Xenon 07-16-2004 04:41 PM

@bob: i believe that the code isn't written well then.

you always have to define $specialtemplates = array(); in custom scripts.

If you don't do that, then php5 will throw a correct error.
I don't know why php4 doesn't but actually it should :)

Boofo 07-16-2004 04:44 PM

I figured it just wasn't written to handle 5.0.0 yet. But since I do use it extensively, I had no choice but to go back to 4.3.8. And I was looking forward to trying 5.0.0. out, too. :(

Xenon 07-16-2004 04:46 PM

maybe do it yourself and write it for php5 :)

there shouldn't be much changes needed ;)

Boofo 07-16-2004 04:48 PM

Quote:

Originally Posted by Xenon
maybe do it yourself and write it for php5 :)

there shouldn't be much changes needed ;)

Yeah, like I know what 5 expects now that 4 let slip by. LOL

If I had any clue, I would. ;)

Xenon 07-16-2004 05:15 PM

hehe, as said, arrays have to be initialisised ^^

:)

Boofo 07-16-2004 05:51 PM

Quote:

Originally Posted by Xenon
hehe, as said, arrays have to be initialisised ^^

:)

But I didn't see any arrays that had anything to do with that anywhere.

Xenon 07-16-2004 10:35 PM

PHP Code:

implode("', '"$specialtemplates

$specialtemplates should be an array if you use it in implode ;)

Boofo 07-17-2004 12:44 AM

Quote:

Originally Posted by Xenon
PHP Code:

implode("', '"$specialtemplates

$specialtemplates should be an array if you use it in implode ;)

But it does not use $specialtemplates anywhere in the files for PungoSpell.

Xenon 07-18-2004 05:48 PM

that's the problem, you have to initialise it, as it's used in init.php, called from global.php

Just take a look at any vb file, and you can see those arrays are always initialisied, even if empty :)


All times are GMT. The time now is 04:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01327 seconds
  • Memory Usage 1,782KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete