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

From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.php
Subject Re: add PHP 5.3 to WAMP PHP versions
Date 2015-06-03 19:21 +0200
Organization solani.org
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>

Show all headers | 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