I have successfully uploaded all files of my laravel project to server, but it always displays 'page not found' error. the root directory donot have public_html
folder. so i tried renaming public folder of laravel to public_html
but it is still not working. It is still up and running in localhost.
update: moved all public directory files to root directory now got this error:
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$'