简体   繁体   中英

how to deploy a php app with mysql to heroku?

I have a small php app that uses mySql for the database, I wish to deploy the app on heroku using the clearDB add on, But I am not sure how to do it, please help. I am presently using MAMP server locally which has MySQL installed.

If you are clueless about where to start, I suggest going through Heroku PHP introduction . You'd basically need to adapt the Provision a database item, using your MySQL addon instead of the one used on the example.

php and composer installed in your local machine . Then install Heroku Command Line Interface . once your done with this you can log in to heroku in ur local machine and you can create your heroku app and deploy should not be a problem .

I have a small php app that uses mySql for the database, I wish to deploy the app on heroku using the clearDB add on, But I am not sure how to do it, please help. I am presently using MAMP server locally which has MySQL installed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM