Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9316455
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T02:37:24+00:00 2026-06-19T02:37:24+00:00

When I run php artisan list in my production environment (Debian Linux, private server),

  • 0

When I run php artisan list in my production environment (Debian Linux, private server), I get the following error:

Warning: Unexpected character in input:  
'\' (ASCII=92) state=1 in /home/user/app/artisan on line 46

Parse error: syntax error, unexpected T_STRING in 
/home/user/app/artisan on line 46

Why is that and how can I fix this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-19T02:37:25+00:00Added an answer on June 19, 2026 at 2:37 am

    So there’s a parse error on this line:

    $artisan = Illuminate\Console\Application::start($app);
    

    The PHP parser didn’t expect a \ there, which is used for namespaces, which were introduced in PHP 5.3, which means that you’re running an older PHP version. You should update your PHP instalation to at least PHP 5.3.

    My hosting company has both PHP 5.2 and 5.3 installed, so I just run:

    /usr/local/php53/bin/php artisan migrate
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When I run php-closure i get a PHP error Undefined index: HTTP_IF_NONE_MATCH in <b>/php-closure.php</b>
I run php test_code.php I get PHP Warning: PHP Startup: Unable to load dynamic
i use $.get to run php file. how can i send key-value pair (eg.
Is there a way to run php server**(remote)** scripts from a java program (with
I'm following this tutorial. When I run php scripts/load.mysql.php it says: SQLSTATE[42000] [1102] Incorrect
Trying to run php app\console doctrine:schema:update --force . I Catch this error: In parameters.ini
How we run php script using Linux bash? php file test.php test.php contains: <?php
I know that you can run php files from terminal with linux running PHP...
I installed XAMPP to run PHP from eclipse. I have a standalone MySQL server
I try to run PHP script and to get the ouput from stdout, the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.