0

I am trying to set up a "tor-service" website, But my virtual machine wont let me open up PHP files in firefox they are just trying to download,

PHP Tries to download when i am running firefox with this server command

python3 -m http.server --bind 127.0.0.1 8000

I believe PHP is installed on the server,

Weird thing is i can open the PHP file if that command is not entered and i just run

 php -S localhost:8000 

And then go to firefox,

Is there anyway of me incorporating the php s line into mine first line ?

I have tried

python3 -m http.server --bind 127.0.0.1 8000 php -S 

But no luck as of yet.

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.