The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
45 views

Issues with apt-get update command

When I try to run the command sudo apt-get update I get the following: Ign http://security.debian.org jessie/updates InRelease Ign http://security.debian.org jessie/updates Release.gpg ...
0
votes
1answer
13 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 ...
1
vote
1answer
445 views

How to Upgrade PHP from 5.4.16 to >= PHP 5.6.5 / PHP 7 on Centos 7?

I am using centos 7 and it came with php 5.4.16. Now i have to install moodle moodle 3.2 which requires at least PHP 5.6.5. I tried installing php from remi and IUS repositories but no luck. All i ...
0
votes
0answers
25 views

Apache not recognizing PHP library

My localhost can't compile PHP pages. I've reinstalled php via the following, with no success: brew reinstall php56-amqp php56-apcu php56-http php56-igbinary php56-imagick php56-mcrypt php56-...
1
vote
4answers
53 views

Unix system(“unzip archive.zip”) Extracting Zip Files Silently

How do I silently extract files, without displaying status. Asked this question before, hoping to get a better answer here.
0
votes
1answer
27 views

high load average on KVM VM web servers

I have a server with KVM libvirt and OVS. Debian 8.6. I am currently running 2 web servers with installed nginx+php5-fpm on VM . HAProxy is used to balance requests and installed on KVM virtual ...
1
vote
0answers
103 views

How to install php-solr extension on Centos 6.6

I'm trying to install and configure the Moodle Global Search through Apache Solr. To install Moodle 3.1, I have to add an additional repository (REMI) to replace php (3 I think) packages by php 5.6 ...
0
votes
2answers
83 views

Upgrading curl but 'openSUSE-12.3-Update-Non-Oss' appears to be outdated

My webserver is running a Magento 1.8.1.0 that uses php-curl under the hood. It runs openSUSE 12.3 and: PHP 5.3.17 Apache 2.2.29 mysql Ver 14.14 Distrib 5.5.33 OpenSSL 1.0.1j The curl version ...
1
vote
1answer
140 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 ...
0
votes
1answer
53 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/...
0
votes
1answer
171 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 ...
0
votes
1answer
95 views

PHP5.5 or PHP5.6 Availability for CentOS 7

Is php5.5 or php5.6 Available for CentOS 7?
1
vote
0answers
101 views

How to make a text file readable for only a local PHP file on server — not to everyone on web?

I have a PHP script that takes some sensitive data, hashes it, and then compares it against hashes in a text file on the server. Both the text file containing hashes and the PHP script are located in ...
1
vote
3answers
990 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....
1
vote
1answer
356 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 ...
-1
votes
1answer
286 views

Updating extensions after PHP upgrade on CentOS 5.6

I'm completely new to pecl, yum, rpm, packages and all the stuff required to get this done, so I'm hoping some of you smarter more experienced people can help me out. I only have a vague notion of ...
0
votes
0answers
511 views

How to install laravel on xampp?

I'm using the latest version of manjaro 64 bit and latest version of xampp. I want to install composer and laravel; I tried many solutions on stackoverflow and askubuntu. Every time I see a different ...
2
votes
0answers
84 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/...
1
vote
1answer
1k 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 ...
1
vote
1answer
83 views

Verify how command was executed

I run few PHP webpages with NGINX and PHP-FPM. Recently I hosted site for friend who had security issues with WordPress, did all upgrades, WP and Plugins. But somehow I found out today that user ...
3
votes
1answer
3k views

Getting Minor Version Mismatch Error with Php and Mysql

I randomly started getting this error when trying to instantiate a new mysqli instance in php script: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50541 Library:...
2
votes
1answer
629 views

Replacement for php5-auth-pam to authenticate website login against local users

I am working on a login for a PHP-based website where users should be successfully logged in if they enter a valid username and password for a local account on the system. Looking around, it seems ...
3
votes
1answer
43 views

Possible mcrypt spelling error?

While attempting to start a project with Laravel, the following warning is produced multiple times: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/mcryot.so' - /...
0
votes
1answer
187 views

Centos 7 with facebook php-sdk4 - Network is unreachable

I am not sure why I am getting this error. Sometimes, it works and sometimes I get this error in the error log: Exception: Failed to connect to 1a02:1234:f000:4:face:b00c:0:1: Network is unreachable ...
2
votes
1answer
1k views

I keep getting error: PHP Startup - libphp5.so missing? PHP seems to run fine with Apache

My linux distro is Arch Linux. I first noticed this error when trying to send emails using the PHP mail() function. Testing with a simple mail-test.php file with the mail() function sends the email ...
0
votes
1answer
263 views

php showing just plain text [closed]

I have installed php5 but when I tried for <html> <head> <title>PHP Test</title> </head> <body> <?php echo "Hello World"; ?> </body> &...
1
vote
3answers
4k views

Can't finish php5-cli update

I get the following error after doing sudo apt-get upgrade: Setting up php5-cli (5.5.9+dfsg-1ubuntu4.6) ... ucfr: Attempt from package php5-cli to take /etc/php5/cli/php.ini away from package php5-...
0
votes
2answers
384 views

Is there any way to install MySQL 5.1 and PHP 5.3 on Centos 7

Is there any way to install MySQL 5.1 and PHP 5.3 on Centos 7. I researched a lot but could not find any link which gives step by step procedure. Can someone please give me steps to be followed to ...
0
votes
1answer
67 views

php connect to mysql

I am using Trisquel 7.0 LTS and installed php5 and php5-mysql. All php scripts working properly.(I used to write my-learning scripts in /var/www/html/xyz.php and all is working by http://localhost/xyz....
0
votes
0answers
439 views

Where is php config and .htaccess located on Raspbian?

I am trying to change the upload limit of my owncloud installation. A raspberry pi and the Raspbian OS are powering this server. Apparently I can edit the php config or the .htaccess config but I am ...
2
votes
1answer
8k views

php5.6.2 installation with httpd24 ( apache version 2.4.10 ) on centos/rhel

using this repo : http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm for php installation , and for apache i am using amazon linux repo current ...
0
votes
1answer
3k views

how to enable mcrypt in php5.5 with rhel6.5

i am using rhel6 OS with php5 But i am unable to add mcrypt extension for php5. Lots of Google but doesn't find any solution. [root@lav6 modules]# locate mcrypt.so /usr/lib64/libmcrypt.so /usr/lib64/...