Running a PHP script on a WD My Cloud NAS

I had a thought earlier that it might be good to be able to create a complete website, HTML, PHP, JavaScript with a MySQL database, on my My Cloud NAS (3TB).
Does anyone know if this can be achieved, and if so, approximately how to create it.

Hello there,

See if the following link helps: