ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Any support for php7.4
Posted by cnangel on May-10-2020 17:14
OS: fedora32 x86_64
PHP VERSION: php 7.4.5

Chartdirector version: lastest (6.4)

Error Log

The version and type of PHP in this system does not support dynmaic loading of PHP extensions. All PHP extensions must be loaded by using extension statements in the PHP configuration file.

  Re: Any support for php7.4
Posted by Peter Kwan on May-11-2020 04:25
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:

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:


(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.

Peter Kwan

  Re: Any support for php7.4
Posted by cnangel on May-16-2020 10:26

i forgot run it:
sudo systemctl restart httpd.service