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)

0
votes
0answers
17 views

Problems with PHP and / or quexf

first of all: I am a newbie. I wanted to set up a localserver with apache on Ubuntu 14.04, which worked quite well so far. --> I received the "It works" page. So I went on with installing stuff for ...
0
votes
0answers
69 views

PHP project showing up in plain text

I've installed apache2, php7, mysql and wordpress and it all works great for wordpress of course. Every time I open localhost on webpage, wordpress is waiting to be managed and it is all great. But ...
0
votes
1answer
75 views

MYSQL and PHPMYADMIN Error

I'm new here and totally new to ubuntu. Though, i have been using 14.01LTS for few weeks, but i wanted to upgrade to 16.04LTS. I started the upgrade, but i had some power issues. After i brought my PC ...
0
votes
0answers
21 views

Cannot install SSH2

I'm noob in ShellCommands and cannot install PHP-SSH2, I'm using apache2 and tried by following this but didn't worked for me, if someone could help me (I'm under Debian 7).
0
votes
0answers
148 views

PHP 7 and apache displays plain text and cannot be restarted

I just switched over to Ubuntu from Windows and am trying to get php 7 and Apache working. I'm running php 7 and apache 2.4.18 PHP 7.0.4-7ubuntu2.1 (cli) ( NTS ) Server version: Apache/2.4.18 (...
0
votes
0answers
103 views

16.04: how to fix broken packages for php?

When I run this command to install php modules sudo apt-get install php-curl php-gd php-mbstring php-mcrypt php-xml php-xmlrpc I get the following output Reading package lists... Done Building ...
0
votes
1answer
84 views

Running out of inodes constantly, sessionclean throwing up errors

I keep running out of inodes (Ubuntu 14.04). In my root mail I get the following message: From root@web.site.com Sun May 29 04:09:01 2016 Return-Path: <root@web.site.com> X-Original-To: root ...
1
vote
0answers
44 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: ...
0
votes
1answer
203 views

Sh: php command not found when trying to execute file from web broeser

I have one file with code shell_exec (php test.php) When I run this file from command prompt, It run successfully and when same file I am trying to run through web browser this will give error as ...
0
votes
0answers
26 views

Adding a new dev-site to Apache 2. What am I missing?

I've got an issue when trying to access the frontend of a site I've added to an Apache server that is already hosting another live site. Here are the steps I took: added a directory /var/www/new-...
0
votes
1answer
42 views

“Access denied for user 'root'@'localhost'” when updating vendors in a symfony app while deploying on a remote server

I am trying to deploy my symfony application on a remote amazon server. While updating the vendors using: composer install --no-dev --optimize-autoloader command this error occurs Access denied for ...
0
votes
0answers
123 views

Installing phpmyadmin on php7 : Ubuntu 14.04

I have LAMP stack on Ubuntu 14.04. I have upgraded from php 5.0 to php 7.0 but i couldn't install phpmyadmin. I went to my public folder which is var/www/domain.com/html and ran that code, git ...
0
votes
0answers
30 views

Send mail with php and postfix - can send mail with php -a from terminal but not from web page

I have designed a simple contact form that sends an email to a gmail account. Currently if I run from a terminal (non-root user): ...$ php -a php > "me@gmail.com","test postfix php","this is a ...
3
votes
2answers
287 views

Are updates to libapache2-mod-php5 update causing apache to crash?

The latest security updates on 5/25/2016 seem to have cause apache-php5 module to fail loading. Anyone else seeing this? Reboot resolves but here is the error detail. Possibly this security update ...
0
votes
1answer
173 views

Unable to locate package php5-mysqlnd-ms

Using Ubuntu Server 16 PHP5.5 FPM PHP Version 5.5.35-7+donate.sury.org~xenial+1 Trying to install Wordpress: Your PHP installation appears to be missing the MySQL extension which is required by ...
0
votes
1answer
582 views

Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_mbstring.dll

When I run the command php -v this error comes up in ubuntu terminall: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_mbstring.dll' - /usr/lib/php/20151012/...
0
votes
1answer
86 views

PHP 5.5 support after July 2016

Will Ubuntu still support PHP 5.5 after it reaches EOL in July 2016? http://php.net/supported-versions.php Will be there any backported security updates for it?
0
votes
1answer
75 views

How do I enable the bcdiv function in PHP 7.0?

The PHP function bcdiv is not available by default. How do I enable that in PHP configuration?
0
votes
1answer
267 views

Ubuntu 14.04: problems upgrading php to 5.6

I've done the following: sudo add-apt-repository ppa:ondrej/php5-5.6 sudo apt-get update sudo apt-get upgrade sudo apt-get install php5 sudo apt-get install libapache2-mod-php5.6 sudo add-apt-...
0
votes
1answer
61 views

How to completely remove phpMyAdmin without knowing its password?

I know there are more questions about this problem "How to remove phpMyAdmin" but they did not work, because I lost my password! I lost my phpMyAdmin and MySQL password and username! I don't remember ...
0
votes
0answers
156 views

Install cakePHP 3.2.8 on xampp (ubuntu 16.04)

I had searched through a lot of sites but i haven't found a method to install the last version of cakePHP (3.2.8) on xampp (7.06), i need help.
0
votes
2answers
111 views

run php file from cron and start browser through exec on ubuntu [duplicate]

I am trying to start FireFox from php script using exec("firefox"). This works fine if i run php file from the terminal but does not work when run by the cron. User for cron & terminal is root. ...
0
votes
0answers
31 views

User cannot edit files in a directory even though the user belongs to a group with write permissions?

I have an Apache2 installation. I have a folder on my desktop that I would like to use as the root directory rather than the default location. I have confirmed that Apache is using the www-data user ...
0
votes
0answers
32 views

After Updating to 16.04, Local Web Sites Crashed

I can't tell if it's PHP or Apache2 (or both) but after upgrading to Ubuntu 16.04 last night, none of my local development sites will load. That is, they load but give only gibberish on the screen, ...
0
votes
1answer
86 views

installing php-gettext using --with-gettext

At the moment I'm figuring out how to install php gettext on Ubuntu 14.04, the documentation tells me I should use --with-gettext http://php.net/manual/en/gettext.installation.php#119139 and I ...
0
votes
0answers
24 views

I am facing Fatal Error while sending bulk email ids at a time

I am facing fatal error and also i give the information in given below. Can you please check it once. Please help me how to solve this issue. Thank you in advance. Redirect could not be issued due ...
1
vote
1answer
66 views

PHP is not working on ubuntu 14

I am trying to install php on my ubuntu machine. 1st I install apache2 on machine.... after that I install php7 sudo apt-get -y update sudo add-apt-repository ppa:ondrej/php sudo apt-get -y update ...
0
votes
0answers
94 views

Resource interpreted as Stylesheet but transferred with MIME type text/html

I have a problem with my apache2. When I run my project, my browser doesn't display css files, images and other. I tryed to add AddType text/css .css to .htaccess file, but it didn't give me positive ...
0
votes
1answer
147 views

PHP-GD ownCloud issue

I'm trying to set up my ownCloud for my school but there is just 1 problem PHP module GD not installed. Please ask your server administrator to install the module. PHP modules have been ...
2
votes
2answers
3k views

I'm unable to install PHP5 in Ubuntu 16.04 [duplicate]

root@areeb-Inspiron-3420:/var/www/html# apt install php5 Reading package lists... Done Building dependency tree Reading state information... Done Package php5 is not available, but is referred ...
2
votes
1answer
73 views

Apache works with php7, but crashes with php5

I have upgraded to Ubuntu 16.04 recently, and everythings works perfectly but I need php5, which is not in the official repositories. So I have tried with phpbrew: it didn't work (it was unable to ...
0
votes
0answers
26 views

How to restart nginx server using PHP? [duplicate]

I have a problem, i make a site to control our server, but i cannot restart nginx server, this my code $queryRestart = "sudo /etc/init.d/nginx restart";<br> $restart = exec($queryRestart);
0
votes
0answers
75 views

PHP 7 core dumping on cli when using stomp

I'm running ubuntu 16.04 and trying to connect to activemq via PHP with stomp. I've installed the php7.0-cli and php-stomp packages. While I have activemq 5-13.3 running on one terminal, I've tried ...
0
votes
1answer
509 views

14.04 Cleanly upgrade to ppa:ondrej/php from ppa:ondrej/php5-5.6

I went through my usual server package upgrades today and discovered that ppa:ondrej/php5-5.6 has been depreciated and we must now upgrade to ppa:ondrej/php. The basic provided instructions are to ...
0
votes
1answer
2k views

PHP mysqli extension in Ubuntu 16.04 not working after upgrade to version 7.0.6

After update this morning php does not work any more. Error: AH01071: Got error 'PHP message: PHP Fatal error: Call to undefined function mysqli_connect() in /var/www/html/public_html/.../...
0
votes
1answer
473 views

PHP Package installation error

When I install PHP this error occurs: Package 'php5-gd' has no installation candidate Additional output: Reading package lists... Done Building dependency tree Reading state information....
-1
votes
1answer
457 views

How to install LAMP server in Ubuntu 16.04 and add www document root to user's home? [duplicate]

How to install LAMP server in Ubuntu 16.04 and add www document root to user's home
0
votes
1answer
69 views

PHP not running on Apache ARM

I have installed ubuntu on a Beaglebone black. apache2 -v Server version: Apache/2.4.18 (Ubuntu) Server built: 2016-04-15T18:00:57 php -v PHP 7.0.4-7ubuntu2 (cli) ( NTS ) Copyright (c)...
1
vote
1answer
7k views

mbstring is missing for phpmyadmin in ubuntu 16.04

When I installed phpmyadmin in Ubuntu 16.04 LTS, it gives me an error mentioned below. The mbstring extension is missing. Please check your PHP configuration then I tried to install php-mbstring, ...
0
votes
1answer
100 views

Netbeans project doesn't run on localhost

I set up my ubuntu enviroment correctly, installed apache2 which is running, localhost from firefox gives Apache2 Ubuntu Default Page but whenever i try to access my website i created using netbeans I ...
1
vote
1answer
41 views

access my PHP application from antoher computer in the network

I use my Apache server for PHP development on my computer, but I would like to access stuff I have made outside of my computer. I usually run it of 192.168.0.55/ and the default apache page shows up. ...
0
votes
1answer
89 views

php file not running in apache 2

I am trying to run php with netbeans, when i try to run it, the echo in php is not comming in the browser, but the html file is working My code <html> <head> <meta charset="UTF-8"&...
0
votes
3answers
173 views

Magento PHP cron job fail to open required php files

We are trying to set up cron job for Magento site. We tried this Job, but it didn't work for us: */5 * * * * php -f /var/www/html/sitename/cron.php To debug we tried this Job: */5 * * * * /usr/...
0
votes
2answers
22 views

php5-common package unmet dependency

I went to update the distribution of Ubuntu so I ran Terminal, entering apt-get dist-update and got this error: php5-mysql depends on php5-common (= 5.6.21+dfsg-1+donate.sury.org~precise+1); ...
1
vote
1answer
276 views

PHP 7 version is not working in Ubuntu 12.04 [duplicate]

I have recently updated by php. My php -v command show following result: PHP 7.0.6-6+donate.sury.org~precise+1 (cli) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) ...
0
votes
1answer
82 views

How do I setup multiple memcached instances running on different ports?

I am running Ubuntu 15.10 and already have memcached installed on my system. My current project requirement is to run two instances of memcached on the same server but with different ports. I start ...
0
votes
0answers
8 views

Simple softlink to apache root

I have noticed that when I open a file via a desktop shortcut, the path that gets used by the application (sublime3) is the one via the desktop rather than the actual location of the file. This is ...
0
votes
1answer
113 views

how to configure wordpress to run with PHP 7

I have a dev wordpress instance and want to test compatibility of WP and plugins with php 7. I installed php 7 using ppa:ondrej/php. Now I have two PHP installations and Wordpress is still using php 5....
0
votes
0answers
22 views

Apache2 URL not found mystery

I've been running a LAMP stack on a 15.04 dev machine for about a year without a problem. I have some sites running on localhost and others resolving from virtual hosts. No problems at all. ...
2
votes
0answers
63 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 ...