Koozali.org: home of the SME Server

php 4 problem

Offline iliankukov

  • 3
  • +0/-0
php 4 problem
« on: April 19, 2010, 09:16:37 PM »
Hi! I've got myself into a big mess...
I uninstalled php 4 with rpm -e --nodeps php.
I need to find a way to install php 4 again.
Can you tell me step by step or give me me a manual.
Pls help.Thanks!
« Last Edit: April 19, 2010, 09:31:25 PM by iliankukov »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: php 4 problem
« Reply #1 on: April 19, 2010, 09:18:07 PM »
Try:
Code: [Select]
yum install php
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline iliankukov

  • 3
  • +0/-0
Re: php 4 problem
« Reply #2 on: April 19, 2010, 09:29:35 PM »
Done it but i stil don't see the server manager.Should i apply some extra settings?Thanks!

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: php 4 problem
« Reply #3 on: April 19, 2010, 09:33:16 PM »
Done it but i stil don't see the server manager.Should i apply some extra settings?Thanks!
PHP and the server-manager are not related. Please explain your problem, clearly you do not have enough knowledge to properly diagnose your issues.

Please describe what you are doing and the symptoms you are seeing so we can try and help you resolve the problem.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline iliankukov

  • 3
  • +0/-0
Re: php 4 problem
« Reply #4 on: April 19, 2010, 09:48:06 PM »
I had a problem with a php/mysql based program that was hosted on the SME.I tried to reinstall the php but as end result i can't reach the server from the browser.Can it be Apache problem?
« Last Edit: April 19, 2010, 09:51:43 PM by iliankukov »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: php 4 problem
« Reply #5 on: April 19, 2010, 11:08:05 PM »
PHP and the server-manager are not related.

They are not completely unrelated. If mod_php is not installed, but apache is configured to load mod_php, then apache will not start up (and therefore the server manager would not be accessible).

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: php 4 problem
« Reply #6 on: April 20, 2010, 12:46:57 AM »
I had a problem with a php/mysql based program that was hosted on the SME.I tried to reinstall the php but as end result i can't reach the server from the browser.Can it be Apache problem?

the problem is that you are thinking in the windows way: if something doesn't work, just remove it and reinstall. ;-)
on SME (and on linux, generally speaking) you should understand what's going wrong before trying to fix it

take a look at httpd log files (in /var/log/ dir) and report here (hope Charlie will not punish me for the suggestion ;-))

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: php 4 problem
« Reply #7 on: April 20, 2010, 07:23:23 AM »
I had a problem with a php/mysql based program that was hosted on the SME.I tried to reinstall the php but as end result i can't reach the server from the browser.Can it be Apache problem?
Most likely. Can you login as root and show the output of the following commands:
Code: [Select]
sv s httpd-e-smith
sv s httpd-admin
httpd -t
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)