top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

PHP: GD library issue after server change?

+1 vote
354 views

I'm trying to get my images scripts (class examples) to work for my College PHP class. The scripts worked on the old college Server, but the college changed their Server and now my examples have stopped working.

I set up a DEMO on two different Servers to illustrate the problem. The script I am using is shown here:

http://php.net/manual/en/function.imagettftext.php

posted Mar 23, 2015 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

I had a similar issue with imagefilter (http://php.net/manual/fr/function.imagefilter.php ). It turns out depending on the way gd is used my the server, gd isn't packaged with all it's functions (In my case it was a Debian, and gd was installed separately from PHP).

I had to use Imagick instead.

answer Mar 23, 2015 by Anderson
Similar Questions
0 votes

I'm looking into a good versatile PDF generator class/library to use with PHP 5? --- Preferably one which is maintained somewhat recently...

Mostly needed for basic pages, but I also have some longer reports (more than one 8.5" x 11" page) and it would be nice if the pdf was able to split it up without losing part of the font when crossing page boundaries etc...

+3 votes

I'm trying to run my existent PHP codebase with PHP 7 but I have issue on packages/libs depending on shh2 pecl package ( https://pecl.php.net/package/ssh2 ).

Is there any way to get that extension working with PHP7?

0 votes

I am placing this in my php.ini file but it has no effect
memory_limit = 128M
session.gc_maxlifetime = 22440
max_execution_time = 1600
max_input_time = 1600
max_input_nesting_level = 64
both on php.ini and php5.ini

still with phpinfo() I see
max_execution_time 30 30

+1 vote

I use PHP 5.4.4-14+deb7u7 (cli) (built: Dec 12 2013 10:55:22), and I want to change to PHP Version 5.2.17, (because I want to use old script). Is it possible if yes then how to achieve this.

Any suggestions?

...