NethServer Version: 7.8.2003
Module: vhost, php
Hi,
Today I dared to transfer my old website from Zentyal to Nethserver. It was based on Drupal. I tried some time before, but due to lack of time, I gave up. Today my trails were harder … but also not successful.
- I set up a vhost called www.mydomain.tld.
- I downloaded and moved Drupal to /var/lib/nethserver/vhost/www
- I set up user/group to apache:apache and rights were 755, recursively, of course
- I called my website but all I got was
503 - Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
OK, back to the roots, I removed the content from www and called the website - fine. I got the “standard default data”
- I added a tiny little “Hello-World” script to index.php in /var/lib/nethserver/vhost/www/
… but all I got was
503 - Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
- I moved index.php to index.html and changed the “Hello World-PHP code” to some simple text.
This time it worked. Other Sites applying php code (such as phpmyadmin, phpmyldap, SoGo, Nextcloud…) work with charm.
Of course I tried 503 Service Unavailable Error but no success
By change: Can somebody help me out to get php code working on www?
TIA
Thorsten