Re: [PHP] PHP Warning: imagettftext()

2008-07-25 Thread Lou Baccari
The first one today looking for help and then the second one providing the solution. Lou. Daniel Brown wrote: On Mon, Jul 21, 2008 at 1:14 PM, Lou Baccari <[EMAIL PROTECTED]> wrote: Hello, I'm trying to move a site over to the V5 of CentOS and I having problems with php/gd/fre

Re: [PHP] PHP Warning: imagettftext()

2008-07-25 Thread Lou Baccari
Sorry for the additional mail but I found the variable GDFONTPATH should be GD_FONTPATH, the example below works for me now. putenv('GD_FONTPATH=' . realpath('.')); Lou Baccari wrote: Hello, After reading Practical PHP Programing I came across a reference

Re: [PHP] PHP Warning: imagettftext()

2008-07-25 Thread Lou Baccari
int to the ttf file local to the php script? Is this a bug ? Thanks, Lou Lou Baccari wrote: Hello, I'm trying to move a site over to the V5 of CentOS and I having problems with php/gd/freetype. It looks like my older systems which is running php-4.3.8-1.1, gd-2.0.15-1, freetype

[PHP] PHP Warning: imagettftext()

2008-07-21 Thread Lou Baccari
Hello, I'm trying to move a site over to the V5 of CentOS and I having problems with php/gd/freetype. It looks like my older systems which is running php-4.3.8-1.1, gd-2.0.15-1, freetype-2.1.4-5 can execute the code successfully. Now when I try to execute the same code on CentOS V5 with

Re: [PHP] error "Failed opening for inclusion"

2008-06-12 Thread Lou Baccari
After further investigation I'm find that some php files, below the root directory, run successfully, but now if I edit it or copy it to other name the new php file will not run anymore. I end up with the errors listed below. I could use some help, Thanks. Lou Lou Baccari wrote:

[PHP] error "Failed opening for inclusion"

2008-06-11 Thread Lou Baccari
sorry if I double posted: Hello, I'm trying to move my apache server from a Fedora Core 1 with PHP V 4.3.8 onto a newly built Centos 5 with PHP 5.1.6, all applications installed by rpms. The www root dir is "/projects/proj2/www/html" and it is a nfs mounted share. During the installatio