Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-17-2009, 11:25 AM
marcopolo marcopolo is offline
 
Join Date: Dec 2005
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Setup PHP server

I did this a while back but wanted to know if anyone has a quick guide to setting up PHP, MYsql for Vbulletin on Server 2008, or should I just follow the ones I've found already here

http://www.wampserver.com/en/

Thanks

Mark
Reply With Quote
  #2  
Old 04-17-2009, 12:51 PM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, you shouldn't use those "ready-made" packages. You'll find heaps of tutorials about this kind of thing on Google, but first you have to decide if you're going to use IIS or Apache or similar.
Reply With Quote
  #3  
Old 04-17-2009, 03:51 PM
marcopolo marcopolo is offline
 
Join Date: Dec 2005
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The last time I used Apache, but I'm tempted to go IIS this time. It's only really for my own usage, not as an alternative to my live forum.
Reply With Quote
  #4  
Old 04-17-2009, 10:35 PM
mac-warez mac-warez is offline
 
Join Date: Oct 2008
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would go with LightTPD
Reply With Quote
  #5  
Old 04-18-2009, 10:08 PM
Angel-Wings's Avatar
Angel-Wings Angel-Wings is offline
 
Join Date: Sep 2007
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you're running Server 2008 - maybe give IIS a try. PHP can be installed as ISAPI module - the PHP Readme already has a guide included how to install it.
Reply With Quote
  #6  
Old 04-21-2009, 08:29 AM
marcopolo marcopolo is offline
 
Join Date: Dec 2005
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Angel-Wings View Post
If you're running Server 2008 - maybe give IIS a try. PHP can be installed as ISAPI module - the PHP Readme already has a guide included how to install it.
Thanks, that's what I went for in the end since I have a Server 2008 at home. All has gone well (IIS Fast CGI, MySQL 5.1, PHP 5.2.9, phpmyadmin and mysqldumper)

Must admit I had to mix a number of readme's to get MySQL installed and PHP configured, losts of conflicting info but went with one document in the end with a couple of minor amendments.

Does anyone have a readme as to what users require access to the wwwroot/forum folder.

I would imagine IUSR, IIS_USR and Network Service, but what permissions?

Also noticed mysqldumper would not get past the first screen untill I added everyone (full control on the folder (don't worry this is not public). Just wanted to check it was server permissions

Everything is up and running but I would ideally like to tie down permissions as 'priority'

Thanks,

Mark
Reply With Quote
  #7  
Old 04-21-2009, 09:15 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by marcopolo View Post
All has gone well (IIS Fast CGI, MySQL 5.1, PHP 5.2.9
I have heard that running PHP as an ISAPI module is more stable and quicker than FastCGI (it used to be the opposite) on Windows boxes.

However, I have not done any testing myself as I don't play with Windows boxes.
Reply With Quote
  #8  
Old 04-21-2009, 12:13 PM
Angel-Wings's Avatar
Angel-Wings Angel-Wings is offline
 
Join Date: Sep 2007
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can setup a special dedicated PHP user - using the "IIS Guest" user as template. Then you can run the website with the forum under this user account.

http://www.iis-aid.com/articles/how_...curing_php_iis

Has some more info Your fav. search engine too
Reply With Quote
  #9  
Old 04-21-2009, 02:10 PM
marcopolo marcopolo is offline
 
Join Date: Dec 2005
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah not bad that, always like the permission restriction but it doesn't actually say what permissions are required for the IUSR account which would help.
Reply With Quote
  #10  
Old 04-22-2009, 02:35 AM
Angel-Wings's Avatar
Angel-Wings Angel-Wings is offline
 
Join Date: Sep 2007
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Read (not execute) permissions are enough - if it's a dedicated PHP user - filesystem based.
When storing attachments in the filesystem, create a directory outside your webroot and there write permissions are required. The same applies for the logging directory - if enabled in your VB settings.
If you also use the builtin FTP server, create another user and give that one write access to the VB folders / files and finally - remove the other users like "Everyone" if set that except "Administrators" and the PHP user / FTP user have no access.
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 01:47 PM.


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.04342 seconds
  • Memory Usage 2,251KB
  • Queries Executed 13 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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