From owner-freebsd-questions@FreeBSD.ORG Fri Sep 24 18:47:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B88A1106566B for ; Fri, 24 Sep 2010 18:47:01 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 455BA8FC17 for ; Fri, 24 Sep 2010 18:47:01 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OzDIR-00007Y-RU for freebsd-questions@freebsd.org; Fri, 24 Sep 2010 20:46:59 +0200 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Sep 2010 20:46:59 +0200 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Sep 2010 20:46:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Fri, 24 Sep 2010 14:49:26 -0400 Lines: 53 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: Trouble enabling GD in php/apache X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2010 18:47:01 -0000 Andy Wodfer wrote: > I'm running FreeBSD 8.0 RELEASE. > > I can't get GD enabled. I have installed latestes php5 from ports aswell > as php5-extensions and enabled GD on the option screen: > > cd /usr/ports/lang/php5 > make deinstall > make clean > make rmconfig > make install clean > > cd /usr/ports/lang/php5-extensions > make deinstall > make clean > make rmconfig > make install clean > > I'm running the latest Apache 2.2.x version and GD 2.0.35. > > I'm currently doing a portupgrade -a to see if that helps, but I think > not. > > What's the correct way of getting GD to work on Ie. a webshop (opencart)? > I'm having the exact same problem. Have done the above manual rebuild/reinstall for php52-gd and gd. Have done portupgrade -fr php52-gd so far, but got called away before I tried the -fr on gd so it would rebuild the jpeg/png libraries. Was going to try that next. The .so is present in the correct location, the line is present in php.ini and phpinfo, pgp -m, and php -i all show the module loaded. I run PHP here as FastCGI and everything but gd works as expected. httpd-error.log is only showing me this: [Thu Sep 23 18:22:06 2010] [error] [client 192.168.10.2] Premature end of script headers: antibot_image.php, referer: https://flintriver.test.zip/help.php?section=contactus&mode=update [Thu Sep 23 18:22:08 2010] [error] mod_fcgid: process /usr/local/bin/php- cgi(1317) exit(communication error), get unexpected signal 6 Had this problem once before a long time ago and the rebuild/reinstall dance took care of it at that time and I forgot about it. This time seems different somehow and running out of ideas fast. -Mike