Koozali.org: home of the SME Server

php doesn´t work

Merlin

php doesn´t work
« 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!

Ken Yuinipo

Re: php doesn´t work
« Reply #1 on: July 10, 2001, 06:26:38 AM »
Did you turn on CGI/PHP scripting in your I-Bay.  check your settings again.

Paul Nesbit

Re: php doesn´t work
« Reply #2 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

Chaloner Hale

Re: php doesn´t work
« Reply #3 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

Stephen Sloan

Re: php doesn´t work
« Reply #4 on: July 14, 2001, 03:16:42 AM »
Thanks Chaloner, your approach worked like a charm.