vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   --with-apache with apache2.0 (https://vborg.vbsupport.ru/showthread.php?t=38497)

jjj0923 05-10-2002 07:00 PM

--with-apache with apache2.0
 
has anyone been able to build php using the --with-apache option with apache 2.0

my ./configure stops and say --with-apache not support in 2.0

Jeff

Mark Hensler 05-10-2002 09:14 PM

What version of PHP?

I'm planning on doing this soon, too.

jjj0923 05-11-2002 09:48 AM

php 4.2.0

evidently on apache2.0, apache 2.0 no longer permits compiling php as a memory resident module. Php must be treated as CGI.

I've been experimenting for the last week with apache 2.0 & php 4.2.0. The bottom line is that VB (heavily hacked 2.4) was not stable and acted flakey. This is a new server for me, so I went back to apache 1.3 and php 4.1.2.

I have the microstats hack installed and apache 1.3 with php 4.1.2 serves up pages a lot faster than apache 2.0 with php 4.2
and vb seems stable.

having burned about 60 hours of personal time at nights and on weekends I can tell you it was a great learning experience, but I'll wait a while before installing php 4.2 in a production environment.

- jeff

Scott MacVicar 05-11-2002 12:19 PM

apache 2.0 is not a release that is stable enough for production use imho, and apache 2.0 support is only experimental in 4.2.0. I'd use apache 1.3.24 and php 4.2.0 it works fine on my server i won't be trying apache 2.0 until it reaches 2.1.

Mark Hensler 05-11-2002 11:45 PM

PHP 4.2 just nuked the old global vars (like $HTTP_), right?
And, PHP 4.2 just added the new global vars (like $_POST), right?

Was there a version in between, when both sets of global vars was supported? I can see a lot of scripts dying...

Maybe I'll download the 4.2 source, and hack it to add the old global vars. hmmm...

Admin 05-12-2002 09:37 AM

The $HTTP_*_VARS and $HTTP_POST_FILES arrays still work in 4.2.0 Mark. They added $_* in 4.1.0 but both still work, the only difference is that $_* are global.

Mark Hensler 05-12-2002 11:04 PM

Oh, good. Thanks!

Admin 05-13-2002 10:51 AM

They probably won't remove the old arrays, at least not anytime soon. It will just kill too many scripts, and I don't think they can afford that.

Many people are annoyed by the register_globals new default setting, and besides the new arrays are too new.

Mark Hensler 05-13-2002 06:01 PM

I don't think the register_globals is not biggy. It's not compiled in, its in the config file. But then again, I have access to that on my box, and not everone does.

Admin 05-13-2002 06:06 PM

But most hosts don't care about it, just leave the default configuration and change critical stuff. So now most hosts will have it disabled, and people will need to contact the support to ask why the board doesn't work, and we will need to direct them to the host, which will make a funny face and take a week to turn the setting on. ;)


All times are GMT. The time now is 12:28 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.01037 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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