Can't get PHP to work

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
gwabber
-


Joined: 24 Aug 2019
Posts: 3
Location: The Netherlands

PostPosted: Sat Aug 24, 2019 6:52 pm    Post subject: Can't get PHP to work Reply with quote

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 View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 970

PostPosted: Sun Aug 25, 2019 10:00 am    Post subject: Re: Can't get PHP to work Reply with quote

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 View user's profile Send private message
gwabber
-


Joined: 24 Aug 2019
Posts: 3
Location: The Netherlands

PostPosted: Sun Aug 25, 2019 1:50 pm    Post subject: Reply with quote

Thanks for your rapid reply! I am going to try that!
_________________
Greetings,
Gwabber
Back to top View user's profile Send private message
gwabber
-


Joined: 24 Aug 2019
Posts: 3
Location: The Netherlands

PostPosted: Mon Aug 26, 2019 6:29 pm    Post subject: Reply with quote

it worked, thanks!
_________________
Greetings,
Gwabber
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 970

PostPosted: Wed Aug 28, 2019 9:42 am    Post subject: Reply with quote

gwabber wrote:
it worked, thanks!


You're welcome.
_________________
Follow @abyssws on Twitter
Subscribe to our newsletter
_________________
Forum Administrator
Aprelium - https://aprelium.com
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group