- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: CSWS PHP 1.3 and GD support (PHP Version 4.3.1...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2005 12:59 PM
тАО11-25-2005 12:59 PM
CSWS PHP 1.3 and GD support (PHP Version 4.3.10)
* GD support: yes
* GD Version: 2.0 or higher
* FreeType Support: no
* T1Lib Support: no
* GIF Read Support: no
* GIF Create Support: no
* JPG Support: no
* PNG Support: no
* WBMP Support: no
* XBM Support: no
* JIS-mapped Japanese Font Support: no
My understanding of this report would be that I can create graphics to my heart's content - I just can't display them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2005 06:22 PM
тАО11-27-2005 06:22 PM
Re: CSWS PHP 1.3 and GD support (PHP Version 4.3.10)
It seems rather odd to me that GD is supposed to be supported, but PNG and JPG aren't. AFAIK, GD is built with PNG & JPG support, so support for GD would include PNG and JPG. And, what do you mean by "I just can't display them", what utility are you using? CSWS has to my knowledge no problem in sending the binary data of a PNG image to a browser.
Regards,
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2005 07:11 PM
тАО11-27-2005 07:11 PM
Re: CSWS PHP 1.3 and GD support (PHP Version 4.3.10)
Then I used this php script:
$image = imagecreate(300,150);
$farbe_body=imagecolorallocate($image,243,243,243);
header("Content-Type: image/png");
imagepng($image);
?>
and I get the following output:
Fatal error: Call to undefined function: imagepng() in /www/hgenhart_ch/prod/t.php on line 5
It seems, that I have the same problem like Mark Daniel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-27-2005 11:03 PM
тАО11-27-2005 11:03 PM
Re: CSWS PHP 1.3 and GD support (PHP Version 4.3.10)
>mean by "I just can't display them", what
>utility are you using?
PHP itself Kris; this should work ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
header( "Content-type: image/gif" );
$im = ImageCreate( 153, 20 ); // width, height
$red = ImageColorAllocate( $im, 255, 0, 0 );
$white = ImageColorAllocate( $im, 255, 255, 255 );
ImageString($im,3,3,3,"Programmabilities.com",$white);
imageGIF( $im );
// Or ImageGif($im, $filename) if you want to save
// it to a file. --Provide an optional second argument.
ImageDestroy( $im ); // Free memory
?>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Instead I get an error similar to that reported by Heinz ...
>Fatal error: Call to undefined function: imagepng() in
only 'function: imagegif'. Of course I tried imagejpg() and imagepng() with the same issue. It was then I used
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Retrieve information about the currently installed GD library
function describeGDdyn() {
echo "\n
- GD support: ";
if(function_exists("gd_info")){
echo "yes";
$info = gd_info();
$keys = array_keys($info);
for($i=0; $iif(is_bool($info[$keys[$i]])) echo " \n - " . $keys[$i] .": " . yesN
o($info[$keys[$i]]);
else echo " \n - " . $keys[$i] .": " . $info[$keys[$i]];
}
} else { echo "no"; }
echo "
}
function yesNo($bool){
if($bool) return " yes";
else return " no";
}
describeGDdyn();
?>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
from which I posted my original query.
(I hate this ITRC interface with a passion!!)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2005 12:25 AM
тАО11-28-2005 12:25 AM
Re: CSWS PHP 1.3 and GD support (PHP Version 4.3.10)
I'm still very puzzled.
According to the release notes at the HP website, PHP 1.3 includes support for GD. You can even activate the "php_gd" extension via the PHP.INI file (still according to the release notes). But, as I can read from the output of your function, GD is supported, but PNG not. That is absurd. I've ported GD 2.0.33 to VMS and it definitely depends on LibPNG 1.2.8, Jpeg 6b, Freetype 2.1.10, XPM 3.5.1.1, and ZLib 1.2.3. So, did engineering screw things up a little in providing us with a flaky PHP kit?
I'm sorry that I can't provide more help, since overhere we still use the PHP 1.2 kit.
Regards,
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2005 06:21 AM
тАО11-28-2005 06:21 AM
Re: CSWS PHP 1.3 and GD support (PHP Version 4.3.10)
>That is absurd. I've ported GD 2.0.33 to VMS
>and it definitely depends on LibPNG 1.2.8,
>Jpeg 6b, Freetype 2.1.10, XPM 3.5.1.1, and
>ZLib 1.2.3. So, did engineering screw things
>up a little in providing us with a flaky
>PHP kit?
Here's a list of the extensions available in the CSWS PHP V1.3 kit ...
[APACHE.PHP.EXTENSIONS]PHP_BCMATH.EXE
[APACHE.PHP.EXTENSIONS]PHP_BZ2.EXE
[APACHE.PHP.EXTENSIONS]PHP_CALENDAR.EXE
[APACHE.PHP.EXTENSIONS]PHP_CTYPE.EXE
[APACHE.PHP.EXTENSIONS]PHP_DBA.EXE
[APACHE.PHP.EXTENSIONS]PHP_EXIF.EXE
[APACHE.PHP.EXTENSIONS]PHP_FTP.EXE
[APACHE.PHP.EXTENSIONS]PHP_GD.EXE
[APACHE.PHP.EXTENSIONS]PHP_ICONV.EXE
[APACHE.PHP.EXTENSIONS]PHP_LDAP.EXE
[APACHE.PHP.EXTENSIONS]PHP_MHASH.EXE
[APACHE.PHP.EXTENSIONS]PHP_MYSQL.EXE
[APACHE.PHP.EXTENSIONS]PHP_OCI8.EXE
[APACHE.PHP.EXTENSIONS]PHP_ODBC.EXE
[APACHE.PHP.EXTENSIONS]PHP_OPENSSL.EXE
[APACHE.PHP.EXTENSIONS]PHP_OPENVMS.EXE
[APACHE.PHP.EXTENSIONS]PHP_ORACLE.EXE
[APACHE.PHP.EXTENSIONS]PHP_PCRE.EXE
[APACHE.PHP.EXTENSIONS]PHP_POSIX.EXE
[APACHE.PHP.EXTENSIONS]PHP_SESSION.EXE
[APACHE.PHP.EXTENSIONS]PHP_SOCKETS.EXE
[APACHE.PHP.EXTENSIONS]PHP_XML.EXE
[APACHE.PHP.EXTENSIONS]PHP_ZIP.EXE
[APACHE.PHP.EXTENSIONS]PHP_ZLIB.EXE
so if LibPNG, et al, rely on an extension then that's that!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2005 06:09 PM
тАО11-28-2005 06:09 PM
Re: CSWS PHP 1.3 and GD support (PHP Version 4.3.10)
The only Problem I have is, that there is no LIBGD Kit for Ithanium .....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2005 06:10 PM
тАО11-28-2005 06:10 PM
Re: CSWS PHP 1.3 and GD support (PHP Version 4.3.10)
We're looking into it. It appears to be a glitch where not enough of the
graphics options were enabled when we built the extension.
Rick Barry
OpenmVMS Engineering
Hewlett-Packard Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-28-2005 06:54 PM
тАО11-28-2005 06:54 PM
Re: CSWS PHP 1.3 and GD support (PHP Version 4.3.10)
I did NOT port├В┬иPHP to VMS. I only ported the LIBGD to VMS (VAX, Alpha & Itanium).
If you download the original kit from
http://www.boutell.com/gd/http/
and then download my patches & build procedures from
http://www.quadratrix.be/products/open_source_material.html
you can build it for yourselves and maybe integrate it with PHP on an Itanium.
Mind you, you also need Freetype, LibPNG, ZLib, and Xpm.
Regards,
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2005 06:27 PM
тАО12-04-2005 06:27 PM
Re: CSWS PHP 1.3 and GD support (PHP Version 4.3.10)
Currently are available:
Zlib, LibBZ2, LibJPEG, LibPNG
Freetype, LibImaging, LibGD, GDChart
LibXML2, Libxslt/Libexslt
OPENSSL, Swish-E
MySQL, Python
require VMS 7.3 on AXP and 8.2 on IA64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2006 07:41 AM
тАО05-19-2006 07:41 AM
Re: CSWS PHP 1.3 and GD support (PHP Version 4.3.10)
Am I missing an update? Or has nothing been done to rectify this error?
Aaron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2006 05:35 AM
тАО09-08-2006 05:35 AM
Re: CSWS PHP 1.3 and GD support (PHP Version 4.3.10)
It's now been over 9 months since this was first reported, and we've still only got the original v1.3 release available, with no patch to fix this issue.
A hollow voice says "Plugh"...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2006 01:26 AM
тАО09-28-2006 01:26 AM
Re: CSWS PHP 1.3 and GD support (PHP Version 4.3.10)
http://h71000.www7.hp.com/openvms/products/ips/apache/CSWS_PHP13_UPDATE1_README.TXT
Cheers & Plover!
Aaron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-28-2006 02:53 AM
тАО09-28-2006 02:53 AM