I am trying to move a codeigniter application to google app engine.I am using the google app engine launcher to deploy my app.The app seems to load on the localhost as it is throwing me a database error.(I have not connected yet to database ).The following is the output of the app on localhost.
A Database Error Occurred.Unable to connect to your database server using the provided settings.
But when i deployed the app on live server (google app engine) the app was throwing a diffrent error .
Your application folder path does not appear to be set correctly. Please open the following file and correct this: index.php
The following is my app.yaml for codeignitor
application: wantroltd
version: 1
runtime: php
api_version: 1
threadsafe: false
handlers:
- url: /application/*
static_dir: application
- url: /install/*
static_dir: install
- url: /install/*
script: index.php
- url: /(.+\.php)$
script: \1
- url: ./*
script: index.php
I tried changing the application path to './application' and even tried keeping it blank ,but it does not resolve my error . Also my Application folder and index.php are in the same folder and the deployment was successful.What wrong am i doing ?