installing new php from dreamhost wiki...

installing new php from dreamhost wiki...

Posted by: jprater
Posted on: 2006-12-28 20:52:00

hi. i've followed the dreamhost php wiki fully and when i get to step 6, i get this error:

Parse error: syntax error, unexpected T_FOREACH in /home/name/php/php-update.php on line 170

does anyone know what i'm doing wrong?


Re: installing new php from dreamhost wiki...

Posted by: rlparker
Posted on: 2006-12-28 20:55:00

That's a syntax error in the script, but I can't tell what exactly it might be, as you only indicated that you "followed the dreamhost php wiki fully", and there are several different wiki pages/scripts you might have used.

Could you provide the link to the instructions you are following, so we can take a look and maybe help you identify the problem?

--rlparker

Re: installing new php from dreamhost wiki...

Posted by: jprater
Posted on: 2006-12-28 21:06:00

i found my error. it was a typo after all. i was thinking i was in a different directory in the wrong domain. thanks for your help though!

Re: installing new php from dreamhost wiki...

Posted by: rlparker
Posted on: 2006-12-28 21:09:00

You're welcome, and I'm glad to hear you got it working.smile

--rlparker

Re: installing new php from dreamhost wiki...

Posted by: bossman_mi
Posted on: 2007-02-02 05:58:00

I am having the same problem, but I'm fairly certain that I am in the right domain/directory...do you still remember any further details as to what was wrong in your case?

Thanks...

Tags: dreamhostparse errorsyntax errorwikistep 6foreach