Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
577 views

Need to enable gd for an older version of PHP

The PHP version is 5.6, so quite old. Using apt-get install php5-gd won't work any more. I can locate these gd.so: /usr/lib/php/20151012/gd.so /usr/lib/x86_64-linux-gnu/libgd.so.3 -- links to 3.0.0 ...
Yimin Rong's user avatar
0 votes
1 answer
1k views

Is there a distro specific to the LAMP stack?

I tried real hard to get LAMP stack working on my pop_os home pc, but could not get it working. Is there a distro in existence with the LAMP stack preinstalled which I can just add WordPress on top of....
Neil Meyer's user avatar
0 votes
1 answer
1k views

can't write file on php

I am trying to create a file in the /tmp directory and unable to. It won't even let me create a file in the same dir I am in (/var/www/html). I believe I dont have the correct setting on my php.ini, ...
user2236794's user avatar
0 votes
0 answers
303 views

Debian Stretch + Apache 2.4 + PHP 5.6 + PHP 7.0 and virtual hosts

I have a little Debian 9 server with Apache 2.4 installed. I need it to serve my home with a Nextcloud service, which requires PHP7.0. Then I also need to get it to serve a rather old service (http://...
MiniTux's user avatar
  • 81
0 votes
1 answer
624 views

I've been seeing a lot of this in my Apache access log

14.210.192.182 - - [01/May/2019:04:43:14 -0500] "GET /user.php?act=login HTTP/1.1" 302 233 "554fcae493e564ee0dc75bdf2ebf94caads|a:2:{s:3:\"num\";s:288:\"*/ union select 1,0x272f2a,3,4,5,6,7,8,...
bSulz's user avatar
  • 11
0 votes
2 answers
671 views

Apache won't start

I'm using CentOS 7 and I migrated website from php4 to php5 and I have in configuration file of Apache this between virtualhost: Options Indexes FollowSymLinks MultiViews AllowOverride all Order ...
Martin Smola's user avatar
2 votes
1 answer
638 views

apt-get remove php5 without installing apache2

How can I uninstall/purge php5 without reinstalling apache2? I have removed apache2 and now I want to remove php5, but the system wants me to reinstall apache2 to uninstall php5. Why? # aptitude why ...
clarkk's user avatar
  • 1,947
0 votes
1 answer
113 views

Passwords in a LAMP installation on Debian

In a locally installed a LAMP stack, where are the passwords stored? If there is more than one, I only have the MySQL password from the previous installation, but the new one uses the same. Don't PHP5 ...
Quora Feans's user avatar
  • 3,907
1 vote
1 answer
3k views

Apache2 Failed to start after installing php5 alonside php7 on Ubuntu 16.04

I am running Apache2 with php7 on Ubuntu 16.04. But alongside this, I had installed php5. After installation of php5 I executed sudo a2enmod php5.6 Then I restarted apache2 with sudo service apache2 ...
Łukasz D. Tulikowski's user avatar
1 vote
1 answer
1k views

If I put a path after `.php`, the script is not found

On my Debian "testing" system after installing Moodle the request to http://localhost/moodle/theme/image.php/clean/core/1473903261/req returns Not Found The requested URL /moodle/theme/image.php/...
porton's user avatar
  • 2,236
0 votes
1 answer
1k views

Compiling PHP with apache mod_php on Linux

I need to compile PHP with apache module on Kubuntu. I have installed both apache2 and apache2-dev. But I am unable to locate apxs2 nor apxs. $ uname -a Linux hppavilion 4.4.0-21-generic #37-Ubuntu ...
Mugoma J. Okomba's user avatar
0 votes
3 answers
9k views

Apache shows Blank page for PHP

I've installed a fresh version of Centos 7, I'm new to Linux. I installed Apache using yum -y install httpd and I can open the test page and everything is ok with it. after that I installed PHP(5.4....
Ali SH's user avatar
  • 15
1 vote
1 answer
751 views

mongo.so working fine with php apache ini but not with php cli

I added the mongo.so extension to /etc/php5/apache2/php.ini and it is loading perfectly in php info. But it does not work with /etc/php5/cli/php.ini. When I try to run composer for adding mongodb ...
Dinesh Singh's user avatar
2 votes
0 answers
557 views

Fatal error: Call to undefined function gzopen() in /etc/apache2/htdocs/sites/all/modules/smart_ip/includes/smart_ip.utility.inc on line 454

I'm using centos 6.7, http 2.4.17, mysql 5.1, php 5.5.30. web page is working fine but at bottom it is giving below error. Fatal error: Call to undefined function gzopen() in /etc/apache2/htdocs/...
SunLynx's user avatar
  • 101
1 vote
1 answer
8k views

Restart Apache after PHP update?

One of our Amazon Linux servers has php56 installed, which is not the default PHP installation. Quite often I see updates for this package, while on other server PHP is not updated. Do I need to ...
SPRBRN's user avatar
  • 1,125

15 30 50 per page