Hi guys.
I finally managed to install php on NAS.
So here is simple HowTo
Download thttpd-php from
here
Copy
thttpd-php.tgz to
/mnt/IDE1/public/applications/new_software
and reboot NAS.
Now go to
/mnt/IDE1/public/applications/thttpd-php/etc
and edit
thttpd.conf and replace there :
phppat=php/** to
phppat=**
Save and again reboot NAS
Create new file called
index.php
Add this code to the
index.php
<html>
<head>
<title>testing php</title>
</head>
<body>
<?php phpinfo(); ?>
</body>
</html>
and save it to
/mnt/IDE1/public/applications/www
Now go to
http://youripadress and load the page.
If your php is working you will see php description
Than copy your php files to
/mnt/IDE1/public/applications/www
And enjoy it
There is also built-in mysql server, which start together with webserver.
So you don't need to start it manualy.
Dieser Beitrag wurde bereits 4 mal editiert, zuletzt von »irootsk« (28. Juli 2008, 11:17)