Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: iliankukov on April 19, 2010, 09:16:37 PM

Title: php 4 problem
Post by: iliankukov 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!
Title: Re: php 4 problem
Post by: cactus on April 19, 2010, 09:18:07 PM
Try:
Code: [Select]
yum install php
Title: Re: php 4 problem
Post by: iliankukov 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!
Title: Re: php 4 problem
Post by: cactus 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.
Title: Re: php 4 problem
Post by: iliankukov 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?
Title: Re: php 4 problem
Post by: CharlieBrady 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).
Title: Re: php 4 problem
Post by: Stefano 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 ;-))
Title: Re: php 4 problem
Post by: cactus 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