|
On the Output directory
screen you can choose output directory where all generated files
will be saved.
Preview
PHPRunner 6.1 comes with built-in web server (Apache). In most
cases you can leave all settings on this page "as is", click
Build and View in browser on the next screen.
Built-in web server won't interfere with your existing web server
if you have one.
In some cases you may want to view generated application using
your own web server. In this case switch to I have my own web server option and
enter URL manually. You should change output directory as well to
one of web server subdirectories (i.e. C:\xampp\htdocs\project1 if you use
XAMPP).
Note: If you
don't have a web server and want to install one, check How to install local
server.
Select the Full build
check box to perform full build of the project. Otherwise, partial
(faster) build will be performed.
Compress javascript
files option allows to compress generated Javascript files
leading to faster load times. Unless you need to debug Javascript
code leave this option on.
Server database
connections
You can create several database connections and select required
one before building the project. For example, you can use
<Default> database connection for the local testing and
create new database connection for uploading files to the
production server.
To create new database connection, click the New button. Then specify connection
name and settings. Click OK.
If you are using MySQL locally, database connection settings may
be as follows:
|
$host="localhost";
$user="root";
$pwd="";
$port="";
$sys_dbname="cars";
|
When uploading files to the server, you may use the following
settings:
|
$host="localhost";
$user="mike375";
$pwd="dcHd*eS2";
$port="";
$sys_dbname="mike375_cars";
|
How to set local
time on built-in web server
To set the time zone on your local machine when using the
built-in web server, you need to adjust timezone parameter in C:\Program
Files\PHPRunner6.1\EmbeddedServer\php\php.ini.template
file.
1. Open the file C:\Program
Files\PHPRunner6.1\EmbeddedServer\php\php.ini.template.
2. Find the line
and modify the time zone, for example:
3. Save the file and restart PHPRunner.
You can find the time zone abbreviation around the world at
http://www.timeanddate.com/library/abbreviations/timezones/.
|