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

Message ListMessage List     Post MessagePost Message

  Cannot load phpchartdir520.dll on Linux/Apache2.4/php5.3.10
Posted by mphare on Mar-28-2012 01:49
I know it says phpchartdir520.dll and that it should say *530.dll, but that is the message I'm getting.

I have compiled php-5.3.10 for 32-bit and Apache 2.4 on a Redhat Linux box. The php and apache are working just fine.

I needed to add ChartDirector so I:
(1) confirmed the correct php.ini by looking at the results from phpinfo();
(2) Added extension=phpchartdir530.dll to my php.ini
(3) confirmed the value of extension_dir is correct from phpindo(); This is where I put the Chart Director DLLs (and fonts, etc..)

I restart apache and when I try cdinfo(); I get :
Trying to load "phpchartdir520.dll" from the PHP extension directory "/proj/swda/tempbin/objs/lib/php/extensions"
Fatal error: Call to undefined function dl() in /proj/swda/tempbin/objs/htdocs/ChartDirector/lib/phpchartdir.php on line 25

phpchartdir520.dll?? I'm attempting to load *530.dll. It behaves exactly as though I do not have an extension clause for chart director set in php.ini. (if I remove the extension clause I get the same result).

I have a very similar apache/php/chartdirector installation on a Windows 7 box and it is working just fine.

What do I need to be looking for?

Thanks!

  Re: Cannot load phpchartdir520.dll on Linux/Apache2.4/php5.3.10
Posted by mphare on Mar-28-2012 21:22
OK, so I was sure I'd tried every combination under the sun for setting the 'extension' statement. But the one I didn't try was 'extension=phpchartdir530mt.dll' using a 64-bit Chart Director DLL. I guess I tried the non-mt 64-bit DLL and the 32-bit mt DLL, but the one that hit was the 64-bit mt DLL.

Problem solved, back up and running.

Thanks!