BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 7th, 2003, 12:29 PM
petey20 petey20 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Posts: 56 petey20 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 50 sec
Reputation Power: 7
Recompiling PHP with GD

Hi

I have PHP 4.0.6 installed on my server running vBulletin 2.3.0. In order to use the Image verification capbilities of VB 2.3.0 on register I need to recompile my PHP with GD support.

I've been told to upgrade to php 4.3.1 (which includes GD 2?). I have GD 1.8.4 installed but my precompiled php didn't include GD support.

Here's my Configure Command:
'./configure' '--with-apxs=/usr/local/www/bin/apxs' '--with-config-file-path=/usr/local/www/etc' '--enable-versioning' '--with-system-regex' '--disable-debug' '--enable-track-vars' '--without-gd' '--without-mysql' '--with-zlib' '--with-imap=/usr/local' '--with-mysql=/usr/local' '--prefix=/usr/local/www' 'i386--freebsd4.4'

Can anyone give me detailed instructions on how to update my exsiting version of PHP and compile --with-gd? Can I hurt anything by doing this?

My OS is FreeBSD.

Any other info, please ask

Thanks

Reply With Quote
  #2  
Old April 7th, 2003, 09:28 PM
casteld1973's Avatar
casteld1973 casteld1973 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 26 casteld1973 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have apache 1.37 and php 4.3.1 with GD. I installed al from the ports w/o much prob. When you make install mod_php4 it starts an ncurses menu with options to choose from.

Reply With Quote
  #3  
Old April 10th, 2003, 12:24 PM
samsm's Avatar
samsm samsm is offline
got the bounce bounce
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 47 samsm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 m 54 sec
Reputation Power: 6
Here's a link that might help:
http://www.php.net/manual/en/ref.image.php

Quote:

Note: Since PHP 4.3 there is a bundled version of the GD lib. This bundled version has some additional features like alpha blending, and should be used in preference to the external library since it's codebase is better maintained and more stable.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Recompiling PHP with GD


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway