| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ||
|
Editor: sse
Time: 2010/08/31 11:48:30 GMT+2 |
||
| Note: | ||
changed: -from <a href="http://www.php.net/" target="_blank">www.php.net</a><br>download <a href="<a href="http://windows.php.net/downloads/releases/php-5.3.3-nts-Win32-VC9-x86.msi" target="_blank">php-5.3.3-nts-Win32-VC9-x86.msi</a><br> from <a href="http://www.php.net/" target="_blank">www.php.net</a><br>download <a href="<a href="http://windows.php.net/downloads/releases/php-5.3.3-nts-Win32-VC9-x86.zip" target="_blank">php-5.3.3-nts-Win32-VC9-x86.zip</a><br> changed: -either install to the default location or to c:\php<br>AbelCam expects to find PHP in c:\php extract zip file to c:\php <br>AbelCam expects to find PHP in c:\php
To use PHP within AbelCam, install the PHP 5.3.3 zip package
from www.php.net
download php-5.3.3-nts-Win32-VC9-x86.zip
5.3.3 is the current release - later versions are expected to work as well.
Install PHP
extract zip file to c:\php
AbelCam expects to find PHP in c:\php
Use wwwroot\php\c-php-php.ini as template for c:\php\php.ini
Changes to the default php.ini are marked with ;ABELCAM
Start AbelCam, the PHP Logo will be shown on the Web page
If you selected the PHP Image Gallery during the AbelCam installation,
it will be available here:
http://localhost:8080/gallery
The following environment variables are set for PHP files
| Variable | Meaning,Value |
| ABELDATA | %ALLUSERSPROFILE%\Seiz System Engineering\AbelCam Location of configuration files |
| ACTIVECAMS | active camera numbers, separated by commas |
| CAMFPS | frame rate of the current camera |
| CAMNAME | name of the current camera |
| CAMNAMES | names of active cameras, separated by commas |
| CAMNR | active cam number |
| CAMRESOLUTION | active cam resolution, eg. 320x240 |
| COOKIES | cookies set for AbelCam, eg. cam="0" |
| DOC_ROOT | AbelCam document root |
| HTTP_REFERER | refering page, eg. http://localhost:8080/php/index.php |
| OUTPUTHEIGHT | output height of current camera, eg. 240 |
| OUTPUTWIDTH | output width of current camera, eg. 320 |
| REDIRECT_STATUS | always set to 200 |
| REMOTE_ADDR | ip address of requestor, eg. 127.0.0.1 |
| REQUEST_METHOD | GET |
| SCRIPT_FILENAME | script file name, eg. index.php |
| SCRIPT_NAME | same as above |
| SERVER_CONFDIR | installation folder, eg. C:\ProgramData?\Seiz System Engineering\AbelCam |
| SERVER_NAME | AbelCam server name, eg. localhost |
| SERVER_PORT | AbelCam server port, eg. 8080 |
| SERVER_PROTOCOLL | always HTTP/1.1 |
| SERVER_SOFTWARE | AbelCam version, eg. AbelCam 2.1.1 Pro |
| ORIG_PATH_INFO | script relative to document root, eg. /php/index.php |