All Questions
302
questions
0
votes
0
answers
60
views
Start a PHP server from terminal for running PHP File on Rasperry Pi
I have PHP and Apache2 installed on my Raspberry Pi, that works. But, I dunno how to run a server and connect to it from it's IP(http://192.168.1.25:22). And when I try another port, it says [Sat Mar ...
0
votes
0
answers
73
views
Can not use fsockopen to access Tor control port
I installed Tor on my linux system and I'm trying to access control port which should be 9051 as set in config /etc/tor/torrc file:
ControlPort 9051
HashedControlPassword 16:[PWD_HASH]
using PHP ...
0
votes
0
answers
62
views
ampps Not Found - 404 The requested URL was not found on this server solution
ampps .404 The requested URL was not found on this server solution
please i was using xampp for my local server , i upgraded to ampps today and all my code is not running in browser again ,and the ...
-2
votes
1
answer
153
views
Unable to access running PHP server on 8080 port of ec2 instance
I deployed a code on an AWS ec2 instance.
I also added security groups to allow public access to the instance
I made sure that the firewall is disabled
The IP tables also seem to be in order
I'm ...
2
votes
1
answer
767
views
How to access a running laravel project inside a docker container?
I have a docker container running on port 80 with PHP, apache, composer, and laravel.
Inside this container, it's running a laravel app on port 8000.
This App is located in /var/www.
I already exposed ...
0
votes
1
answer
955
views
PhpStorm: Port 9,000 specified in settings is busy
I installed PhpStorm (latest version) and XAMPP 8.0.25, furthermore xdebug 3.2.1-8.0 on Windows 10.
When I try to debug, I get
"Port 9,000 specified in settings is busy. Port 55,464 is free and ...
1
vote
1
answer
1k
views
Can I access laravel project running in localhost from other devices on same network?
I have a laravel project running on localhost and want to know if it possible to access it from other devices on the same network with no need to do anything on these devices except entering the url ...
0
votes
1
answer
172
views
Nginx url port appears
I hosted a website using php-fpm and nginx on Termux and everytime I type the url localhost/sth and it redirects to localhost:8443/sth ,I don't want to see the port 8443, how to solve it?
Type url ...
0
votes
0
answers
76
views
proxy.conf.json problem localhost php backend
Im working with Angular frontend and PHP backend.
Angular app running at: 8100
PHP api: localhost:80
This is my proxy.conf.json:
{
"/api/*": {
"target": "http://...
2
votes
3
answers
2k
views
VIteJS Laravel, background-img in .css
I'm struggling to use background-image: url("/assets/back.png"); in laravel with vitejs.
On the web page, the image is going to be searched on port 5173 (the one of vite) and not on port ...
1
vote
1
answer
84
views
What should be my port number if I am using php database locally in my pc and using that api in flutter mobile application using physical mobile
I am currently fetching api from php database(Served locally in my pc) and sending get/post request from flutter mobile application using url = "http://10.0.2.2:8000/api/login" , here I ...
0
votes
2
answers
527
views
Running Laravel on local machine
I am trying to run a laravel project in my local machine. It starts normally on http://127.0.0.1:8000 but when I try to open the url in the browser the port changes to 8001 and the new url is http://...
0
votes
0
answers
33
views
Apppace shutdown unexpectedly, and i tried to change the listen in configs but it still doesnt work and then tried to change the ServicePorts
My xampp had a problem with the appache that shutdown unnexpectedly.
so i first tried to change the listen and everything that was written here:
https://kinsta.com/knowledgebase/xampp-error-apache-...
0
votes
1
answer
754
views
Frontend/Backend Serving on Ubuntu Server 20.04
I am working on my first web-project and therefore use an Ubuntu Server 20.04 with apache2. Now i struggle with the correct frontend/backend-serving of my website. Actually I can not communicate with ...
0
votes
1
answer
221
views
In PHP, how to check if TCP port is available?
how do i check if a tcp port is available in PHP?
(i saw this question asked for a lot of other languages, but didn't find one for PHP)