PHP error, build egroupware,unexpected T_array, expecting ' & ' or t_variable
Build Egroupware Environment in WINDOWS-XP
With apache+mysql+php.
The version number is as follows:
apache:2.0.50
mysql:4.0.20d
php:5.0.0
egroupware:1.8.004.20130831
Enter the URL in the browser: http://127.0.0.1/egroupware
Report the following error:
Warning:set_error_handler () expects parameter 2 to being long, string given in C:\Apache group\www\egroupware\phpgwapi\inc\c ommon_functions.inc.php on line 1640
Parse error:parse error, unexpected T_array, expecting ' & ' or t_variable in C:\Apache group\www\egroupware\setup\inc\ class.setup.inc.php on line 986
Supposedly egroupware this kind of open source code will not error, is not the version of the incompatibility, or need to set what configuration file?
Ask for help Ah ... PHP Apache Egroupware MySQL Windows
Share to:
------Solution--------------------
You see the official, what version is needed. Should be caused by different versions of PHP.
------Solution--------------------
The type declaration of the parameter is php5.3 after it is gradually added.
------Solution--------------------
Yes, the type declaration of the parameter is php5.3 after it is gradually added.
------Solution--------------------
Mysql_connect (): Connecting to 3.22, 3.23 & 4.0 are not supported. Server is 4.0.20a-nt in C:\\apache group\\www\\test.php on line 2
Obviously your MySQL is old!