Php reports an error. prepare egroupware, unexpectedT_ARRAY, expecting '& 'ort _ VARIABLE

Source: Internet
Author: User
Php reports an error. to set up egroupware, unexpectedT_ARRAY, expecting & # x27; & amp; & # x27; orT_VARIABLE, the apache + mysql + php version is used to build the egroupware environment in windows-xp: apache: 2.0.50mysql: 4.0.20dphp: 5.0.0egroupwa php error: set up egroupware, unexpected T_ARRAY, expecting '&' or T_VARIABLE
Build an egroupware environment in windows-xp
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: http: // 127.0.0.1/egroupware in the browser.
The following error is reported:

Warning: set_error_handler () expects parameter 2 to be long, string given in C: \ Apache Group \ www \ egroupware \ phpgwapi \ inc \ common_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


Generally, open-source code such as egroupware does not report errors. is it incompatible with the version or the configuration file to be set?

Ask for help...

Php apache egroupware mysql windows

Share:


------ Solution --------------------
What version do you need. It should be caused by different php versions.
------ Solution --------------------
The parameter type declaration is added after php5.3.
------ Solution --------------------
Yes. the parameter type declaration is added after php5.3.
------ Solution --------------------
Mysql_connect (): Connecting to 3.22, 3.23 & 4.0 is 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.