Contents

 
Home
PHPRunner 7.1 manual
Prev Page Next Page
 
 

Output directory settings

 

On the Output directory screen you can choose output directory where all generated files will be saved.

Preview

PHPRunner 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.

step12

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).

yellowbulbNote: 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.

add_database_connection

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\PHPRunner7.1\EmbeddedServer\php\php.ini.template file.

1. Open the file C:\Program Files\PHPRunner7.1\EmbeddedServer\php\php.ini.template.

2. Find the line

date.timezone = 'UTC'

and modify the time zone, for example:

date.timezone = 'EDT'

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/.

Converted from CHM to HTML with chm2web Standard 2.85 (unicode)