Click to See Complete Forum and Search --> : I installed PHP 5 in Windows 2003, but I want to know


explorer1979
08-29-2005, 10:32 AM
Hi all,

I am new in PHP, since my boss need build up a oscommerce's e-commerce web site, so I installed MySQL 4.1.14, since it is 4.1 series, so for a beginner, myphpadmin is a easy way to manage the database (Add, del table etc ...) but PHP 4.0.X haven't the mysqli.dll, so I using PHP 5.0.4

But now, I am very worry a problems ..... it is, from now on, still have many many free script, and other good php script is write by the PHP 4.x series.

Do PHP 5.x can full run the php 4 application properly?? If not, what is the best and easy and stable way to build a e-commerce platform under windows???

thx for your time

Best Regard,
Jimmy Chan
http://www.wusogorphoto.net

matto
09-26-2005, 07:01 AM
Do PHP 5.x can full run the php 4 application properly?? If not, what is the best and easy and stable way to build a e-commerce platform under windows???


under php5, not every php4 script can be run. however in most cases it is easy and quickly done to adapt old scripts (but you need an experienced programmer for that).
especially in the area of classes/objects there are important differences.

perhaps you can do something about the dll missing from php 4 (I didn't try this out), there's something in this forum:

http://www.phpbuilder.com/board/archive/index.php/t-10278679.html

Qsan
10-06-2005, 07:29 PM
In php.ini, you may try:
; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
zend.ze1_compatibility_mode = On

kubis
10-07-2005, 09:46 AM
In php.ini, you may try:
; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
zend.ze1_compatibility_mode = On


DONT USE IT IN php.ini, since it turns your whole PHP5 installation to be zend engine 1 compatible and thats useless


use it per directory using<Directory> directive in your apache configuration or .htaccess

RTFM for more