|
64 bit |
Posted by ggregg on Jul-27-2011 02:59 |
|
I am not able to get the chart director to run on windows server 2003 64 bit
I have a 32 bit and was able to get it running just fine.
Any Ideas?? |
Re: 64 bit |
Posted by Peter Kwan on Jul-28-2011 00:12 |
|
Hi ggregg,
I assume you are using "ChartDirector for ASP/COM/VB" in IIS/ASP. Are you using the latest version of "ChartDirector for ASP/COM/VB" (version 5.0.2)?
If installed using the ChartDirector installer "chartdir_com.exe", the latest version of ChartDirector will register itself for both 32-bit and 64-bit usage. If you are copying the DLLs to the server and registering it by hand, please copy "everything" in "ChartDirector/lib" and use the "regdll.bat" to register ChartDirector for both 32-bit and 64-bit usage.
Earlier versions of ChartDirector can only be registered for 32-bit usage. It can work normally on Windows Server 2003 64-bit if your configure the IIS to support 32-bit components (by default, the IIS on 64-bit Windows has 32-bit component support disabled). According to Microsoft documentation, it is by using the command line:
cscript %SYSTEMDRIVE%\\inetpub\\adminscripts\\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
You may need to restart IIS after issuing the above command (enter "iisreset" from the command line).
Hope this can help.
Regards
Peter Kwan |
Re: 64 bit |
Posted by Gregg on Aug-02-2011 20:34 |
|
Thank you for your reply,
Here is more information on the system that I have working now.
I have a web running on
Windows server 2003 32bit 1 proc 6 gig ram
Abyss web server
MySQL
PHP 5.0
Chart Director
Everything works great but a bit slow on process.
I have upgraded to a new server
Windows server 2003 64 16 cores 32 gig ram
Abyss web server
MySQL
PHP 5.0 64
Chart Director
Everything works as before but Charts are not displaying at all.
With the 64 bit platform I will be able to use the processor power of this server.
I am not using IIS but if it required I will make the change.
I really need this to work on this new server any advice would be helpful. |
Re: 64 bit |
Posted by Peter Kwan on Aug-03-2011 01:25 |
|
Hi Gregg,
You mentioned you are using PHP 5.0 64. Do you mean that you are using 64-bit PHP on Windows?
Only 32-bit PHP for Windows is available for download in the official PHP web site. Would you mind to clarify where do you obtain your PHP? Is it on the official PHP web site, or is it the pre-configured PHP package in the official Abyss web server web site? (See http://www.aprelium.com/abyssws/php.html)
Currently, ChartDirector for PHP on Windows only supports 32-bit PHP.
Note that even with a 64-bit web server, you can still use 32-bit PHP by using the FastCGI interface (which is the preferred interface as accordng to the Abyss web site) without significant performance issues. 64-bit code is not necessarily faster than 32-bit code. The main advantage of 64-bit code is that it allows a single process to use more than 4GB of RAM. However, it is unlikely a single PHP process can use that much RAM.
Also, please make sure you have installed ChartDirector as according to the Installation section of the ChartDirector documentation. For PHP 5.3.x, you would need to copy everything from "ChartDirector/lib" to your PHP extension directory, modify "php.ini" and restart the server.
If the above still does not solve the problem, would you mind to inform me of your "phpinfo", and also the error message you see when you use ChartDirector. If you see a "broken image symbol" (a little red X) instead of the error message, please refer to the page below on the steps to get the error message:
http://www.chartdir.com/forum/download_thread.php?site=chartdir&bn=chartdir_faq&thread=1117817200
If you cannot get the error message, it is possible your PHP is configued not to show error message to the browser (to avoid the user from seeing any server error). You may either configure your PHP to show the error message (by modifying "php.ini"), or you may look at the Apache error log to see the error message.
Regards
Peter Kwan |
|