Raised This Month: $51 Target: $400
 12% 

[Sourcebans] With php 5.2.17?


Post New Thread Reply   
 
Thread Tools Display Modes
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 08-26-2015 , 14:30   Re: [Sourcebans] With php 5.2.17?
Reply With Quote #11

Quote:
Originally Posted by TheUnderTaker View Post
I'm searching sourcebans that agrees for php 5.2.17...
I got installation and all but system requirements for 1.411 is php 5.3.
Just read the posts again, there was a solution given to you.
Rytis is offline
TheUnderTaker
Senior Member
Join Date: Dec 2013
Location: Israel
Old 08-26-2015 , 16:11   Re: [Sourcebans] With php 5.2.17?
Reply With Quote #12

Quote:
Originally Posted by Rytis View Post
Just read the posts again, there was a solution given to you.
I'm new for sourcebans, idk how.
__________________
SourcePawn, C# and C++ Programmer.

My plugin list
TheUnderTaker is offline
RANDOMINATION
Junior Member
Join Date: Aug 2015
Location: Texas
Old 08-26-2015 , 16:39   Re: [Sourcebans] With php 5.2.17?
Reply With Quote #13

Step 1. Open up your index.php file with notepad++ or a code editing software. index.php can be found in the root of your sourcebans webpanel folder.
Step 2. Edit line 24 from this...
Code:
define('PHP_VERSION_REQ',   '5.3');
... to this:
Code:
define('PHP_VERSION_REQ',   '5.2');
Step 3. Save the file.
Step 4. Replace your old index.php file with the one you just edited and saved.
Step 5. Start installation.
Step 6. Read carefully next time.
RANDOMINATION is offline
Send a message via Skype™ to RANDOMINATION
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 08-26-2015 , 17:44   Re: [Sourcebans] With php 5.2.17?
Reply With Quote #14

Quote:
Originally Posted by RANDOMINATION View Post
Step 1. Open up your index.php file with notepad++ or a code editing software. index.php can be found in the root of your sourcebans webpanel folder.
Step 2. Edit line 24 from this...
Code:
define('PHP_VERSION_REQ',   '5.3');
... to this:
Code:
define('PHP_VERSION_REQ',   '5.2');
Step 3. Save the file.
Step 4. Replace your old index.php file with the one you just edited and saved.
Step 5. Start installation.
Step 6. Read carefully next time.
Are you also going to provide him with replacement functions when he is getting a million errors because of functions that are eventually only existing in 5.3(+)?


The ONLY WAY, and the REAL DEAL is to update your PHP, or switch hosting provider if you're not hosting yourself, and your provider won't update it for you (...and the other clients).

Don't ever do such shit as explained above, it will just end up on giving you a lot of other errors, and a bigger headache.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
RANDOMINATION
Junior Member
Join Date: Aug 2015
Location: Texas
Old 08-26-2015 , 19:34   Re: [Sourcebans] With php 5.2.17?
Reply With Quote #15

Quote:
Are you also going to provide him with replacement functions when he is getting a million errors because of functions that are eventually only existing in 5.3(+)?


The ONLY WAY, and the REAL DEAL is to update your PHP, or switch hosting provider if you're not hosting yourself, and your provider won't update it for you (...and the other clients).

Don't ever do such shit as explained above, it will just end up on giving you a lot of other errors, and a bigger headache.
Well of course. I was just re-iterating from here:
Quote:
That's not entirely true, there is a way and he can try it. As there are very little changes from 5.2.X to 5.3.X that would make it not backward compatible.
Just change the index.php in the installer folder, line 24, from 5.3, to 5.2.

But again as mentioned, you should really just update.
...on the possible fix. If all else fails pull and throw code at it. Or just update php. No need to be salty.
RANDOMINATION is offline
Send a message via Skype™ to RANDOMINATION
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-26-2015 , 19:38   Re: [Sourcebans] With php 5.2.17?
Reply With Quote #16

I'm not sure what Maxximou5 is on about on this one, PHP 5.3 added a truckload of new functionality and syntax changes. If SB says it needs at least 5.3, it almost certainly needs at least 5.3.
__________________
asherkin is offline
TheUnderTaker
Senior Member
Join Date: Dec 2013
Location: Israel
Old 08-27-2015 , 02:10   Re: [Sourcebans] With php 5.2.17?
Reply With Quote #17

Quote:
Originally Posted by asherkin View Post
I'm not sure what Maxximou5 is on about on this one, PHP 5.3 added a truckload of new functionality and syntax changes. If SB says it needs at least 5.3, it almost certainly needs at least 5.3.
Yes, but there aren't more older versions that their requirement is php 5.2.17?
__________________
SourcePawn, C# and C++ Programmer.

My plugin list
TheUnderTaker is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 08-27-2015 , 04:08   Re: [Sourcebans] With php 5.2.17?
Reply With Quote #18

Quote:
Originally Posted by asherkin View Post
I'm not sure what Maxximou5 is on about on this one, PHP 5.3 added a truckload of new functionality and syntax changes. If SB says it needs at least 5.3, it almost certainly needs at least 5.3.
The nonsense I am spotting, is the ability for him to allow 5.2.X. From what I read, he should be able to do it. I can be wrong obviously, but he wanted to try it.
Maxximou5 is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 08-27-2015 , 07:25   Re: [Sourcebans] With php 5.2.17?
Reply With Quote #19

Quote:
Originally Posted by TheUnderTaker View Post
Yes, but there aren't more older versions that their requirement is php 5.2.17?
Probably. Older versions also come with the requirement of more security issues.
__________________
asherkin is offline
TheUnderTaker
Senior Member
Join Date: Dec 2013
Location: Israel
Old 08-27-2015 , 07:54   Re: [Sourcebans] With php 5.2.17?
Reply With Quote #20

Quote:
Originally Posted by asherkin View Post
Probably. Older versions also come with the requirement of more security issues.
Can i link for older version, I searched and didn't find.
__________________
SourcePawn, C# and C++ Programmer.

My plugin list
TheUnderTaker is offline
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 -4. The time now is 07:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode