Asemon_report V2 has been tested on Linux 5 with php 5.3 (5.3.8)
and Linux 6.x with php 5.3 (5.3.8), 5.4 (5.4.33), 5.5 (5.5.17) and 5.6 (5.6.1)
Asemon_report V3 needs php 5.6.x
Starting with V3.2.0, asemon_report supports both PHP 5.6 and PHP 8.1
See [install asemon_report on Linux with PHP8] for installing asemon_report with PHP 8.1 on Linux
Asemon_report needs "sybase_ct" PHP module (not the Sybase OpenClient "sybaseasephp" since some functions do not have the same interface)
If no PHP installation already exists on your Linux you have to recompile PHP in order to get this "sybase_ct" module. See [recompile PHP on Linux]
Or, if you already have PHP installed on your Linux, you need to recompile the "sybase_ct.so" module for the exactly same PHP version. See [recompile sybase_ct module on Linux]
When PHP with sybase_ct module is OK, you can install asemon_report's distribution.
Note : Sybase Open Client must be installed and interfaces file must contain definition of your "asemon archive server"
1 Download asemon_report_Vxx.yy.zz.tgz from sourceforge
2 Create directory accessible from your Apache server. Ex. :
# as root
mkdir /var/www/html/asemon_report_Vxx.yy.zz
# create a link to this directory
ln -s /var/www/html/asemon_report_Vxx.yy.zz asemon
3 Untar asemon_report_Vxx.yy.zz.tgz
# as root
cd /var/www/html/asemon_report_Vxx.yy.zz
tar xzvf asemon_report_Vxx.yy.zz.tgz
4 Change ownership to apache
# as root
cd /var/www/html/
chown -R apache:apache asemon_report_Vxx.yy.zz
5 Stop Apache
# as root
service httpd stop
6 Update /etc/sysconfig/httpd to add sybase environment (at end of file) because Apache needs Sybase env. variables
# as root
vi /etc/sysconfig/httpd
...
add :
. your_sybase_open_client_home/SYBASE.sh
7 Start Apache
# as root
service httpd start
Check file /var/log/httpd/error_log to see any error.
8 Call asemon_report.php from your browser
http://your_Linux_host/asemon/asemon_report.php
You should see :
Wiki: Asemon report installation
Wiki: install asemon_report on Linux with PHP8
Wiki: recompile PHP on Linux
Wiki: recompile sybase_ct module on Linux
HI JP, I'm using ASEMON report V 2.7.21. The problem I have is "ASEMON REPORT" would not drop connect from ase server. I try to close the web page, and connect still exists. Do you have any idea how to fix that .
Thanks.
Cecil
Hi Cecil,
The PHP conection stays open because in your php.ini you may have :
Try with :
PHP will reopen the connection for each request (not very good for perf)
Best regards
Jean Paul