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 8997355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:52:42+00:00 2026-06-15T23:52:42+00:00

I have a working Symfony2 application running on my local server that I want

  • 0

I have a working Symfony2 application running on my local server that I want to upload to my shared hosting. When I try to open the website on my shared hosting I get a 500 response.

I perform these steps:

  1. Clear the cache (“php app/console cache:clear” and “php app/console cache:clear –env=prod”)
  2. Upload /app, /src, /vendor, /web to shared hosting
  3. Make /logs and /cache writable (and all subfolders/files)

When I open “www.mydomain.com/app.php” I’m getting a 500 response. When I open “www.mydomain.com/app_dev.php” Symfony gives (the expected and correct) message that I’m not allowed to open this file.

The /logs/prod.log is empty.

It’s not possible for me to clear the cache on the shared hosting server because I don’t have SHH access. I can only clear the cache on my local server and then upload the files.

I didn’t change my /web/.htaccess file, this is in it:

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ app.php [QSA,L]
</IfModule>
  • 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-15T23:52:43+00:00Added an answer on June 15, 2026 at 11:52 pm

    The problem seemed to be the command php app/console cache:clear" and "php app/console cache:clear --env=prod didn’t completely clear the cache folder.

    It can happen if the user running the command hasn’t the permission to delete files/folder in app/cache/
    Manually removing the content of this folder can solve the issue (rm -rf app/cache/*).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working with Symfony2.0 and jQuery, I have a web application that in certain moment
I am working on my test application in symfony2 with sqlite. I have install
I'm currently working on an open source bundle for Symfony2, and really want it
I'm working on a Symfony2 application, that I use to manage my monthly budget.
I'm working with symfony2, I have a table and I want to manually assign
I'm working on a symfony2 backend for a backbone.js application. I have my model
I have working website in PHP with a MySQL backend which has several tables
I have working registration script the only problem is that i do not know
There are databases on Firebird and SQL Server. I have working stored procedure in
I have been working with SQL Server as a Developer a while. One thing

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.