I have a website where users can upload images to my hosting Apache/PHP server. If files uploading lasts less than 20 sec everything is fine. But if it lasts more (no matter what image filesize is), …
Tag: apache
Running virtual hosts in apache docker container
I have two php applications in the same apache container and I’m trying to run one of them on a port since it needs to be accessible via a root domain and not a subfolder. I want to run the …
Apache / PHP error_log location in Docker
My PHP script has an error. For example, this shows this on the screen: Warning: require(/var/www/foo.php): failed to open stream: Where can I find this in the logs? I tried docker logs containerName, but it only shows access logs. E.g., 192.168.2.1 – – [17/Mar/2019:10:00:00 +0000] “GET / HTTP/1.1” 200 505 “-” “Mozilla/5.0 (Windows NT 6.1; Win64; x64)… It doesn’t show
Can’t reach Moodle (a system written in PHP) from other devices
First time to install Moodle and am installing it locally on Windows 10 using WAMP. My knowledge in Apache and servers in general is very limited. Installation completed successfully and every thing is working fine on my localhost but when i try to access it from other devices (i.e another laptop using chrome) i will be redirected to “http://localhost/moodle” and
C:/Apache24/conf/httpd.conf: Cannot load c:/php7/php7apache2.dll into server: The specified module could not be found
I am new apache and php. I installed Apache server in C drive, C:Apache24. then I installed the services in CMD using this command httpd -k install. then I go to Windows Service. I can start and stop Apache2.4, it is working fine. I want to run php project. Now I installed php in C:php7. PHP version: Then I open
Impossible to load pdo driver on Windows Server 2016
Im trying to load the pdo driver for firebird database on a windows server 2016 (64 bits). Configuration is the next : Firebird in 32 bits successfully installed. Apache 2.4 successfully installed (Apachelounge binary, 32 bits). Apache configuration properly set (installed in C:/Apache24) PHP 32 bits successfully installed (in C:/PHP) as a module with mod_php (apache handler 2.0). As a
Fatal error: Call to undefined function mssql_connect() in C:AppServApache24htdocsC_DBHandler.inc using apache 2.4 and php5.6
i upgradefrom php version 2.2 to 2.4 and php 5.6 too. The problem is with the new php the function does not support mssql_connect so i installed the new driver for sqlsvr and when i made the Database connection it work fine. I need some help. How can I change this code from mssql to sqlsvr thanks you and i
Difficulty setting Virtual Host on Port 8080
I am using XAMPP and running PORT:8080. I am trying to set up a virtual host and have tried every thing on the internet to set it up but still finding it difficult. It shows this ERROR on chrome …
Composer Install – requires ext-mbstring
I am trying to do a composer install …, but getting an error of requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. I am using Apache (Cpanel) and PHP 5.6. Below are the ways I am trying to fix the error. 1: yum search mbstring 2: yum install ea-php56-php-mbstring.x86_64 It seems mbstring is installed
Apache virtual host always redirecting to /dashboard
I’m having what appears to be a common problem but any solutions I’ve found don’t seem to work for my case. I’m trying to set up a virtual host so that I can access the public file of my Laravel …