WD Community

Connect php to pr2100

Hi, I would like to build an interface on my side for client to upload data to the server.

How would I connect my php to server?

Maybe you should try contacting WD’s Technical Support about this.

To Contact WD for Technical Support
http://support.wdc.com/support/case.aspx?lang=en

You can add a website easily by putting it in the /var/www folder.
Have a look at the applications in /shares/Volume_1/Nas_Prog
In the application init.sh files, they create symlinks in /var/www and apache does the rest.
Make sure to remove the symlinks on system shutdown (see clean.sh).

If the builtin php is too old for your project, you can install entware with a more recent version of php and lighttp webserver.
With this setup, you can even run OwnCloud / NextCloud if you want. I got the latest OwnCloud version running here (v10.0.2).

Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.