Php 5.2.17 custom installation error


#1

Dear Sir, I installed custom php-5.2 to my user it is working when i use php -v but when i add my code to htaccess;

AddHandler fcgid-script .php
FCGIWrapper “/home/akademik/local/bin/php-cgi” .php

i got Internal Server Error 500… what should i do ?

[mcmenamins]$ php -v
PHP 5.2.17 (cli) (built: Aug 5 2019 03:15:24)
Copyright © 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright © 1998-2010 Zend Technologies


#2

Thanks for contacting us!

You are NOT going to be able to run PhP 5.2 on our servers. That version is very much out of date and creates a security issue. DreamHost pre-installs the following versions of PHP on its servers:

PHP 7.3.6 — Available in the panel.
PHP 7.2.19 — Available in the panel.
PHP 7.1.30 — Available in the panel.
PHP 7.0.33 — No longer available in the panel. Officially End-Of-Lifed by php.net
PHP 5.6.36 — No longer available in the panel. Officially End-Of-Lifed by php.net
PHP 5.5 — No longer supported. Officially End-Of-Lifed by php.net.
PHP 5.4 — No longer supported. Officially End-Of-Lifed by php.net.
PHP 5.3 — No longer supported. Officially End-Of-Lifed by php.net.
PHP 5.2 — No longer supported. Officially End-Of-Lifed by php.net.
https://help.dreamhost.com/hc/en-us/articles/215082337-What-versions-of-PHP-are-available-at-DreamHost-

Thanks!
Matt C


#3

Dear Sir, Thank you for your answer. but i know php 5 not exist in server but i installed custom php. I installed custom php 5.3.27 and it works not even with ioncube… you can check; http://www.akademikdunya.org/asd.php

but i have another error now; http://www.akademikdunya.org it redirect me to an alert…


#4

i know php 5 not exist in server but i installed custom php

There’s a reason it doesn’t exist in the server: As Matt said, it has reached end of support almost a decade ago. It is terribly insecure, and your website will eventually be hacked.

The only reason to run 5.2 is to use an app that hasn’t been updated since then, and is in and of itself a security concern.

Just because you can install 5.2 doesn’t mean you should install 5.2. The security concerns are real. If we knew why you needed this dinosaur, we could probably provide you with more realistic alternatives that do not have the security concerns 5.2 does.


#5

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.