Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #15401

Re: add PHP 5.3 to WAMP PHP versions

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.php
Subject Re: add PHP 5.3 to WAMP PHP versions
Date Wed, 03 Jun 2015 19:21:41 +0200
Organization solani.org
Lines 28
Message-ID <mknd2v$cnd$1@solani.org> (permalink)
References <08c315ec-d35a-4b45-b11e-201fd20affa3@googlegroups.com> <32dbc87c-d4ef-43cc-b0c8-1b72c0015dcd@googlegroups.com> <6ec475dc-ee00-471e-a0e0-7e3beff3c5a1@googlegroups.com> <ca4c487e-1a01-462d-9f00-6f51df1e8824@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace solani.org 1433352095 13037 eJwFwQERADEIAzBLdFsLyOF48C/hE15B7U/U43L7TBy2QmnzMbfLErkmABU2Duylj6o9Z38TLBDh (3 Jun 2015 17:21:35 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Wed, 3 Jun 2015 17:21:35 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
X-User-ID eJwNxkEBwDAIA0BNAZJip0DxL2G719EF9QlRweXqr5tVR4mOfZw0HLwUX9PHssoadyYuZj8KmBEn
In-Reply-To <ca4c487e-1a01-462d-9f00-6f51df1e8824@googlegroups.com>
Cancel-Lock sha1:IAJWZsi04JsjNzTZeJ5WRnNDZQM=
X-NNTP-Posting-Host eJwFwYEBwCAIA7CXcFC057gC/59gAs+V2pHIwGB0vbyneGBC+THyH7bM4Uiui1QZv92h6HolgBFC
Xref csiph.com comp.lang.php:15401

Show key headers only | View raw


jans wrote:

Please do not top-post; that makes it hard to reply sensibly.

> On Tuesday, June 2, 2015 at 6:30:25 PM UTC-7, jans wrote:
> 
> This is the offending line in the document:
> $documentType->doctype('XHTML1_STRICT');
>   It is wamp server latest version so it might be an old version of apache then?
> Why doesn't it like the doctype?

That has nothing to do with the doctype.  The error is a parse error, so
semantics are not yet of interest.  The problem is that the parser sees
a T_STRING, and doesn't expect it there.  I suggest you look at what
comes before this line, preferably with a syntax highlighting editor.

>> On Tuesday, June 2, 2015 at 6:24:26 PM UTC-7, jans wrote:
>>
>> Someone said this error is related to an old version of PHP.  I can't install an old Wamp SErver on a 64 bit pc but
>> Just in case someone knows how to fix it here is the error msg:
>>
>> ( ! ) Parse error: syntax error, unexpected 'XHTML1_STRICT' (T_STRING) in C:\wamp\www\conduit-master\earth\application\bootstrap.php on line 21
>> Call Stack
>> #	Time	Memory	Function	Location
>> 1	0.0010	237896	{main}( )	..\index.php:0

-- 
Christoph M. Becker

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

add PHP 5.3 to WAMP PHP versions jans <janis.rough@gmail.com> - 2015-06-02 17:43 -0700
  Re: add PHP 5.3 to WAMP PHP versions jans <janis.rough@gmail.com> - 2015-06-02 18:24 -0700
    Re: add PHP 5.3 to WAMP PHP versions jans <janis.rough@gmail.com> - 2015-06-02 18:30 -0700
      Re: add PHP 5.3 to WAMP PHP versions Jerry Stuckle <jstucklex@attglobal.net> - 2015-06-02 21:48 -0400
      Re: add PHP 5.3 to WAMP PHP versions jans <janis.rough@gmail.com> - 2015-06-03 09:33 -0700
        Re: add PHP 5.3 to WAMP PHP versions Jerry Stuckle <jstucklex@attglobal.net> - 2015-06-03 12:44 -0400
        Re: add PHP 5.3 to WAMP PHP versions "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-06-03 19:21 +0200
    Re: add PHP 5.3 to WAMP PHP versions Jerry Stuckle <jstucklex@attglobal.net> - 2015-06-02 21:50 -0400
      Re: add PHP 5.3 to WAMP PHP versions jans <janis.rough@gmail.com> - 2015-06-03 09:37 -0700
        Re: add PHP 5.3 to WAMP PHP versions Jerry Stuckle <jstucklex@attglobal.net> - 2015-06-03 12:46 -0400
          Re: add PHP 5.3 to WAMP PHP versions jans <janis.rough@gmail.com> - 2015-06-03 10:29 -0700

csiph-web