vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Setup PHP server (https://vborg.vbsupport.ru/showthread.php?t=211470)

marcopolo 04-17-2009 11:25 AM

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

Dismounted 04-17-2009 12:51 PM

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.

marcopolo 04-17-2009 03:51 PM

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.

mac-warez 04-17-2009 10:35 PM

I would go with LightTPD

Angel-Wings 04-18-2009 10:08 PM

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. :)

marcopolo 04-21-2009 08:29 AM

Quote:

Originally Posted by Angel-Wings (Post 1794167)
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

Dismounted 04-21-2009 09:15 AM

Quote:

Originally Posted by marcopolo (Post 1795782)
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.

Angel-Wings 04-21-2009 12:13 PM

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

marcopolo 04-21-2009 02:10 PM

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. :)

Angel-Wings 04-22-2009 02:35 AM

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.


All times are GMT. The time now is 09:08 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.00969 seconds
  • Memory Usage 1,731KB
  • 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
  • (2)bbcode_quote_printable
  • (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