SliTaz SliTaz Forum

You are not logged in.

#1 2012-05-10 21:18:47

mops
Member
Registered: 2011-06-04
Posts: 45

Php-script execute with lighttpd (Slitaz 4.0)

Hello,

I've installed on my SliTaz 4.0 lighttpd and php.

lighttpd is running and returns  html pages.

But if I create a script  "testphp.php" in /var /www/

look like :

<?php

echo "Hello world!"

?>

it will not get displayed Hello World

Offline

#2 2012-05-10 22:50:30

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Php-script execute with lighttpd (Slitaz 4.0)

Do you have fcgi installed and configured to be used in lighttpd's conf file?

Offline

#3 2012-05-11 15:56:03

mops
Member
Registered: 2011-06-04
Posts: 45

Re: Php-script execute with lighttpd (Slitaz 4.0)

Hallo Trixar,

thank you.

Your were right :-) now all is working correctly.

In the description I've read nothing about the fcgi package.

So yet again many thanks for the tip.

so long

Joerg

Offline

#4 2012-05-12 12:53:48

mops
Member
Registered: 2011-06-04
Posts: 45

Re: Php-script execute with lighttpd (Slitaz 4.0)

Hello Trixar,

after the next reboot I had the same problem again.

I had now found out that I must stop the httpd damoen before I can start again lighttbd.

I then changed the order in the file / etc / rcS.conf

RUN_DAEMONS = "dbus hald slim lighttpd httpd firewall"

so that everything runs immediately after the next reboot.

so long

Joerg

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]