NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
BlazeAxtrius
Aug 15, 2016Aspirant
ReadyNas Pro 4 website and PHP(enablerootssh)
Hello everyone,
I am new here.
I have a ReadNas Pro 4 X-Raid2 and I am trying to setup a website with PHP.
I followed a couple of tutorials and I managed to make a website folder and actually connect to the website through my IP address.
I have a couple of issues however...
First PHP doesn't work. I bought PHP5 from RNXtras.com. I installed it but it still doesn't work (I put a PHP website in the server folder which I created and the page is just blank). I installed EnableRootSSH because I saw posts that I need it to install PHP properly but I don't know how to use it and I can't find any documentation that explains how to SSH into your server and install PHP from there. I am not 100% sure it is even installed because it doesn't show in installed add-ons, but the server said installation successful. How do I SSH into the server and install PHP? I don't have a "etc" folder as well.
Second when I tried to see a HTML website because HTML works, it showed that the certificate is not setup properly and in order to see the website I had to exclude the certificate, so how do I write the certificate correctly?
Thanks in advance.
6 Replies
- mdgm-ntgrNETGEAR Employee Retired
Installing the add-on from RNXtras is the way to go.
Did you configure the options you want in the settings for the add-on.
Perhaps the ownership/permissions of your php script are not set correctly.I don't think I would recommend using a Pro 4 as a public webserver at this point. The current firmware 4.2.28 was released October last year.
- BlazeAxtriusAspirant
I am not sure what options or permission I can change. I haven't configure anything in the PHP, I just installed it and that is it.
- mdgm-ntgrNETGEAR Employee Retired
There will actually be a 4.2.29 released soon, so things may be O.K. for a little while. I expect 4.2.29 will be the final release.
- StephenBGuru - Experienced User
BlazeAxtrius wrote:
...I installed EnableRootSSH because I saw posts that I need it to install PHP properly but I don't know how to use it and I can't find any documentation that explains how to SSH into your server and install PHP from there. I am not 100% sure it is even installed because it doesn't show in installed add-ons, but the server said installation successful. How do I SSH into the server and install PHP? I don't have a "etc" folder as well...
No suggestions on PHP (its not something I use on my NAS). As far as ssh access goes, it is normal for the add-on not to show up.
You use putty (or possibly winscp) on a windows PC; or terminal on a mac. With putty, you connect to the NAS by name or IP address, and it gives you a logon prompt. The username is root, the password is the admin password for the NAS. This gives you a command line interface into the NAS.
You will find the usual linux folders once you access with ssh (including etc). These are not available from the main web ui, only the command-line interface. Linux runs in a quite small OS partition (4 gigabytes), so you have to be very careful not to fill it up.
BlazeAxtrius wrote:
Second when I tried to see a HTML website because HTML works, it showed that the certificate is not setup properly and in order to see the website I had to exclude the certificate, so how do I write the certificate correctly?
It's not about "writing" the certicate, it's about installing a certificate that is signed by a certificate authority. You will get cert warning if you use https with a self-signed certificate. The workaround is to use http.
There is an old guide on how to do this here: http://readynas.sphardy.com/2010/10/installing-ssl-certificate-on-your_7476.html I believe it still is correct.
- BlazeAxtriusAspirant
The issue is that it does not let me connect at all. I also tried using Putty and can successfully reach the server, but when trying to SSH over port 22 (default as I am aware) it simply does not make any sort of connection and thus get no logon pop-up.
After installing the EnableRootSSH add-on it says it has installed successfully and requires a reboot, which I did, but I have no idea if it should have any configurable options or not, to try to get the connection working.
Thank you for the guide for the certificate.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!