Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Big Board Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
2 new servers (help with php config) Details »»
2 new servers (help with php config)
Version: , by Mickie D Mickie D is offline
Developer Last Online: May 2017 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 11-25-2006 Last Update: Never Installs: 0
 
No support by the author.

i have one dual xeon 2800 and just added these 2 new servers:

a woodcrest dual cpu (2GB ram) machine for webserver

and dual xeon 2800 raid10 4x 250gb hard drives in stripe for the MYSQL (2GBram)

i need help because this is my first time i am going to setup 2 servers to run a forum as my site is getting large with 700K posts and sometimes MAX-1000 users on in 15mins (but normally around 300-450 at peak times)

do i need to compile php with mysql support if i am going to run mysql on a diff server ?

i have got my hosts to cross connect the servers do i just edit the config.php and it will work once mysql is setup ?

i am going to use lighttpd because everyone is talking about it and being better than using apache.

can anyone confirm the above questions please

thanks very much

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 11-25-2006, 10:30 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi
1. Yes, you still need to compile php with mysql support, just do a normal compile like you was only using 1 server, nothing changes there.

2. If you are using external/internal network, just edit the config.php and enter the external/internal IP address of the mysql server.

3. lighttpd isnt that good, i have ran it, no major improvement over apache and not worth the extra time to setup.
Reply With Quote
  #3  
Old 11-28-2006, 09:58 AM
Mickie D Mickie D is offline
 
Join Date: Jun 2002
Posts: 430
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

amen to number 3)

jesus what a time consuming load of bollox that was (no offence) apache is fine for me.

what is better sapi or cgi to compile ?

thanks for the reply im nearly there just got tar everything up and ssh it and should be ready to rock and roll

Cheers again i will recompile php now and waiste less time

Regards
Mickie
Reply With Quote
  #4  
Old 12-04-2006, 08:41 PM
jason|xoxide jason|xoxide is offline
 
Join Date: Jul 2006
Location: Exton, PA
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mickie D View Post
amen to number 3)

jesus what a time consuming load of bollox that was (no offence) apache is fine for me.

what is better sapi or cgi to compile ?

thanks for the reply im nearly there just got tar everything up and ssh it and should be ready to rock and roll

Cheers again i will recompile php now and waiste less time

Regards
Mickie
If lighttpd wasn't noticeably faster then you didn't configure it correctly. As to it being difficult to use, I don't really know anything about the problem you had but it works pretty much out of the box. The only options you have to set are the root document path and the user/group.

In any case, as far as PHP speed goes, it's SAPI > FastCGI > CGI. Always use the native filter if there is one, if not Fast CGI. If you think you have to use CGI, you're going something wrong.
Reply With Quote
  #5  
Old 12-10-2006, 09:45 PM
alexi alexi is offline
 
Join Date: Feb 2002
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mickie D View Post
amen to number 3)

jesus what a time consuming load of bollox that was (no offence) apache is fine for me.

what is better sapi or cgi to compile ?

thanks for the reply im nearly there just got tar everything up and ssh it and should be ready to rock and roll

Cheers again i will recompile php now and waiste less time

Regards
Mickie
I run litespeed not lightppd but it makes a HUGE difference. What's interesting is that it is fairly simple to switch back and forth between apache and litespeed and the difference is amazing
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 04:45 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.07629 seconds
  • Memory Usage 2,235KB
  • Queries Executed 18 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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