vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   php gdimage + apache on win (https://vborg.vbsupport.ru/showthread.php?t=53443)

Radgam 05-27-2003 12:09 PM

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.

filburt1 05-27-2003 01:30 PM

Only include php_gd2.dll and restart Apache.

Radgam 05-27-2003 01:50 PM

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?

Xenon 05-27-2003 02:07 PM

$gdversion can be set in vboptions in your acp

Radgam 05-27-2003 02:23 PM

Thanks, problems sorted :)
(yes, i must be stupid :p )

filburt1 05-27-2003 02:25 PM

Not at all (well, maybe vB-wise :p 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...

Radgam 05-27-2003 02:28 PM

Servers always trip me up with so many config files!
lucky, i don't think i want to learn JSP :D I've still got to get good at PHP first either way ;)

Xenon 05-27-2003 02:39 PM

Quote:

Today at 17:25 filburt1 said this in Post #6
Not at all (well, maybe vB-wise :p 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..... :(


All times are GMT. The time now is 01:46 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.01244 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete