Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

[STDERR] PHP Parse error: syntax error, unexpected '"<style>@media (prefers-color-' (T_CONSTANT_ENCAPSED_STRING), expecting ',' or ';' in /usr/local/lib/php/autoindex/autoindex_include.php on line 462

Comments

4 comments

  • cPRex Jurassic Moderator

    Hey there!  What is the output of the following command on the server?

    grep Indexes /etc/apache2/conf/httpd.conf
    0
  • Jose Manuel

    [root@cp2 ~]# grep Indexes /etc/apache2/conf/httpd.conf
        Options Indexes IncludesNOEXEC FollowSymLinks ExecCGI
    [root@cp2 ~]#

    0
  • cPRex Jurassic Moderator

    Thanks for that.  Do you see any helpful details in the main Apache error log at /etc/apache2/logs/error_log that could provide more details?

    0
  • Rusucior Radu

    Open /usr/local/lib/php/autoindex/autoindex_include.php and add a ". " which is a "period and a space" on line which starts with "<style>@media " .

    0

Please sign in to leave a comment.