vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Windows Server Question (https://vborg.vbsupport.ru/showthread.php?t=323962)

RichieBoy67 12-02-2016 06:00 PM

Windows Server Question
 
Is anyone here familiar with windows server? I do not suppose I can use a local php.ini to pick a installed version of php for a forum directory?

Asked the host to switch it and they said this:
PHP 5.4 is already loaded on your server. They would just need to set vbulltin to that version. Here is the path to that version: C:\Program Files (x86)\PHP\v5.4

Brandon Sheley 12-02-2016 06:16 PM

I don't know what your question is to be honest?
I assume you mean the php.ini file?
Are you asking if you can have a php version for a selected folder on the server? If so, then yes, you can do that.

https://docs.newrelic.com/docs/agent...y-ini-settings

RichieBoy67 12-02-2016 06:23 PM

Yes I mean the php.ini but I am talking about placing one locally inside the forum directory so just the forum would use php5.4..

I do not have access to the server to change the config.

Windows does not use htaccess.. Otherwise I would just use it to use the correct version of php.

In the past 10 or 15 years i have worked on Windows server maybe 5 times.

Thanks

This will work on Windows server?
PHP Code:

<VirtualHost 192.168.56.78>   ServerName www.myvhost3.com   DocumentRoot "/path/to/vhost3/"   ...   <IfModule PHP_MODULE>     php_flag newrelic.enabled off   </IfModule> </VirtualHost


Dragonsys 12-02-2016 07:48 PM

Quote:

Originally Posted by RichieBoy67 (Post 2579055)
This will work on Windows server?
PHP Code:

<VirtualHost 192.168.56.78>   ServerName www.myvhost3.com   DocumentRoot "/path/to/vhost3/"   ...   <IfModule PHP_MODULE>     php_flag newrelic.enabled off   </IfModule> </VirtualHost


No, as IfModule and VirtualHost are apache configs.
You probably need to use web.config

https://www.iis.net/learn/applicatio...-iis-webconfig

RichieBoy67 12-02-2016 07:51 PM

Yeah but need to access the server for that via remote and I cannot do that. I hate windows server.

Dave 12-02-2016 08:00 PM

Not sure if it's possible, but take a look at this: https://www.iis.net/learn/applicatio...is-7-and-above

RichieBoy67 12-02-2016 08:08 PM

Yeah Dave, Thanks. I cannot do that because I do not have access. The host is telling me I need to change a setting in Vbulletin to point to the other version of php..... That is news to me. lol

Thanks buddy

Dave 12-02-2016 09:11 PM

That's a bit unusual... the website software controlling with PHP version is used... never heard of that before. As far as I know it's only possible the other way around.

RichieBoy67 12-02-2016 09:13 PM

Yeah, they changed it. They had to change the php.ini only I did not have root access and they kept saying we had to change Vbulletin to point to the other version.. I thought maybe I could do so with htaccess but not a windows server.

All good now though.

Thanks much,
Rich

Paul M 12-02-2016 09:35 PM

Time to find a new host, they dont seem to have a clue how things work .....


All times are GMT. The time now is 12:09 AM.

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.01150 seconds
  • Memory Usage 1,736KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete