New TeeChart for PHP install
-
- Newbie
- Posts: 10
- Joined: Tue Oct 23, 2007 12:00 am
- Contact:
New TeeChart for PHP install
Hello - we are a current TeeChart Pro ActiveX 8.0 customer - looking to evaluate TeeChart for PHP V1. We have a current native PHP environment working under Apache on z/OS. We downloaded the evaluation copy of TeeChart for PHP V1, unzipped the download and uploaded it to our Apache environment. When we try to access ...demos/Features/index.php, we get the following error:
"require_once(vcl/vcl.inc.php) [function.require-once]: HPH00681 failed to open stream: EDC5129I No such file or directory"
We find no "vcl" directory in the download. Can you tell us what we are missing?
Thank you.
"require_once(vcl/vcl.inc.php) [function.require-once]: HPH00681 failed to open stream: EDC5129I No such file or directory"
We find no "vcl" directory in the download. Can you tell us what we are missing?
Thank you.
Re: New TeeChart for PHP install
Hello,
the index.php, and index.xml.php are not used, we forgot to remove from the zip file. You can just remove them and call the index.php file instead.
As you're using the Eval version, remember to upload the loader to your server (you can find the link to download them at the install.txt file), and then add it as one php extension.
Please, do not hesitate to contact us if you still having problems.
the index.php, and index.xml.php are not used, we forgot to remove from the zip file. You can just remove them and call the index.php file instead.
As you're using the Eval version, remember to upload the loader to your server (you can find the link to download them at the install.txt file), and then add it as one php extension.
Please, do not hesitate to contact us if you still having problems.
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 10
- Joined: Tue Oct 23, 2007 12:00 am
- Contact:
Re: New TeeChart for PHP install
Hi - don't know what you mean by "the index.php, and index.xml.php are not used, we forgot to remove from the zip file. You can just remove them and call the index.php file instead.". Did you mean to say "...call the index.html file instead"?
-
- Newbie
- Posts: 10
- Joined: Tue Oct 23, 2007 12:00 am
- Contact:
Re: New TeeChart for PHP install
Also - I downloaded the phpexpress-2.0 loaders and I don't see one we could use for z/OS Unix System Services. These are the loaded that I see:
phpexpress-2.0-FreeBSD-4.tar.gz
phpexpress-2.0-FreeBSD-6.tar.gz
phpexpress-2.0-Linux-glibc-2.3.tar.gz
phpexpress-2.0-Linux-glibc-2.7.tar.gz
phpexpress-2.0-MacOSX-10.5.tar.gz
phpexpress-2.0-NetBSD-3.tar.gz
phpexpress-2.0-OpenBSD-4.tar.gz
phpexpress-2.0-SunOS-5.8.tar.gz
phpexpress-2.0-SunOS-5.10.tar.gz
phpexpress-2.0-FreeBSD-4.tar.gz
phpexpress-2.0-FreeBSD-6.tar.gz
phpexpress-2.0-Linux-glibc-2.3.tar.gz
phpexpress-2.0-Linux-glibc-2.7.tar.gz
phpexpress-2.0-MacOSX-10.5.tar.gz
phpexpress-2.0-NetBSD-3.tar.gz
phpexpress-2.0-OpenBSD-4.tar.gz
phpexpress-2.0-SunOS-5.8.tar.gz
phpexpress-2.0-SunOS-5.10.tar.gz
Re: New TeeChart for PHP install
Hi streamfoundry,
Yes, Pep meant that you can delete safely that two php files and call the index.html instead.streamfoundry wrote:Hi - don't know what you mean by "the index.php, and index.xml.php are not used, we forgot to remove from the zip file. You can just remove them and call the index.php file instead.". Did you mean to say "...call the index.html file instead"?
I think that you could try with the phpexpress-2.0-Linux-glibc-2.7.tar.gzstreamfoundry wrote:Also - I downloaded the phpexpress-2.0 loaders and I don't see one we could use for z/OS Unix System Services.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 10
- Joined: Tue Oct 23, 2007 12:00 am
- Contact:
Re: New TeeChart for PHP install
Hi - thanks for the response - rather than continue on our z/OS USS Apache server - I moved this effort of demo'ing TeeChart for PHP onto our z/Linux-based application. From the list of available loaders, I chose the "phpexpress-2.0-Linux-glibc-2.7.tar.gz" flavor. Had my doubts when I saw that two versions were under that - one for x86 and one for x86-64. Being on SLES10 (64 bit), I chose the x86-64 loader (phpexpress-php-5.2.so) - but it wouldn't load at Apache startup time (not surprised) - got:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php5/extensions/phpexpress-php-5.2.so' -/user/lib64/php5/extensions/phpexpress-php-5.2.so: ELF file data encoding not big-endian in Unknown on line 0
I guess a couple questions are in order now - has "TeeChart for PHP" been testing on a z/Linux platform? If so, what phpexpress loader is available to use? We're running PHP Ver 5.2.11.dev on Apache 2.2.3.
Dan St.Cyr
StreamFoundry, Inc.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php5/extensions/phpexpress-php-5.2.so' -/user/lib64/php5/extensions/phpexpress-php-5.2.so: ELF file data encoding not big-endian in Unknown on line 0
I guess a couple questions are in order now - has "TeeChart for PHP" been testing on a z/Linux platform? If so, what phpexpress loader is available to use? We're running PHP Ver 5.2.11.dev on Apache 2.2.3.
Dan St.Cyr
StreamFoundry, Inc.
Re: New TeeChart for PHP install
Hi Dan,
Yes, I've made a test in a fresh install of Ubuntu 9.10 the last week and I've found some problems with GD library but I managed to run it by recompiling the PHP following this instructions.
See the attached example that worked for me here: And the result: What we haven't tried is in 64 bits.
Yes, I've made a test in a fresh install of Ubuntu 9.10 the last week and I've found some problems with GD library but I managed to run it by recompiling the PHP following this instructions.
See the attached example that worked for me here: And the result: What we haven't tried is in 64 bits.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 10
- Joined: Tue Oct 23, 2007 12:00 am
- Contact:
Re: New TeeChart for PHP install
Yeray - I tried your example, rather than the demo - but I'm still needing a PhpExpress loader for z/Linux (see my last post):
The example error as follows: "file /srv/www/cms41/teechart/sources/TChart.php requires Php Express loader to be installed by the web site administrator."
I asked NuSphere for it (http://forum.nusphere.com/viewtopic.php?p=25414#25414) but haven't gotten a response yet.
The example error as follows: "file /srv/www/cms41/teechart/sources/TChart.php requires Php Express loader to be installed by the web site administrator."
I asked NuSphere for it (http://forum.nusphere.com/viewtopic.php?p=25414#25414) but haven't gotten a response yet.
-
- Newbie
- Posts: 10
- Joined: Tue Oct 23, 2007 12:00 am
- Contact:
Re: New TeeChart for PHP install
Hello Steema support: Any luck in finding a PhpExpress loader for Apache on z/Linux? Again - I'm running SUSE on z/Linux (SLES10) and Apache can't load the extension for the version of PhpExpress loader I guessed at during startup (see previous post for error message). Prior to purchasing TeeChart for PHP, I need to evaluate it on our environment.
Thanks,
Dan St.Cyr
StreamFoundry, Inc.
Thanks,
Dan St.Cyr
StreamFoundry, Inc.
Re: New TeeChart for PHP install
Hi Dan,
Excuse us for the delay. We are not very familiar to linux as we don't usually use it.
I made instructions trying to explain the process from where I could get TeeChartforPHP work in an Ubuntu 9.10:
Excuse us for the delay. We are not very familiar to linux as we don't usually use it.
I made instructions trying to explain the process from where I could get TeeChartforPHP work in an Ubuntu 9.10:
- Fresh install Ubuntu 9.10
- Update through update manager
- Install php5 through synaptic
- sudo mkdir /var/www/TeeChartForPHP
- Download TeeChartForPHP
- Unzip the content in TeeChartPHP1Evaluation.zip to /var/www/TeeChartForPHP
- Download and place a.php into /var/www/
- sudo chmod -R 777 /var/www/
- Rename the file /var/www/TeeChartForPHP/sources/themes/y2009.php to /var/www/TeeChartForPHP/sources/themes/Y2009.php
- Browsing to http://localhost/a.php gives the following:
"file /var/www/TeeChartForPHP/sources/TChart.php requires Php Express loader to be installed by the web site administrator."
If I...
- Download http://www.steema.com/products/teechart ... oaders.zip
- Unzip the phpexpress-php-5.2.so file from loaders.zip/loader/phpexpress-2.0-Linux-glibc-2.7.tar.gz/phpexpress-2.0-Linux-glibc-2.7/x86/ to /var/www/extensions/
- Edit the php.ini file to load the phpexpress extensions:- - sudo gedit /etc/php5/apache2/php.ini
- - At line 508: extension_dir = "/var/www/extensions/"
- At line 621: extension=phpexpress-php-5.2.so
- - At line 508: extension_dir = "/var/www/extensions/"
Fatal error: Call to undefined function imagecreatetruecolor() in /var/www/TeeChartForPHP/sources/GraphicsGD.php on line 698
To solve this, we have to recompile php5 as explained in the web said above:
- sudo apt-get install build-essential debhelper fakeroot
- cd /usr/src
- sudo apt-get source php5
- sudo apt-get build-dep php5
- cd php5-5.2.10.dfsg.1
- sudo gedit debian/rules- at line 220: --with-gd=shared --enable-gd-native-ttf \
- cd ..
- sudo dpkg -i php5-gd_5.2.10.dfsg.1-2ubuntu6.1_i386.deb
At this point, having enabled the nusphere loaders, the GD library isn't loaded successfully and it gives me an error so I had to comment the lines I've added in the php.ini
- sudo /etc/init.d/apache2 restart
Now you should see a chart if you open a browser and call http://localhost/a.php - - sudo gedit /etc/php5/apache2/php.ini
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: New TeeChart for PHP install
Hi Dan,
Ah, I forgot to mention that I've found problems trying to open the file GraphicsGD.php. So I changed it for the following that is readable for me:
Ah, I forgot to mention that I've found problems trying to open the file GraphicsGD.php. So I changed it for the following that is readable for me:
- Attachments
-
- GraphicsGD.zip
- (20.51 KiB) Downloaded 2871 times
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 10
- Joined: Tue Oct 23, 2007 12:00 am
- Contact:
Re: New TeeChart for PHP install
Yeray - I see what you're saying about your Ubuntu install, but I don't think it's relevant to the problem I've got - which is the fact that I can't enable a PhpExpress loader. All those /sources/ php scripts (including the Y2009.php you tested on Ubuntu with) are encoded with NuSphere's Nu-Coder product and thus HAVE to be decoded with NuSphere's PHPExpress. You HAVE to have a loader enabled on Ubuntu or you would have gotten the same error I did ("file /srv/www/cms41/teechart/sources/TChart.php requires Php Express loader to be installed by the web site administrator." ) trying to run your example code . That error text is coded right into all your encoded scripts by Nu-Coder. 1st order of business in running ANY of your PHP scripts is to be able to decode it! Then, we can address any logic errors that might come up.
The key to me not being able to enable phpexpress-php-5.2.so as a php extension at Apache startup is that I get this error:
"ELF file data encoding not big-endian in Unknown on line 0"
This makes sense because our platform is a "z" (mainframe) platform - not x86.
I need a PhpExpress loader that is compatible with a z/Linux platform. As I indicated earlier, I opened a forum topic with NuSphere ( http://forum.nusphere.com/viewtopic.php?t=6645 ) - but so far it's being ignored. If you have ANY influence with Nusphere, please help me out.
Thanks,
Dan St.Cyr
The key to me not being able to enable phpexpress-php-5.2.so as a php extension at Apache startup is that I get this error:
"ELF file data encoding not big-endian in Unknown on line 0"
This makes sense because our platform is a "z" (mainframe) platform - not x86.
I need a PhpExpress loader that is compatible with a z/Linux platform. As I indicated earlier, I opened a forum topic with NuSphere ( http://forum.nusphere.com/viewtopic.php?t=6645 ) - but so far it's being ignored. If you have ANY influence with Nusphere, please help me out.
Thanks,
Dan St.Cyr
Re: New TeeChart for PHP install
Hi Dan,
I've just updated the instructions above.
Anyway, we'll try to contact to nusphere people and see if they can give us more information about your environment.
I've just updated the instructions above.
Excuse me because in the first instructions I removed the part where I use the nusphere loaders because, after compiling the php5, I had to remove them. I'm not sure why it works in this way...streamfoundry wrote:You HAVE to have a loader enabled on Ubuntu or you would have gotten the same error I did ("file /srv/www/cms41/teechart/sources/TChart.php requires Php Express loader to be installed by the web site administrator." ) trying to run your example code .
Anyway, we'll try to contact to nusphere people and see if they can give us more information about your environment.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 10
- Joined: Tue Oct 23, 2007 12:00 am
- Contact:
Re: New TeeChart for PHP install
Interesting, Yeray - that you got the same error I did originally, saying that TChart.php needed the PhpExpress loader. You installed one and apparently got by that error because you then got a later error in GraphicsGD.php. Yet, after recompiling PHP for enabling GD support, you disabled the loader and didn't get the original error back? Pretty strange. Do you have a copy of the resulting php.ini extension statements? You sure the extension=phpexpress-php-5.2.so statement isn't still in there? In any event, I'd like to follow your install exactly so I still need a z-platform PhpExpress loader before I can go any further. If/when NuSphere can get me one that will load, I'll then address the GD enabling if we find I need to. Let me know what they say. Thanks, Yeray.
Dan
Dan
Re: New TeeChart for PHP install
Hi Dan,
- error of phpexpress loaders -> enable phpexpress loaders
- error of GD library -> recompile php
- error of GD library -> disable phpexpress loaders enabled before
I assumed that the phpexpress loaders weren't needed at all. But maybe recompiling the php with them enabled has something to say here...
Yes. Excuse me if I confused you. As I had to disable the loaders at the end of the process, I thought I could skip that in my "installing instructions".streamfoundry wrote:Interesting, Yeray - that you got the same error I did originally, saying that TChart.php needed the PhpExpress loader. You installed one and apparently got by that error because you then got a later error in GraphicsGD.php.
Yes, in a few words the process I made was:streamfoundry wrote:Yet, after recompiling PHP for enabling GD support, you disabled the loader and didn't get the original error back? Pretty strange.
- error of phpexpress loaders -> enable phpexpress loaders
- error of GD library -> recompile php
- error of GD library -> disable phpexpress loaders enabled before
I assumed that the phpexpress loaders weren't needed at all. But maybe recompiling the php with them enabled has something to say here...
Of course, here it is:streamfoundry wrote:Do you have a copy of the resulting php.ini extension statements?
After loading them in the beginning of the process, I could see them enabled running the phpinfo function. And at the end of the process, after removing them from the php.ini, I can't find them in the phpinfo function result, but the chart seems to work without problems. + =streamfoundry wrote:You sure the extension=phpexpress-php-5.2.so statement isn't still in there?
Yes, I'll try to clarify any step in my installation you could find problems with. Also, I can try to upload the vmware virtual machine where I have the "working" ubuntu, if you want to take a look at it.streamfoundry wrote:In any event, I'd like to follow your install exactly so I still need a z-platform PhpExpress loader before I can go any further.
Of course. I hope they'll answer asap.streamfoundry wrote:If/when NuSphere can get me one that will load, I'll then address the GD enabling if we find I need to. Let me know what they say.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |