I am having a really hard time trying to get the FuelPHP to work with my remote server/ remote database. I know that they have Oil functionality that generates database tables for you but the issue is that I was only able to do it locally but not remotely.
Is there a tutorial or better way of trying to deploy or run FuelPHP on my remote server. I have seen a bunch of tutorials that are helpful for local server but I have not found anything for creating sites on remote server.
Maybe I am going about this in a wrong way or something but I am frustrated and confused. I just want to get it to work on my remote server as it does on my local server.
You should use migrations to create and modify your database schema. It allows you to change the schema and rollback if needed, using
oil refine migrate
.Using it implies however that you have commandline access to your remote server. If it's one of those cheap ftp-only hosting options, you've got a challenge. You can create a controller that uses the Migrate class to run migrations, which you can call from the browser after you've ftp'd the updated code to the server.
If you go this route, make sure you secure it properly!