Skip to content

Tag: apache

.htaccess file is not working in my Server

My site is located in https://itjmovies.com/milan/public/ and I want to rewrite the URL by .htaccess file. From https://itjmovies.com/milan/public/ To https://itjmovies.com/milan/ but it is not working. And also https://itjmovies.com/milan/public/auth/index.php?page=new To https://itjmovies.com/milan/public/a…

Problem with ‘apache_getenv’ since upgrading to PHP 8

I’m hoping to get some help with an Apache/PHP 8 issue I’m encountering. Since upgrading to PHP 8 on my LAMP server, my logs have been outputting the following error: I’ve done a quick debug with var_dump(is_callable(‘apache_getenv’)) and the value returns as bool(false). I’ve attempte…

Get Ip From Client Apache and Php

Want to ask, but maybe this question is a duplicate. I’m sorry that all the answers to the other questions didn’t work in my case. Question I have a server with apache as webserver running php+7.4 with default settings and certbot as SSL with public IP 192.168.1.11, I want to retrieve the IP of th…