Chapter 1: Plan the Installation
Names and Locations
The following paths are examples. Your installation directories, APPX account and service name will probably differ. Substitute your own values in commands and APPX fields, and use the same choices throughout the installation. The examples call the runtime account appx and its Linux group appxgrp; check the account actually running your APPX sessions.
| Component | Rocky Linux | Windows Server |
|---|---|---|
| PHP CLI | /usr/bin/php | C:\AppxTools\PHP85\php.exe |
| ChartDirector library | /opt/ChartDirector/lib | C:\AppxTools\ChartDirector\lib |
| Shared PHP interface | /opt/ChartDirector/lib/phpchartdir.php | C:\AppxTools\ChartDirector\lib\phpchartdir.php |
| Test and example scripts | /opt/appx-chart-examples | C:\AppxTools\ChartExamples |
| Generated chart files | /var/lib/appx-charts | C:\AppxData\Charts |
Set the 0CD PHP Library parameter to the full phpchartdir.php filename. Use a separate writable directory for chart output. Both are server filesystem paths.
The example chart size, 640 by 400 pixels, is a starting point. Choose dimensions appropriate to your application's screen or printed report. The shipped 1CD samples can set their own sizes.