View previous topic :: View next topic |
Author |
Message |
gwabber -
Joined: 24 Aug 2019 Posts: 3 Location: The Netherlands
|
Posted: Sat Aug 24, 2019 6:52 pm Post subject: Can't get PHP to work |
|
|
Hi all,
I just installed the newest version of Abyss webserver X1 on my Debian 9 virtual machine. It works perfectly. However, I can't get PHP to work.
I followed the steps on the website. I installed php this way:
as root, apt-get install php. It automaticaclly installs php 7.3
In the console I set the parameter to /usr/bin/php
When I visit a php page, i get an 500 error.
What is going wrong?
Thanks in advance. |
|
Back to top |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1296
|
Posted: Sun Aug 25, 2019 10:00 am Post subject: Re: Can't get PHP to work |
|
|
gwabber wrote: | In the console I set the parameter to /usr/bin/php |
You should rather use the /usr/bin/php-cgi instead.
If not available, try installing the PHP CGI package available in Debian. _________________ Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com |
|
Back to top |
|
|
gwabber -
Joined: 24 Aug 2019 Posts: 3 Location: The Netherlands
|
Posted: Sun Aug 25, 2019 1:50 pm Post subject: |
|
|
Thanks for your rapid reply! I am going to try that! _________________ Greetings,
Gwabber |
|
Back to top |
|
|
gwabber -
Joined: 24 Aug 2019 Posts: 3 Location: The Netherlands
|
Posted: Mon Aug 26, 2019 6:29 pm Post subject: |
|
|
it worked, thanks! _________________ Greetings,
Gwabber |
|
Back to top |
|
|
admin Site Admin
Joined: 03 Mar 2002 Posts: 1296
|
|
Back to top |
|
|
|