php 5

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
User avatar
Viperal2
Registered User
Posts: 223
Joined: Tue Jun 08, 2004 9:28 pm
Contact:

Re: php 5

Post by Viperal2 »

skrypt wrote:I want to say that I whas wrong. With PHP5 under Windows 2003 when you go to the Administration Control Panel I whas not able to see the left panel where the options of administrations are. It whas showing only a "row2" grey panel.
Thats a problem with a duplicate function in one of the admin files. But can't say more since, this is not supoose to be bugs posting.
Graham wrote:I'll step up and answer this until one of the developers gets here Smile

Yes, phpBB 2.2 will support PHP 5.0.x when it is released (whether official support will be added to the 2.0.x line in the future has not been decided).

There are still a few minor issues with it (but most of them affect PHP 4.x as well), but these should be resolved before the final release.
I remember it was said early that there wasn't going to be support on php5 until a php5 only version that would be availble after the release of phpbb2.2.

there was going to be two version php4 and php5, has that change to one single version. I think one version is best. Just wanted to bring up a past disscusion. ;) . The arrays are the biggest thing there after all and simpl to fix..

(P.S the long varible thing was because of mmcache :-( so if you use it you must enable it. ) ;)
What is The Viperal ?

http://developer.berlios.de/projects/viperals/" target="_blank

User avatar
skrypt
Registered User
Posts: 34
Joined: Wed May 05, 2004 4:39 am
Location: Québec, Canada
Contact:

Re: php 5

Post by skrypt »

Oh yeah I see. I removed the fonction in one the 2 php files and now it works.
8)
Thanx Viperal2

Reliable
Registered User
Posts: 15
Joined: Wed Dec 22, 2004 4:48 pm
Location: New York, USA
Contact:

Re: php 5

Post by Reliable »

Question,

Knowing that PHPBB 2.2.0 Will support PHP 5 - Can I a ssume that it will work flawlessly with both PHP 4 & PHP 5?

User avatar
skrypt
Registered User
Posts: 34
Joined: Wed May 05, 2004 4:39 am
Location: Québec, Canada
Contact:

Re: php 5

Post by skrypt »

The software code use features from PHP 4. I mean phpbb 2.2 have been developped to support PHP 4 at the base.
All features from PHP 4 are supposed to be supported in PHP 5 as far as I know...
I'm actually running phpbb CVS snapshots with php 5.02 installed and it works.

Reliable
Registered User
Posts: 15
Joined: Wed Dec 22, 2004 4:48 pm
Location: New York, USA
Contact:

Re: php 5

Post by Reliable »

skrypt wrote:I'm actually running phpbb CVS snapshots with php 5.02 installed and it works.
I am using AppServ 2.5.2 With php 5.0.2 and I get a blank page for the snap shots during installation.
  • PHP 5.0.2
  • Apache 1.3.33
  • MySQL 4.1.7
  • Zend Optimizer 2.5.5
  • phpMyAdmin 2.6.0-pl2
  • Perl 5.8.4
But it works fine when I use AppServ 2.4.2, only difference is that 2.4.2 is using php 4.x

User avatar
skrypt
Registered User
Posts: 34
Joined: Wed May 05, 2004 4:39 am
Location: Québec, Canada
Contact:

Re: php 5

Post by skrypt »

AppServ is an open source project wich install everything in one easy step.
The point is that you need to configure some things to make PHP 5 being compatible with PHP 4.

In your php.ini; find those lines.

Code: Select all

; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
zend.ze1_compatibility_mode = Off
and change it for

Code: Select all

; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
zend.ze1_compatibility_mode = On
If you are running it with IIS the setup is a little different and more difficult.
Actually there's 2 way running PHP under Windows IIS: by CGI (php-cgi.exe) or by an ISAPI filter (php5isapi.dll).

Reliable
Registered User
Posts: 15
Joined: Wed Dec 22, 2004 4:48 pm
Location: New York, USA
Contact:

Re: php 5

Post by Reliable »

I tried that, no change.

User avatar
skrypt
Registered User
Posts: 34
Joined: Wed May 05, 2004 4:39 am
Location: Québec, Canada
Contact:

Re: php 5

Post by skrypt »

The blank page is because your PHP 5 can't load your php_mysql extension to connect to your MySQL 4 database. Try to see if in your php.ini if those lines are uncommented:

Code: Select all

extension=php_mysql.dll
extension=php_mysqli.dll
reboot the PC.

make yourself a test.php page and put in it:
<? phpinfo(); ?>
When you run it you should see this:
mysql.gif
mysql.gif (19.48 KiB) Viewed 310 times

Reliable
Registered User
Posts: 15
Joined: Wed Dec 22, 2004 4:48 pm
Location: New York, USA
Contact:

Re: php 5

Post by Reliable »

skrypt wrote:

Code: Select all

extension=php_mysql.dll
extension=php_mysqli.dll
Thanks, that worked.

extension=php_mysql.dll was not in the Windows Extensions list

So I simply added it there uncommented, saved, then restarted apache and it worked.

Reliable
Registered User
Posts: 15
Joined: Wed Dec 22, 2004 4:48 pm
Location: New York, USA
Contact:

Re: php 5

Post by Reliable »

Its not letting me in the ACP, it asks me to login and when I log in, it asks me to log in again.

Post Reply