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 05-27-2003, 12:09 PM
Radgam Radgam is offline
 
Join Date: Jan 2003
Location: Scotland! :)
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default php gdimage + apache on win

I've got apache, mysql, php and perl installed on winXP mainly so i mess around with stuff without the hassle of constant uploading and reuploading of files

Apache version 1.3.26 and php version 4.2.3 installed.

I've updated the config file but it didn't seem to make a difference. I?ve also copied the php_gd2.dll file into the c:\windows\system32 folder.

Config File reads:
Quote:
extension_dir = "Z:\WebDev\php\4.2.3\extensions"
...other stuff here...
;extension=php_gd.dll
extension=php_gd2.dll
strangely if i do, for example

Quote:
extension_dir = "Z:\WebDev\php\4.2.3\extensions"
...other stuff here...
extension=php_gd.dll
extension=php_gd2.dll
apache gives me loads of duplicate function name errors so that would suggest to me the extensions are being included, but it just doesn't want to work. Not really sure on this one.

Any ideas?

And i'm using the first code i pasted from my php config file so I?m not including both versions of gdimage; it was just one of those curiosity killed Radgam tests

[edit]
And i'm testing this with vb2.3.0 and the image verification system.

[edit2]
After i took out all the checks for which version of gdimage i'm using (ie every bit where it checks $gdversion) it worked so ... I guess $gdversion isn't being defined for some reason.
Reply With Quote
  #2  
Old 05-27-2003, 01:30 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Only include php_gd2.dll and restart Apache.
Reply With Quote
  #3  
Old 05-27-2003, 01:50 PM
Radgam Radgam is offline
 
Join Date: Jan 2003
Location: Scotland! :)
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

have done :/
Also tried it with php_gd and restarted and it doesn't seem to recognise either.

Just a quick question though, is $gdversion a variable usually defined by php or is it a varible vb should be checking and defining at some point?
Reply With Quote
  #4  
Old 05-27-2003, 02:07 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$gdversion can be set in vboptions in your acp
Reply With Quote
  #5  
Old 05-27-2003, 02:23 PM
Radgam Radgam is offline
 
Join Date: Jan 2003
Location: Scotland! :)
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, problems sorted
(yes, i must be stupid )
Reply With Quote
  #6  
Old 05-27-2003, 02:25 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not at all (well, maybe vB-wise j/k), web servers can be a real PITA to configure. Just wait until you want to learn JSP and have to work with Tomcat, ugh...
Reply With Quote
  #7  
Old 05-27-2003, 02:28 PM
Radgam Radgam is offline
 
Join Date: Jan 2003
Location: Scotland! :)
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Servers always trip me up with so many config files!
lucky, i don't think i want to learn JSP I've still got to get good at PHP first either way
Reply With Quote
  #8  
Old 05-27-2003, 02:39 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 17:25 filburt1 said this in Post #6
Not at all (well, maybe vB-wise j/k), web servers can be a real PITA to configure. Just wait until you want to learn JSP and have to work with Tomcat, ugh...

totally agree with our turtle here, i have to work with that for university.....
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 07:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04057 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
  • (3)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