Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-18-2004, 02:32 AM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Does installing PHP V5 include GD 2.0+?

Just wondering because someone said it might, and I really can't figure out how to install GD. So if it did that would be a great plus!

Also, if I upgraded PHP, should I backup my forum, or should it have no affect

Thanks,
Reply With Quote
  #2  
Old 04-18-2004, 03:11 AM
rocket98 rocket98 is offline
 
Join Date: Mar 2004
Location: Edmonton
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by muscle-mustangs
Just wondering because someone said it might, and I really can't figure out how to install GD. So if it did that would be a great plus!


Also, if I upgraded PHP, should I backup my forum, or should it have no affect

Thanks,
Backing up is always a safe thing to do.

What OS are you using on your server. PHP 5 is release candidate only would not entrust 100% operation to it just yet. Installing 4.3.6 binary and flagging GD at time of compile would include GD2 by default. Depending on your OS there should be a package in 4.x.x range available somewhere.
Reply With Quote
  #3  
Old 04-18-2004, 03:18 AM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rocket98
Backing up is always a safe thing to do.

What OS are you using on your server. PHP 5 is release candidate only would not entrust 100% operation to it just yet. Installing 4.3.6 binary and flagging GD at time of compile would include GD2 by default. Depending on your OS there should be a package in 4.x.x range available somewhere.
We are currenlty using PHP Version 4.3.4. Are you saying if we install 4.3.6 it would include it by default? What do you mean by flagging GD at teh time of compile? I'm new to this stuff, so I'm not sure on the terms. Our operating system in windows NT.

we we're told that we needed it for the Vbgarage hack for muscle-mustangs.com So just let me know if that version does include GD.
Reply With Quote
  #4  
Old 04-18-2004, 12:19 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GD is implemented in PHP since version 4.3.0 iirc.

you just have to enable it in your php.ini file:

Code:
extension=php_gd2.dll
(note that there is no ; in front of that line if it's enabled
Reply With Quote
  #5  
Old 04-18-2004, 01:51 PM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xenon
GD is implemented in PHP since version 4.3.0 iirc.

you just have to enable it in your php.ini file:

Code:
extension=php_gd2.dll
(note that there is no ; in front of that line if it's enabled

OK I took out the ; before that line, when I save it it gives me this error: Unkown () unable to load the dinamic library ./php_gd.dll. The specified module could not be found,


hmm...any suggestions?
Reply With Quote
  #6  
Old 04-18-2004, 02:17 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

be sure the file php_gd2.dll is in your extensions directory of php.

it may be needed to download the entire package of php, and not just the minimal one to run it.
Reply With Quote
  #7  
Old 04-18-2004, 03:32 PM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xenon
be sure the file php_gd2.dll is in your extensions directory of php.

it may be needed to download the entire package of php, and not just the minimal one to run it.
Thanks man, did what you said and it worked! I just redownloaded php and took the php_gd2.dll file out of the one I downloaded and put it in the one I installed already. Works like a charm!
Reply With Quote
  #8  
Old 04-18-2004, 05:30 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default



good to hear
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:47 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08252 seconds
  • Memory Usage 2,227KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete