Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

add PHP 5.3 to WAMP PHP versions

13 views
Skip to first unread message

jans

unread,
Jun 2, 2015, 8:43:36 PM6/2/15
to
My application uses PHP 5.3. I am trying to add the right php 5.3 version for Windows 7 64 bit threadsafe to the current WAMP SErver.

I checked the archives: http://windows.php.net/downloads/releases/archives/


Is this the right one?
Tuesday, March 22, 2011 2:43 PM 10512387 php-5.2.9-Win32-VC6-x86.zip

Things are breaking in the app.

thanks

jans

unread,
Jun 2, 2015, 9:24:26 PM6/2/15
to
On Tuesday, June 2, 2015 at 5:43:36 PM UTC-7, jans wrote:
The easiest would be to install Wamp Server 2. I located that on sourceforge
http://sourceforge.net/projects/wampserver/files/WampServer%202%20-%20Extensions/PHP/WampServer2-PHP530a3.exe/download

but I'm guessing that it is 32 bit not 64 bit so I can't downgrade. I don't need to worry about threadsafe PHP. I'm going to get a mac. Thanks anyway.

jans

unread,
Jun 2, 2015, 9:30:25 PM6/2/15
to
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

Jerry Stuckle

unread,
Jun 2, 2015, 9:49:08 PM6/2/15
to
No, that error would have nothing to do with an older version of PHP.
You have a problem in your code.

--
==================
Remove the "x" from my email address
Jerry Stuckle
jstu...@attglobal.net
==================

Jerry Stuckle

unread,
Jun 2, 2015, 9:50:34 PM6/2/15
to
On 6/2/2015 9:24 PM, jans wrote:
> On Tuesday, June 2, 2015 at 5:43:36 PM UTC-7, jans wrote:
> The easiest would be to install Wamp Server 2. I located that on sourceforge
> http://sourceforge.net/projects/wampserver/files/WampServer%202%20-%20Extensions/PHP/WampServer2-PHP530a3.exe/download
>

Getting a MAC is not going to solve any of your problems. What you need
is to hire someone who know what they're doing, instead of just keeping
guessing like you are.

(And no, I am NOT available).

jans

unread,
Jun 3, 2015, 12:33:40 PM6/3/15
to
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?

jans

unread,
Jun 3, 2015, 12:37:47 PM6/3/15
to
XHTML1_STRICT is a valid doctype in Zend Framework. Then why can't it parse it?

Jerry Stuckle

unread,
Jun 3, 2015, 12:45:15 PM6/3/15
to
On 6/3/2015 12:33 PM, jans wrote:
> 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?
>

Impossible to tell. It could be anything before this line causing the
problem. Have you done ANY PHP programming in the past? Do you have
ANY experience installing and debugging Apache, PHP and MySQL?

Jerry Stuckle

unread,
Jun 3, 2015, 12:46:16 PM6/3/15
to
On 6/3/2015 12:37 PM, jans wrote:
> On Tuesday, June 2, 2015 at 6:50:34 PM UTC-7, Jerry Stuckle wrote:
>> On 6/2/2015 9:24 PM, jans wrote:
>>> On Tuesday, June 2, 2015 at 5:43:36 PM UTC-7, jans wrote:
>>> The easiest would be to install Wamp Server 2. I located that on sourceforge
>>> http://sourceforge.net/projects/wampserver/files/WampServer%202%20-%20Extensions/PHP/WampServer2-PHP530a3.exe/download
>>>
>>
>> Getting a MAC is not going to solve any of your problems. What you need
>> is to hire someone who know what they're doing, instead of just keeping
>> guessing like you are.
>>
>> (And no, I am NOT available).
>>
>
> XHTML1_STRICT is a valid doctype in Zend Framework. Then why can't it parse it?
>

Because that's not your problem.

Christoph M. Becker

unread,
Jun 3, 2015, 1:21:39 PM6/3/15
to
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

jans

unread,
Jun 3, 2015, 1:29:17 PM6/3/15
to
On Wednesday, June 3, 2015 at 9:46:16 AM UTC-7, Jerry Stuckle wrote:
you are actually right, there was a syntax error, i couldn't read the cryptic error msg. thanks,
0 new messages