Hi cnangel,
I have just download Fedora 32 x86_64 and tried myself. In my case, I can install and use ChartDirector normally. I mainly follow the installation instructions in the ChartDirector for PHP documentation:
https://www.advsofteng.com/doc/cdphp.htm#phpinstall.htm
In brief:
(a) Download the ChartDirector for PHP for Linux (x86_64), and extract it to any directory.
(b) Copy everything inside ChartDirector/lib (including the fonts subdirectory) to your PHP extension directory. By using phpinfo, I found out the PHP extension directory in my Fedora 32 is at /usr/lib64/php/modules, so I just do:
cd ChartDirector/lib
sudo cp -R * /usr/lib64/php/modules
(c) Add an extension statement in the PHP configuration file "php.ini". By using phpinfo, I found out the php.ini is at /etc/php.ini, so I just edit it using:
sudo gedit /etc/php.ini
In my case, with phpinfo, I found out the PHP is of version 7.4.5 and is non-thread-safe. According to the documentation, the extension statement should be:
extension=phpchartdir740.dll
(d) We need to restart the web server/php system. In Fedora 32, I found out the web server service is httpd, and the PHP is also running as a service php-fpm, and in Fedora 32, the systemctl command is used to restart services. So I just do:
sudo systemctl restart php-fpm
sudo systemctl restart httpd
Hope this can help.
Regards
Peter Kwan |