PHP is a server-side scripting language, used for building browser-based applications. This includes websites as well as programs that don't really need any form of interaction with the user.

learn more… | top users | synonyms (2)

3
votes
0answers
122 views

“-/+ buffers/cache memory” is zero

i have an OpenVZ VPS with ubuntu server 14.04.2 and i can access to a SolusVM control panel. Recently, "memory usage" is always 0 KB, and only "vswap usage" shows real swap usage. if i run free -k i ...
3
votes
0answers
273 views

Cannot load /usr/lib/apache2/modules/mod_mpm_itk.so

I ran tasksel to install lamp server, but I accidentally delete everything, when I got everything work as before I noticed that apache is not working and here is there message I get while trying to ...
2
votes
0answers
62 views

Error after attempting to update php lampp and reinstall lampp

I tear my hair, it's been almost one day I try to reinstall lampp but it doesn't work. It's been almost one day I try to reinstall lampp on my ubuntu 14.04 LTS in vain. I installed first lamp with ...
2
votes
0answers
202 views

Cannot get PHPSHIELD installed

I have a x64 virtual machine running the latest Plesk on PHP Version 5.6.15. I'm trying to install Phpmotion and it is giving me this message: I tried the following step, after various other tries:...
2
votes
0answers
196 views

Is it possible to use APCu with XAMPP on Ubuntu?

I've spent two days trying to install it with my php5.5.15 on Ubuntu 12.04.4 LTS. Just curious if anyone out there ever got it to work. If so, please help.
2
votes
0answers
446 views

Why does libapache2-mod-php5 get removed whenever I upgrade apache2?

I hope someone can help me figure out what is going on with my apache upgrades. For years, whenever I upgrade apache2, it tries to install apache2-mpm-itk even though I use the prefork module apache2-...
2
votes
0answers
306 views

PHP5 shared (apache2 & cli) configuration

I need to set the date.timezone setting in my PHP5 configuration. Obviously I could simply edit the php.ini files (both /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini), but that doesn't feel like ...
2
votes
0answers
358 views

php application asking intl but already installed

My (Symfony) application currently crashs telling ("The Symfony\Component\Intl\Collator\Collator::__construct() method's argument $locale value 'fr' behavior is not implemented. Only the locale "...
2
votes
0answers
371 views

Why is apache still logging my PHP Notices?

I have edited /etc/php5/acpache2/php.ini and set error_reporting = E_ALL & ~E_NOTICE then restarted apache, yet my /var/log/apache2/error.log is still filling up with PHP Notice: Undefined index: ...
2
votes
0answers
180 views

How to disable mpm-itk for a specific virtualhost?

I've a main site on a server that needs to run a sudo command which I white listed via visudo. That worked fine until I installed apache-mpm-itk and then I started getting the following error: sudo: ...
2
votes
0answers
172 views

Coordino permission issues?

I have downloaded the Coordino and wanted to run it on Ubuntu, tried to run it but its giving the following errors Warning: require(app/webroot/index.php): failed to open stream: Permission denied in ...
2
votes
0answers
541 views

Trouble with local server, URL not found errors with some, but not all local sites

I am setting up my Ubuntu laptop for my new job and I am having a strange issue. They have a crazy environment setup that I got working on my local Ubuntu 12.10 machine with Apache and PHP 5.3 (had to ...
1
vote
0answers
52 views

PHP not working after updating from 5 to 7

I updated PHP 5 to PHP 7, but I noticed the old version was still configured in my Apache server, so I uninstalled it. Then everything got messy and being all this confusing as this is unless you're ...
1
vote
0answers
36 views

libapache2-mod-ruid2 broken in combination with http2

I am having the same issue in ubuntu 16.04. When i enable libapache2-mod-ruid2 i get the following error in my apache error log: [Tue May 31 10:53:07.681923 2016] [core:notice] [pid 7534] AH00051: ...
1
vote
0answers
219 views

Apache2 and Mysql gone wrong after upgrade to 16.04

After I installed Ubuntu 16.04 I was not able anymore to access to my Mysql server from h-ttp://localhost/phpmyadmin. I tryed to uninstall and install mysql but unsuccessfully. I discovered that the ...
1
vote
0answers
97 views

Permissions to write files in the apache folder /var/www/html from PHP

I have apache running on Ubuntu and I'm trying to write (copy an image) in the following folder: /var/www/html/images I'm trying to write it from HTML/PHP <?php $uploaddir = '/var/www/html/...
1
vote
0answers
109 views

PHP7 on ubuntu 12.04

I would like to upgrade our production php version to new php7. Unfortunately we are currently running on ubuntu 12.04. I have already tried to install php7 on corresponding virtual machine using ppa:...
1
vote
0answers
172 views

PHP not loading ssh2 extension after successful installation

I was getting this error, when running my PHP script to download files using SFTP: PHP Fatal error: Call to undefined function ssh2_connect() I installed the ssh2 PECL extension by running the ...
1
vote
0answers
70 views

PHP - Update Apache Version Ubuntu

Recently after vulnerability assessment and penetration testing we are asked to upgrade our apache ubuntu version. Below is the screenshot attached. The solution they proposed is Update version of ...
1
vote
0answers
425 views

Error with PECL command in PHP7

I've upgraded php to version 7 and now I have problems with pecl command. When I run sudo pecl install mongo I get long list of errors: Warning: Invalid argument supplied for foreach() in Command.php ...
1
vote
0answers
162 views

Not able to configure Fast CGI with Apache 2.4

I am trying to configure fastcgi(fcgi) on my local server . Followed the following steps apt-get remove libapache2-mod-php5 apt-get install libapache2-mod-fcgid apt-get install php5-cgi a2dismod ...
1
vote
0answers
290 views

unmet dependencies while trying to install phpmyadmin on LAMP stack

I am trying to install phpmyadmin along with LAMP stack but when I write to the terminal sudo apt-get install phpmyadmin I get this errors : Some packages could not be installed. This may mean that ...
1
vote
0answers
155 views

Restore original permissions to the var folder?

I use Ubuntu desktop 15.10 and very new to Linux. Today afternoon I've mistakenly played with the permissions of the var folder which everyone here knows very well. I changed it several times to 777 ...
1
vote
0answers
700 views

Adding the PHP json extention

I have Ubuntu 15.10 installed. I have also installed LAMP (https://help.ubuntu.com/community/ApacheMySQLPHP). I then proceeded to set up Moodle via the web page installation. I hit a road block when I ...
1
vote
0answers
136 views

How to create an App Indicator icon in Ubuntu 14+ without using libappindicator?

I'm trying my hand at writing simple desktop utility apps in PHP and wxWidgets using wxPHP. After some substantial effort (and 20+ minutes of compilation time) to generate the PHP wxwidgets.so module, ...
1
vote
0answers
59 views

Phalcon install give error on ubuntu

I'm trying to install phalcon in my ubuntu 14.04 by using below commands git clone https://github.com/phalcon/cphalcon.git cd cphalcon/build sudo ./install and it give a error like ...
1
vote
0answers
43 views

php script longer on faster machine!

The problem is that webpage with many calculations on Ubuntu system (apache2 + php + mysql) loads considerably longer on faster pc. I have laptop with details: Ubuntu 15.04 64bit Intel® Core™ i7-...
1
vote
0answers
132 views

Error when building PHP with ZTS enabled

I am trying to build a version of PHP 5 with ZTS support enabled to be able to use the PHP pthreads module. I am trying to build from the sources in the package repo i.e. fetched build dependencies ...
1
vote
0answers
158 views

avconv Creating Corrupt (0 KB) Video Files

EDIT: I have seen this question: avconv creates zero byte file while trying to downsample mp4 video Unfortunately, it's not the same problem. I'm trying to use avconv in conjunction with a website on ...
1
vote
0answers
74 views

Cron job doesn't execute php file and normal file

I have two files, that needs to be executed every evening. PHP file contains the latest records from database, and creates a source file in same directory. And a normal file, even doesnt execute. I ...
1
vote
0answers
436 views

executable running without sudo but not with sudo

I installed xampp in my system and it is installed in the location /opt/lampp. After that i added the php location to path varialbe using export PATH=$PATH:/opt/lampp/bin. So when i run php -v using ...
1
vote
0answers
302 views

How to check if a cron job is running or not through php script?

Back to my question How to check if a cron job is running or not?, the answer there is valid which stated to redirect output to a file and test. 15 * * * * /usr/bin/php /home/rizwan/PHP-workspace/...
1
vote
0answers
364 views

Difference between using mysql in xampp and using mysql seperately

I have used xampp on windows to do some php programming(basic) and now i'm trying to do some python/perl database connectivity programs(again basic) with mysql. The thing is when i used xampp, it ...
1
vote
0answers
11 views

Apatana Studio3 configuration for php

I installed Apatana studio3. When I try to run a php script it asks for a php-interpreter. I am using Apache2. So what is the executable path and .ini file location for this configuration.
1
vote
0answers
433 views

Modifying php.ini - Wont see any changes after edit

I got a server that runs : PHP Version 5.5.9-1 ubuntu 4.9 I wanted to edit the "correct" php.ini file so i can enable some features. First of all i used: root@server ~ # find / -name php.ini /opt/...
1
vote
0answers
228 views

Pear upgrade all is not working in Ubuntu

When I try to upgrade Pear It shows message on terminal as follows Will upgrade channel://pear.php.net/xml_util Will upgrade channel://pear.php.net/pear Will upgrade channel://pear.php.net/...
1
vote
0answers
72 views

php doesn't work on all directories

I installed lamp server and changed it's directory to my Dropbox folder following all the instructions here. The first page I opened was in http://localhost/askRond/Website/ and it opened without any ...
1
vote
0answers
64 views

Screen in crontab

I'm trying to run 9 screens windows by crontab, and then, run some codes (basically the same for all of them), but they don't work. The code runs all of 9 screens, but run code only on the first. Aah, ...
1
vote
0answers
120 views

is package php5-mysql_5.5.9+dfsg-1ubuntu4.7_amd64.deb compatible with mysql 5.6.24?

I have installed php with sudo apt-get install php5 followed by sudo apt-get install php5-mysql but received a warning when trying to use mysqli class: mysqli::mysqli(): Headers and client library ...
1
vote
0answers
172 views

Installing php5-fpm with php version 5.4.x

I'm installing a Lemp stack for the first time, and although I've got everything set up right now, I was hoping to install php 5.4.x to work with my Magento installation. Installing php5-fpm ...
1
vote
0answers
346 views

php5-fpm tuning - why do I have too many sleeping php-fpm processes?

So I recently went from apache2 with mod_php to apache2 with fastcgi and php5-fpm. (still same prefork module). But I am not sure if we have configured php5-fpm properly. We don't run a website but ...
1
vote
0answers
168 views

PHP version update gone wrong

I've followed instructions on updating the PHP version on my server from 5.3 to 5.5 During the installation it threw php5-common dependency errors. I've managed to fix the dependency errors by ...
1
vote
0answers
243 views

$password with ssh chpasswd

I've a problem with "ssh chpasswd" .. I need to implement the "$password" of register.. Eg.. I've this code.. echo $ssh->exec("sudo sh -c 'echo $user:test | chpasswd'"); When the script is ...
1
vote
0answers
438 views

Error compiling PHP extensions - phpize (Ubuntu 14.04 + PHP 5.5)

I'm trying to install the Paradox PHP extension to a Ubuntu Server 14.04. The easy solution may be: pecl install paradox But it fails with this error: Cannot find config.m4. Make sure that you ...
1
vote
0answers
226 views

Server permissionsto allow php script to run but other users cant open

I have an apache server set up, there is a php script for a login page (contains passwords). I want to be able to give the server permissions to run the script but not for users who login through ...
1
vote
0answers
273 views

Update PHP without removing every dependency

I'm having an issue where I just need to do something as simple as upgrade my PHP version from 5.3 to 5.6. The only issue is that Plesk is installed and I don't know how to upgrade it without Plesk ...
1
vote
0answers
14 views

Trying to get into Php and Apache2 and this came up

Okay so while I was installing Apache2 and php all of a sudden I got this `**Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome....
1
vote
0answers
189 views

Resetting a failed Horde installation on 14.04?

I first tried to install Horde Webmail by following the instructions on horde.org (ie PEAR install, like I did on my previous server, 7years ago) but it failed on connecting to mysql. I then noticed ...
1
vote
0answers
411 views

dependency issue while installing phpmyadmin on nginx webserver

I tried to find a solution for this problem for a long time but I cannot find it. Maybe you can help me. I have Ubuntu 14.04 installed on my system and want to use it for web development using nginx. ...
1
vote
0answers
219 views

Enable ZTS Support on Ubuntu 14.04

i've installed everything that regards PHP from the standard repository. I've installed php5-dev package and all other dependencies to run pthreads on my server. I don't understand how to enable the ...