LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-27-2018, 06:52 AM   #1
DonWFA
LQ Newbie
 
Registered: Dec 2018
Posts: 3

Rep: Reputation: Disabled
Install PHP5 on Ubuntu 18.04


Hello everybody,

we run a server at Strato with Ubuntu 18.04. By default, Php 7 is already here, but we needs php 5.

We have already carried out various tests / experiments / instructions on how to install and activate php 5 additionally. When reading in, for example, Putty we also get php 5 back, but the website reports Php 7 (ie the original). In Plesk also Php 7 is still displayed, php 5 is also not selectable, probably because it is not supported officially.

What possibilities do we have? If someone agrees to look at the whole thing, we are of course willing to compensate those for it. Short about us, we run a browser game and forced cause of a server crash to change the System.

Thank you in advance for the help.

Best regards
DonWFa
 
Old 12-27-2018, 07:33 AM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
You installed PHP5, but did you also loaded php5 module for apache?

Code:
$ apache2ctl -t -D DUMP_MODULES   
OR 
$ apache2ctl -M
 
Old 12-27-2018, 10:48 AM   #3
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,732

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Also, did you restart the web server after installing and configuring PHP5?
And, have you cleared the client's brower cache?
 
Old 12-27-2018, 12:56 PM   #4
DonWFA
LQ Newbie
 
Registered: Dec 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
@dc.901 Yes also we have also tried it, but it doesnt help. Thank you for your comcompliance.
@scasey Yes both wie did. Also the Strato support coldnt help us.

At the End we decided to merge the Server to php-7 and change the whole Server.

Thank you for the Support.
 
Old 12-27-2018, 01:02 PM   #5
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by DonWFA View Post
At the End we decided to merge the Server to php-7 and change the whole Server.
Does this mean problem is resolved? If yes, please mark this thread as solved.

If not resolved, we need to look at the config; without that not much to add.
 
Old 12-27-2018, 02:56 PM   #6
DonWFA
LQ Newbie
 
Registered: Dec 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks for the hint. We have found a solution to our problem.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get install php5-mcrypt does not create php5/conf.d/mcrypt.ini: Can't continue Kgeil Linux - Server 5 09-04-2015 12:57 PM
Need to configure Apache2.2 to use php5.6 instead php5.5 sahasush Linux - Server 1 08-25-2015 05:44 PM
[SOLVED] How to upgrade php5.3.2 to php5.3.3 in ubuntu suresh.k Ubuntu 3 04-27-2012 11:20 AM
upgrade php5.1 to php5.3 on system whose entitlement has expired jjj0923 Red Hat 3 08-03-2011 01:48 PM
installing src php5 or tar php5 step by step jatender Linux - Software 2 06-28-2007 10:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration