Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Merlin on July 10, 2001, 05:50:11 AM

Title: php doesn´t work
Post by: Merlin on July 10, 2001, 05:50:11 AM
Hi!

I´ve just installed e-smith and everything works fine, except the php-module.

when i want a php-site to be displayed, only the php-code is shown - it is not parsed :(

is this a known problem or does anyone know, how to fix this?

many, many thanks!
Title: Re: php doesn´t work
Post by: Ken Yuinipo on July 10, 2001, 06:26:38 AM
Did you turn on CGI/PHP scripting in your I-Bay.  check your settings again.
Title: Re: php doesn´t work
Post by: Paul Nesbit on July 10, 2001, 06:29:05 AM
Merlin wrote:
>
> Hi!
>
> I´ve just installed e-smith and everything works fine, except
> the php-module.
>
> when i want a php-site to be displayed, only the php-code is
> shown - it is not parsed :(
>
> is this a known problem or does anyone know, how to fix this?

Known problems can be reviewed at
http://www.e-smith.org/bugs/

This is a known problem.

Paul
Title: Re: php doesn´t work
Post by: Chaloner Hale on July 12, 2001, 07:22:50 PM
First install;

The primary web serving directory (called primary) will not process PHP files unless the following patch is applied. PHP will work in an ibay if the cgi scripting is turned on using the e-smith-manager. Having had the same probelm several times, I have found this works for me;

DOWNLOAD:
 
ftp://ftp.e-smith.org/pub/e-smith/updates/4.1.2/RPMS/noarch/e-smith-base-4.4.0-21.noarch.rpm

TO INSTALL:
rpm -ivh --force e-smith-base-4.4.0-21.noarch.rpm

then as root run the following two commands;

/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot


That should do it.

Chaloner Hale
Title: Re: php doesn´t work
Post by: Stephen Sloan on July 14, 2001, 03:16:42 AM
Thanks Chaloner, your approach worked like a charm.