PHP error, preparation egroupware,unexpected T_array, expecting ' & ' or t_variable

Source: Internet
Author: User
Tags parse error php error
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!
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.