Log in

Bekijk de volledige versie : PHP on ASUSWL500-G Premium



simistef
19-02-2008, 08:15
Hello guys,

I have an ASUS WL 500g Premium running for the moment, DD-WRT.

What i would like to install, is PHP with shell_exec possibilities.

I wanted to install Apache from Optware (http://www.nslu2-linux.org/wiki/Optware/Apache) packages, but there is a slight note at the beggining :


Plead: Could someone please make it so we can use system() and exec() commands in PHP

(The answer seems to be "no"; as is noted below, running Apache in Prefork mode, which is necessary to support this, "uses too much memory to be useful on a slug, even when configured conservatively." If you want to experiment, note that Debian has Apache packages for each of the different MPM modes including Prefork, so you could try that.)

I'd like to ask you if there is another posibility of installing PHP with shell_exec function ? Maybe another firmware ? Another distribution of Apache ?

The note says something Apache including Prefork. I would try that but i have no idea how !

Can u please help me, or give me some hints ?

Thank you in advance !

raas
20-02-2008, 18:44
Hi,

don't know about DD-WRT.

What I do know is, that, with oleg's firmware you can have a website with php. (and even mysql if you'd want)

Take a look at this thread.

http://www.wl500g.info/showthread.php?t=5247