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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T02:42:14+00:00 2026-05-31T02:42:14+00:00

I unzip and rename wp-config-sample.php => wp-config.php and conffig it. it is exactly my

  • 0

I unzip and rename wp-config-sample.php => wp-config.php and conffig it.
it is exactly my file (i have no edit)

// Heroku Postgres settings

if (isset($_ENV["DATABASE_URL"])) {

  $db = parse_url($_ENV["DATABASE_URL"]);

  define("DB_NAME", trim($db["path"],"/"));

  define("DB_USER", $db["user"]);

  define("DB_PASSWORD", $db["pass"]);

  define("DB_HOST", $db["host"]);

} else {

  die("Cannot determine database settings from DATABASE_URL\n");

}

Then I create .htaccess (app/.htaccess) and config(i have no edit):

<IfModule mod_rewrite.c> 
RewriteEngine On 
RewriteBase /blog/ 
RewriteRule ^index\.php$ - [L] 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule . /blog/index.php [L] 
</IfModule> 

Then I upload it to blog folder on heroku. And try install but it always return eror 404 (I see logs heroku) my link to install:
http://mywebsite.heroku.com/blog/wp-admin/install.php

ActionController::RoutingError (No route matches "/blog/wp-admin/install.php

Please help me install this.
Thanks so much

  • 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-05-31T02:42:15+00:00Added an answer on May 31, 2026 at 2:42 am

    You can’t do this – but not due to Heroku not having PHP – because it does. The Cedar stack added support for PHP Facebook applications but you are able to run WordPress on them. See http://tjstein.com/2011/09/running-wordpress-on-heroku-and-amazon-rds/

    HOWEVER You cannot mix languages in the same Heroku application, eg Rails and PHP – they would need to exist as separate Heroku applications. When the application slug is compiled the language is detected at that point.

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

Sidebar

Related Questions

I am trying to programatically unzip a zipped file. I have tried using the
I have am trying to unzip a file via SSH, I require a case
I want to unzip a zip file. I have the zip data as bytes.
Basically, I have a jar file that i want to unzip to a specific
I am extracting a zip file in PHP and trying to rename it to
I am unable to unzip file on sdcard. I have tested http://www.jondev.net/articles/Unzipping_Files_with_Android_%28Programmatically%29 How to
Possible Duplicate: unzip a tar.gz file? I have a tar.gz file which contains a
The unzip command doesn't have an option for recursively unzipping archives. If I have
I need to unzip a compressed file on the fly in my program. It
How to unzip a file from a folder, and then convert the XML document

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.