Run the sample script for the SAP Adaptive Server Enterprise extension module for PHP.
$SYBASE/$SYBASE_OCS/config/generate_php_ini.sh.
SYBASE
SYBASE_OCS
LD_LIBRARY_PATH – specifies the $SYBASE/$SYBASE_OCS/lib directory.
php -c $SYBASE/$SYBASE_OCS/config firstapp.php
or, to obtain a list of loaded extensions, excute:
php -c $SYBASE/$SYBASE_OCS/config -m
See the Adaptive Server Enterprise Extension Module for PHP Programmers Guide.