«

»

Sep
03

Parse error: syntax error, unexpected ‘(‘, expecting ‘)’

On accessing Drupal site I use to get following error:

Parse error: syntax error, unexpected ‘(‘, expecting ‘)’

Above error is mainly because of Drupal modules compatibility issue with php4.
In this case if you are on php4 server then you will need to run your application on php5 server.

If you are on php5 server and still you get the Parse error then in this case the fixed that worked for me was adding Handler to to the installation directory of Drupal.

To add handler create .htaccess file under installation directory and add following.

AddHandler application/x-httpd-php5 .php


contact@webhostingsupport.info

Post to Twitter

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>