C.A.T Posted September 13, 2016 Share Posted September 13, 2016 (edited) I have found myself here after a conundrum in purchasing PHP software SCS Web Security, http://codecanyon.net/item/scs-web-security-ssl-alternative-more/13977657?s_rank=15All attempts to contact the Author 'GreenyCode' with a valid support license have failed. Envato Marketing is assisting in contacting the author with no success.The host server is GoDaddy with PHP Version 5.2.17SCS Web Security syntax errors ARE a result of PHP version 5.2.Xhttps://www.piliapp.com/php-syntax-check/php-5.3.21 > NO syntax error.php-5.2.17 > syntax error are:Warning: Unexpected character in input: '\' (ASCII=92) state=1 in BigInteger.php on line 332Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `'$'' in BigInteger.php on line 390http://phptester.net/PHP 5.2 > FATAL ERROR syntax error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or '$' on line number 390PHP 5.3 > NO syntax error.I need assistance in correcting the syntax errors in BigInteger.php BigInteger.php.txt Edited September 13, 2016 by C.A.T Link to comment Share on other sites More sharing options...
Ingolme Posted September 13, 2016 Share Posted September 13, 2016 The software does not support PHP 5.2. It's more that just syntax errors, it's relying on features that are only available in newer versions of PHP, such as namespaces. That's such an outdated version of PHP that I'm amazed your web host is still using it, you should tell your web host to upgrade your version of PHP. PHP 5.3 was killed off two years ago, you shouldn't be using a version of PHP older than 5.4. Link to comment Share on other sites More sharing options...
C.A.T Posted September 14, 2016 Author Share Posted September 14, 2016 At Ingolme, Thank you for your reply. The software does not support PHP 5.2. It's more that just syntax errors, it's relying on features that are only available in newer versions of PHP, such as namespaces.According to the site, http://codecanyon.net/item/scs-web-security-ssl-alternative-more/13977657?s_rank=15 it states, Software Version: PHP 5.x, PHP 5.0 - 5.2, PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6 Obviously, false advertising. That's such an outdated version of PHP that I'm amazed your web host is still using it, you should tell your web host to upgrade your version of PHP. PHP 5.3 was killed off two years ago, you shouldn't be using a version of PHP older than 5.4.Yes, I agree without reservation. The cost of renewing the shared SSL certificate each year, and upstanding to the latest PHP is ridiculous. Link to comment Share on other sites More sharing options...
Ingolme Posted September 14, 2016 Share Posted September 14, 2016 You will have to bring that up to them. Perhaps you can leave a comment here: https://codecanyon.net/item/scs-web-security-ssl-alternative-more/13977657/comments They shouldn't be saying it's compatible with PHP 5.2 if it's not. Link to comment Share on other sites More sharing options...
Don E Posted September 14, 2016 Share Posted September 14, 2016 The software does not support PHP 5.2. It's more that just syntax errors, it's relying on features that are only available in newer versions of PHP, such as namespaces. That's such an outdated version of PHP that I'm amazed your web host is still using it, you should tell your web host to upgrade your version of PHP. PHP 5.3 was killed off two years ago, you shouldn't be using a version of PHP older than 5.4. Just to note and I wondered this for some time.. it seems most linux distros use dated versions of PHP. I read somewhere along time ago that this has to do with stability. Whenever they update I noticed, it's an update to the current version and usually not to a newer version. Here is a current list of some linux distros and their PHP versions: http://www.sasaprolic.com/2013/02/list-of-current-php-version-in-major.html (From 2013 but the list gets updated) If on a shared host, it would be probably difficult to get your host to upgrade your PHP just for you. Usually for shared hosts, everyone uses the same version from what I understand. Of course you can get dedicated and install your own new version of PHP but again as some have mentioned via the net, it's easier to manage server software via the software package manager that comes with your distro and whatever updates you get from the distro. Long story short, I was once on a shared host. I needed a particular software to be the latest. I contacted the host and they said "We cannot manually update that particular software only what the distribution has to offer at the moment." At the time I didn't understand but after research etc, I mostly understand. Link to comment Share on other sites More sharing options...
C.A.T Posted September 14, 2016 Author Share Posted September 14, 2016 (edited) You will have to bring that up to them. Perhaps you can leave a comment here: https://codecanyon.net/item/scs-web-security-ssl-alternative-more/13977657/comments They shouldn't be saying it's compatible with PHP 5.2 if it's not. Yes I have informed the author with the http://phptester.net/ analysis, but it's futile. I have made a comment that SCS failed on php-5.2.x Edited September 14, 2016 by C.A.T Link to comment Share on other sites More sharing options...
justsomeguy Posted September 14, 2016 Share Posted September 14, 2016 it seems most linux distros use dated versions of PHPA distribution isn't bound to a specific version of anything. We have servers running CentOS 5 that we can run PHP 5.6 or PHP 7 on, but we're in the process of upgrading everything to CentOS 7 so that we can take advantage of some other things that were added to the OS. Even so, we can choose which version of PHP we want to install. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now