All Questions
Tagged with php web-server
187
questions
-2
votes
1
answer
37
views
Server with scalability for real-time collaboration and editing [closed]
I am here, to ask for absolute input. I have setup a local Apache Server with PHP 7.2 (currently), I am aware newer PHP exists. I know PHP and Python, I also know Node.js (server/back-end).
With Node....
1
vote
1
answer
199
views
Getting requests for suspicious php files
I am getting weird GET requests on my (non php supporting) web server for some curious looking php files. Was just wondering whether these are harmless requests of certain browser tools or attempts ...
0
votes
3
answers
254
views
PHP Maximum execution time exceeded - sign of attack?
We were facing a very high CPU load on our web server today. Our application was freezing and not reaction. We could reduce the load by setting the maximum execution time from 180 to 90 seconds.
...
2
votes
2
answers
2k
views
How to increase PHP file size limits on Nginx?
When I upload the file in phpmyadmin this problem appears 413 Request Entity Too Large
my configure php.ini
post_max_size = 100M
upload_max_filesize = 100M
memory_limit = 256M
I have NGINX server ...
1
vote
1
answer
45
views
PHP processing pages for forms not following line with rest of files
I'm a web developer hobbyist. I'm over 50, never had a true web dev job but like to tinker in my spare time for fun. That said, I have a web site hosted by Bluehost that I wrote with PHP from scratch. ...
0
votes
1
answer
6k
views
PHP and Nginx on docker, curl get Connection refused in php container
I am working in a local environment with docker.
I have an nginx web container and a php container which are in the same network.
I build the php container from my own dockerfile (with phpfpm and ...
-1
votes
1
answer
26
views
How two different applications should get served using one single apache2 virtualhost configuration
Just for assumption here
testsite.com which is my php application and
testsite.com/project is python application
I have following settings in my apache site config file /etc/apache2/sites-available/...
0
votes
1
answer
50
views
Server settings to improved Wordpress backend speed
You know how it is, caching plugins only make the front-end move faster but when you're logged in and browsing the wp-admin section, the Wordpress site grinds to a halt. I'm trying to increase some ...
0
votes
1
answer
523
views
How does a webserver know which files to send in an HTTP/2 request?
As I understand HTTP/2 can send the website assets (images, scripts, css files, etc) over a single connection, as well as push them. I am interested in how this actually happens in practice.
How does ...
1
vote
1
answer
6k
views
Why returns apache a http 500 but does not log any errors?
On a 12 year old (web) server is still 1 old (custom) PHP application hosted. We want to shutdown this server and remove it from the rack. Unfortunately we still need the application, is not actively ...
1
vote
0
answers
200
views
Multiple "Location" sections with different handlers aren't combined anymore in apache2 after upgrade
I have a website with the following configuration:
<VirtualHost *:80>
ServerName example.it
<Location />
SetHandler uwsgi-handler
uWSGISocket /var/sitedir/moin.sock
</...
1
vote
1
answer
300
views
Nginx proxy request to url specified in GET variable
I need Nginx to respond to a request like
https://example.org/proxy/?url=https://othersite.com/path/file.php%%a=test123%%b=321tset
or a similar method, like
https://example.org/proxy/https://...
1
vote
0
answers
94
views
How do I use another version of Php for an app served under a certain path with Apache?
I am on Debian Testing so Php 7.4 seems to be the current one. This is fine with me since most of my Apache served apps are fine however two of them are broken. One is Wallabag and the other one is ...
2
votes
2
answers
4k
views
Ansible - what is the purpose of the key "run_once" in a task file.yml?
In a task file whose role is to install php on a remote server(s)
someone uses this module (after the one dedicated to the installation) to update the fresh install :
command:
php update.php --...
0
votes
1
answer
813
views
nginx mask or convert query string to different url
I want to convert or mask a url with query string to another url.
From:
https://www.example.com/world/web/?q=hello
To:
https://www.example.com/world/web/search/hello
I have tried everything on ...
0
votes
0
answers
276
views
Nginx static website with wordpress blog routing
I have a problem with nginx config and after spending hours of trying different solutions I still can't make it work.
I have a root folder /var/www/x where I have my static website placed, lets say ...
1
vote
0
answers
4k
views
nginx site shows blank page. No errors
Background
I'm trying to get an nginx /php-fpm7 site up and running on an alpine linux server.
Problem
No errors appear when i navigate to it. Cert is good. And the in the /var/log/access.log ...
1
vote
2
answers
85
views
Best practice for alerts if webpage returns white page?
We're trying to setup monitoring (zabbix), for webapps that return white page of death. Apps are PHP based.
From what I know, white screen of death can be caused by number of issues, memory issues, ...
0
votes
2
answers
1k
views
How to terminate backend PHP scripts invoked by Apache webserver?
I'm invoking some PHP backend scripts on Apache webserver that are programmed to run for a few days. The trouble is that I cannot figure out a way to stop these scripts (except restarting the server ...
0
votes
1
answer
567
views
Simplest way to setup a failover web server
So I have a simple web app (LAMP) , minus (MySQL) , that stores user generated data into files (think photos, audio etc). I want to setup a failover webserver what's the easiest way to do this?
...
0
votes
1
answer
75
views
Accidentally gzipped every file in a folder containing website - now ungzipped but site has error 500
I accidentally gzipped every file in a folder that contains a website. The webpage are all .php files and the php pages get some information from a mysql database. I then ungzipped everything. If I go ...
0
votes
0
answers
120
views
Blocking traffic direct to backend server haproxy
I have the following problem. I have set up a reverse proxy using HaProxy. Now there are still users accessing the Backend IP Direct. And thus (unprotected) accessing the infrastructure without the ...
0
votes
1
answer
40
views
My PHP Site code structure is visible to my clients when they request a directory
A folder in My Site
I use apache web server
PHP on the back end
apache is running under the user www-data
Permission for my folders are 755
When users request a php page all is well, but when they ...
0
votes
1
answer
724
views
Running web server along side Grafana with reverse proxy
I followed these steps below to setup Grafana on Ubuntu 18.04 https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-grafana-on-ubuntu-16-04
One of the steps is to setup reverse ...
0
votes
1
answer
2k
views
Nginx proxy_pass to Wordpress site for site.com/blog to blog.site.com
I'm trying to get my Wordpress site to serve from example.com/blog with an Nginx web server proxy_pass to a Wordpress site (apache) hosted on another server at blog.site.com.
With my current Nginx ...
0
votes
3
answers
1k
views
How to setup website across multiple web servers (with load balancer)?
I am trying to use two web servers to run my website (as opposed to the one I use now). I can easily create another LEMP stack on my hosting provider (Digital Ocean) and setup a load balancer to ...
0
votes
1
answer
314
views
is Xampp enough For a School Local Web Server? [duplicate]
So Guys I'm trying to build a website for my school but can be access with no internet cause i will be running it on a virtual host using xampp so if students connect to the router where i run my web ...
0
votes
1
answer
1k
views
WebServer: Postgresql + Iptables -> Allow from localhost
I have a web server with: Debian 9 + Postgres 9.6 + Apache 2.4.25
I've created a bash script with the configuration of the iptables:
!/bin/bash
# IP Server
IP="192.168.0.18"
# Restart default ...
0
votes
1
answer
334
views
Apache And PHP Permissions
I have a server using ubuntu server, with apache2 and php.
I want to setup a directory with a php file, that is visible to the internet,and inside it, a directory that is private, and no one (apache) ...
5
votes
1
answer
9k
views
Nginx + PHP-FPM URI alias and multiple php directories
I am trying to configure Nginx to host multiple PHP based apps in two different directories in the same domain. The outcome I'm trying to get to is:
http://webserver.local/ > app served from /path/...
2
votes
1
answer
299
views
Pretty URL server side configuration?
I have transferred a website to our new VPS. It worked fine on the old server. I think I know what is causing the problem but don't know where to fix it.
I've read a lot of the posts about pretty ...
-2
votes
1
answer
1k
views
Why was apache restart required after updating curl version?
I have a server running PHP using mod_php in Apache. Apache is using the Prefork MPM. I had some SSL errors due to using an old version of CURL.
I ran the command 'sudo yum update curl'.
It ...
-1
votes
3
answers
2k
views
Deny access to apache virtual host to the outside world
My website isn't live yet and I want to be the only one who can access it. Up to this point, I just denied from all and allowed my ip. The problem is I'm not at home right now and I don't have an ...
4
votes
2
answers
6k
views
Apache using wrong version of PHP
I'm trying to downgrade PHP from 5.5 to 5.3 (not by choice).
I thought I uninstalled php 5.5 by typing the following sudo apt-get remove "php*"
I then installed php 5.3 by following these ...
0
votes
1
answer
1k
views
Configuring nginx for a subdirectory without using a symlink
I've been trying to set up phpmyadmin on my nginx server using this outdated tutorial from DigitalOcean. The idea is to have the following configuration:
http(s)://example.com => /usr/share/nginx/...
0
votes
0
answers
40
views
New nginx + phpfpm installation causes PHP files to download
I just finished installing Nginx and PHP-FPM using the steps in guide here. However, the test PHP info page seems to be downloading instead of showing up on the browser.
Here's what the config looks ...
2
votes
0
answers
1k
views
ownCloud fails in reverse proxy config
My setup is that ownCloud runs on an internal server at 192.168.200.1. At 43.23.104.153 there is a public apache with mod_proxy that forwards the requests to the internal server:
ProxyPass /edward ...
0
votes
1
answer
1k
views
SLES12 PHP without buying modules
We need to install a SUSE Enterprise Linux 12 Server with PHP and Apache.
I've read about the "Web and Scripting Module" - but we just need the server for testing purpose of a live server. And I don'...
0
votes
1
answer
2k
views
Webserver running very slow
I am going to attempt to post all relevant information to my problem so I don't get downvoted. Any help/guidance will be much appreciated.
2 days ago, my website: http://ianon.info , http://ianon....
0
votes
2
answers
2k
views
Installing libevent extension for php on Centos
How to install the libevent extension for php on Centos 7?
I spent many many hours trying this, googling many times and really really struggled, so I'm going to document my own answer to this in the ...
1
vote
0
answers
568
views
PHP page refuses to appear despite checking php-fpm, SELinux, and nginx
Problem
I have a small web server that hosts a small PHP page that performs a very small function. I used to host this on another machine. I move the website to a new machine with a different ...
2
votes
2
answers
5k
views
How to check if php built-in server is running
Recent versions of PHP has a built-in webserver (for non-production environments) that can be started with php -S [...].
How can I check if it's already running on the server before attempting to ...
0
votes
1
answer
2k
views
How to configure Nginx to support PHP-FPM on Mac OS X
I am making a website with a contact form, and I want to use PHP. The website is hosted on my simple local server using NGINX. I know NGINX uses FastCGI and PHP-FPM, but being new to this, I'm not ...
4
votes
1
answer
3k
views
Include common configuration in several php5-fpm pools
Shortly: how can I include the same settings across several php-fpm pools without repeating them for each pool?
Details
In php5-fpm there are global directives and per pool directives. In all ...
0
votes
1
answer
89
views
Multiple webservers using PHP files stored on only one server?
Is it possible to have multiple webserver nodes that are balanced by a load balancer use PHP files stored elsewhere on the local network? Right now, I have two nodes and static content (uploads, file ...
0
votes
1
answer
59
views
What should I look for when getting a web host for a Wordpress site and php API's?
I am an iOS developer and I want to expand and get a server (not to buy it, web hosting...i guess). I want a place where to put a site(probably WordPress site&blog), and a place where I can put my ...
0
votes
1
answer
683
views
PHP 502 Server Error: Problems with code or server?
Not sure if this is the right forum, but I'm hoping someone can help me.
We had a web app running on our web server for a while now. Suddenly it stopped working and displays a 502 error - Web server ...
0
votes
0
answers
426
views
WebServer is inaccessible
I have done an install of httpd and php on my new centos server.
yum install httpd php -y
I have done hundreds of webserver installs but for some strange reason I seem to be having troubles.
When ...
2
votes
1
answer
532
views
FastCGI for DocumentRoot only
I'm trying to set up HHVM for one of my websites. It is running on Apache 2.4, Ubuntu 14.04. I apologize for not being the most advanced system administrator, I am more in the software engineering end ...
3
votes
2
answers
3k
views
Deleting phpMyAdmin setup.php
My website log files show many requests looking for:
/phpmyadmin/scripts/setup.php
I have phpmyadmin on my website. Am I supposed to delete that setup.php file or just let them keep on requesting it?...