View Full Version : Windows Server Question
RichieBoy67
12-02-2016, 06:00 PM
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/agents/php-agent/configuration/php-directory-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?
<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
This will work on Windows server?
<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/application-frameworks/install-and-configure-php-applications-on-iis/translate-htaccess-content-to-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.
Not sure if it's possible, but take a look at this: https://www.iis.net/learn/application-frameworks/install-and-configure-php-on-iis/enable-per-site-php-configuration-on-iis-60-and-iis-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
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 .....
RichieBoy67
12-02-2016, 09:41 PM
True, nothing but problems for a simple upgrade. The latest issue was being blocked for too many connections from uploading via ftp with 5 connections.. On my servers I always run 10 with no issues. 5 should not trigger a block.
Oh well.. glad I got the ssl worked out last night just about. At least there's that. lol
Dragonsys
12-05-2016, 12:27 PM
Time to find a new host, they dont seem to have a clue how things work .....
I agree with this. They don't seem to really know what they are doing as a host.
As for web.config, it works like php.ini, you can put it in your web folder, you don't need root access.
RichieBoy67
12-05-2016, 07:08 PM
I agree with this. They don't seem to really know what they are doing as a host.
As for web.config, it works like php.ini, you can put it in your web folder, you don't need root access.Thanks, that probably would have worked for me. The host finally changed the ini file though. I could have done that myself had I had access. In the past when working with Windows it was simple to just connect using Windows Remote Desktop. I did not have the access though so I was stuck going through a terrible gui panel.
I appreciate the support here everyone. Thanks!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.