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)

-1
votes
0answers
23 views

Starting a new CodeIgniter project [on hold]

I am trying to start a new project on CI. The default CI page works but when I try to start a new project it shows error stating: An uncaught Exception was encountered Type: RuntimeException Message: ...
0
votes
0answers
16 views

Upgraded PHP from 5.4 to 5.6 but phpinfo still shows 5.4

My Ubuntu 12.04 LTS server was using PHP 5.4. I then upgraded to PHP 5.6 using this How do I upgrade PHP version to the latest stable released version? instruction. No errors shown during installation ...
0
votes
0answers
15 views

index.php not executing as default index

Not long ago, I updated from Ubuntu 15.10 to 16.04. Afterward I needed to resurrect some PHP code quickly ... and discovered Ubuntu 16.04 no longer supports PHP 5 easily. Since my target environment ...
0
votes
2answers
19 views

On localhost the file is downloading properly from ftp but not in Ubuntu server

On localhost I tried to get the ftp file from server and the local file is successfully created. But when I'm trying in Ubuntu server it's displaying there was a problem and file is not downloading ...
5
votes
3answers
300 views

change text-color of my output on command prompt?

Suppose i've a php file and i want to change text-colour of my output for a console based application... <?php $prompt = "What Is Your Name: "; echo $prompt; $answer = "You Entered: " . rtrim( ...
1
vote
1answer
21 views

How can I install php5-mcrypt

When I try to use sudo apt-get install php5-mcrypt to install php5-mcrypt, I receive the following error. I used sudo apt-get install lamp-server^ to install the php5 ahmad@ubuntu:/var/www/html$ sudo ...
0
votes
0answers
27 views

Granting write permission on www-data for /var/www/[username] [duplicate]

I am new to this www-data concept, please do explain in simple words. I have a directory in the path /var/www/orbitcode. I want orbitcode to have www-data write permission. How to do this? I am ...
0
votes
2answers
26 views

What are the actual risks of giving www-data sudo nopasswd access?

I have a server that I just installed apache on. I have a php script on the server that I would like to run a sudo command from. I've been scouring the web on why giving www-data sudo nopasswd access ...
0
votes
1answer
43 views

phpmyadmin shows weird code

after setting up apache and everything working correctly i tried to go to localhost/phpmyadmin and now instead of showing me the login page it's showing me this weird stuff: here is one line of it. it'...
0
votes
1answer
28 views

problem with .htaccess

The content file .htacces: RewriteEnergie on RewriteRule ^(.*)$ index.php?p=$1 The content file 000-default.conf: the error
0
votes
0answers
5 views

How to install php with our desired version [duplicate]

I am using ubuntu 16.06lts. Whenever i try installing php using sudo apt-get install php, php7.0 is getting installed. But i want php5.0 to work. I tried using sudo apt-get install php5.0 and it ...
0
votes
0answers
12 views

PHP 5.6 sending errors through email regarding mysqli

After struggling to set up mysql and mysqli on my Ubuntu (16.04) server (PHP insisted on loading .dlls that did not exist and that were not requested in any of the configuration files), I finally got ...
0
votes
1answer
24 views

Install older version of LAMP in Ubunutu 16.04 LTS

I recently installed Ubuntu 16.04 LTS (I used to have 14.04 LTS and I had to reinstall everything), since I'm still working with PHP 5.6 I must install lamp environment that'll work with that, ...
0
votes
0answers
19 views

youtube-dl-php opensll not found error

I'm writing a php page that converts YouTube videos.I found one github. Github link : https://github.com/norkunas/youtube-dl-php I've completed the installation process but when debug mode is active....
2
votes
1answer
41 views

Apache can't be accessed externally

I have Ubuntu server with pre-installed apache2, mssql, php5. I install vTiger CRM and it's available on my localhost and internal IP. But i can't reach it using my external IP. I checked all setups ...
-2
votes
0answers
20 views

dpkg: error processing package libapache2-mod-php5 [closed]

root@MP100RK6:/home/satishkumargupta# sudo apt-get install php Reading package lists... Done Building dependency tree Reading state information... Done php is already the newest version. 0 ...
0
votes
0answers
37 views

OwnCloud getting 404 after install on fresh Ubuntu 16.04

I am trying to install OwnCloud on a Ubuntu 16.04 server with apache2 and php7.0-fpm. My PHP is setup fine, I have phpMyAdmin running good. When I try to install OwnCloud, I am downloading the zip, ...
0
votes
1answer
13 views

PHP extensions installed through apt are not working

When I try to install PHP curl extension through apt, I get a message saying I already have the newest version installed. However, it doesn't get loaded into PHP. What are possible reasons for this? ...
0
votes
1answer
6 views

php version on server 12.04LTS

Php 5.3 is end of life and not receiving security updates. Can someone confirm that 5.5 or 5.6 will work properly on Ubuntu Server 12.04? Thanks.
0
votes
0answers
23 views

Python and PHP in Apache - 403 Error

I am doing some work on some servers. I added in python into my php, apache2, and mysql server. Now I just get 403 forbidden errors. I am using an online cloud workspace called cloud9. Here is my ...
2
votes
1answer
16 views

disk space issues on Amazon Ubuntu?

I have an Ubuntu 12.04 server running on Amazon, it's a well seasoned instance that's been running for several years. This is not a shared hosting system, the whole thing is ours. We just started ...
0
votes
0answers
23 views

Ubuntu - PHP Multibyte Extension

I have installed the PHP mutlibyte extension for PHP 5.6 on Ubuntu server 14.04 however the application that requires it says it is uninstalled, the application is IPS. Running php -m shows mbstring ...
0
votes
1answer
64 views

How to check and clean Ubuntu 16.04 from multiple Apache, Mysql, php installations?

I've probably messed up around while familiarizing with ubuntu 16.04 and commands with terminal. I did installed Ampps stack that initially worked fine but an issue with my cron configuration made me ...
0
votes
0answers
13 views

setting the proper permissions for a .php plugin to run

I'm trying to install a web based software, basically what I have to do is put the software directory in my website dir, then access www.my-website.com/softwaredir in the browser, which should ...
0
votes
0answers
19 views

How to configure Apache 2 to run PHP 7.0

I've installed both Apache2 and PHP7.0 on my Ubuntu 14.04 and on running localhost I get a Apache welcome page but placing a info.php file inside /var/www/html/ doesn't give me any specific page but ...
-1
votes
0answers
155 views

localhost is currently unable to handle this request (HTTP ERROR 500)

Morning i have problem with php script execution, when i try to execute php script on my localhost installation i receive such error. The local host page is not working localhost is currently unable ...
0
votes
1answer
26 views

nginx 1.9 cannot start other port than 80

I installed phpmyadmin, removed apache2 then configured in /etc/nginx/sites-available/phpmyadmin as below ## # You should look at the following URL's in order to grasp a solid understanding # of ...
2
votes
1answer
48 views

How to manually install PHP and Apache in Ubuntu 14.04 without using apt-get

I'm trying to configure my machine(Ubuntu 14.04) for LAMP but I want to install PHP and Apache HTTP Server the hard way i.e. without using apt-get or any other package manager.(I've chosen the hard ...
0
votes
1answer
34 views

PHP doesn't work on Ubuntu 16.04

I've just got a Ubuntu machine (I'm usually a Debian user). I've installed apache2 and PHP using the below commands and restarted apache2 but when I visit the site the PHP doesn't execute (I just see ...
2
votes
1answer
24 views

How can I view the output of a .sh file placed in rc.local?

I wrote a short script to run lampp's php script. It is residing on rc.local where I first run opt/lampp/lampp and then, run the sh (which is infinite) that is echoing to the output buffer infinitely. ...
0
votes
1answer
46 views

Installing PHPexcel in Ubuntu 14.04

How to install PHPexcell in my ubuntu 14.04?
0
votes
1answer
108 views

depreciation notice error in phpmyadmin with 16.04

I am getting errors when I launch phpmyadmin in 16.04. Here are the errors: Deprecation Notice in ./../php/php-gettext/streams.php#48 Backtrace ./../php/php-gettext/gettext.inc#41: require() ./...
1
vote
1answer
43 views

Help removing all LAMP, website and related configurations on Ubuntu 16.04 LTS

I'm very new to Ubuntu and I set up a website (mybb forum) by creating a user called webmaster then installing LAMP etc and the website folder was var/www/html. Anyways everything worked well until ...
0
votes
0answers
126 views

AH00051: child pid XXXXX exit signal Segmentation fault (11), possible coredump in /etc/apache2

I have upgraded to mysql 5.7 using this MySQL 5.5 Update to MySQL 5.7 Afer that we are receiving 500 on all hosted websites and apache2 error log contains [Thu Jul 07 03:52:24.807409 2016] [core:...
-1
votes
2answers
185 views

Install php extensions in ubuntu 16.04 [closed]

I need install the following extension with php5.6 and ubuntu 16.04, but ubuntu only install extensions for php 7 this extension i cannot install with the issue related Installing PHP 5.6 on Xenial (...
0
votes
1answer
36 views

a2dismod php7.0

I installed PHP 5.6 and 7.0 via ppa:ondrej/php on my Ubuntu 14.04 LTS machine, but I want to have php 5.6 enabled and 7.0 disabled. I tried doing that by typing sudo a2enmod php5.6 and sudo ...
0
votes
0answers
20 views

Why isn't the process running on background?

I am having a problem running a script (.conf file) as a background process. The script I am using which will call my php file looks like this: # Info description "Runs the Chat Web Socket" author ...
0
votes
0answers
17 views

How to install php 3

How to install php 3 ? i know it's old but i want to use Mysql to test some scripts i don't want to get this problem again Deprecated: mysql_connect(): The mysql extension is deprecated and ...
0
votes
1answer
53 views

Phpmyadmin Access denied

When I go on localhost/phpmyadmin it returns me this : Cannot connect: invalid settings. phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should ...
0
votes
1answer
377 views

PHP upgrade from PHP 7.0.4 to PHP 7.0.8 Ubuntu 16.04 LTS

I have to upgrade PHP version PHP 7.0.4 to PHP 7.0.8 in order to install third party software which only supported on PHP version 7.0.6 or later. root@A# php -v PHP 7.0.4-7ubuntu2.1 (cli) ( NTS ) ...
0
votes
1answer
33 views

PHP not executing

I'm running Ubuntu 14.04 with Apache2 and PHP7. For some reason,probably after I updated the PHP version,it is no longer executing. This is the output of php -v: PHP 7.0.8-3+deb.sury.org~trusty+1 (...
0
votes
0answers
23 views

how to completely remove phpmyadmin and reinstall [duplicate]

I have a few problems with phpmyadmin on my Ubuntu, so I would like to uninstall it completely (with all configurations and that stuff) to restart a new full installation from scratch. I tried a lot ...
0
votes
0answers
42 views

How to ssh from XAMPP to local machine

This may be a strange/stupid question but I'm new to this sort of stuff! I was wondering if I can setup a ssh connection using keys between my XAMPP local server and my actual local machine? I need to ...
1
vote
1answer
240 views

Why isn't Composer updated?

I'm using Ubuntu 16.04 LTS amd64. I have installed LAMP (php5.6, apache2, mysql) and Composer. I downloaded my laravel project from github. I would like to update Composer to start the local server ...
1
vote
1answer
26 views

Annoying access problem on /var/log/nginx

On my system (14.04), I'm not using www-data as the owner of nginx and php-fpm, using web instead. (for the curious: 1. because www-data is a ugly name, 2. for not using a user that everyone knows is ...
0
votes
0answers
16 views

HowTo : Set up PhPVirtualBox to manage remote VirtualBox instance

I am struggling to get PhPVirtualBox to manage a remote VirtualBox instance. This is all in a testing environment security is minimal and likely not the problem. IE: my username/password for vbox are ...
0
votes
0answers
13 views

apache2 and libapache-mod-php5 not fully installed?

When my computer is finishing sudo apt-get upgrade, it returns No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered ...
0
votes
0answers
34 views

Install Php 5.5 & PHp 5.6 twice on same ubunutu Machine

i have Ubuntu 14.04 installed on my PC , i have installed lamp on it by default it install latest php version available which is 5.5 , in fact i need to run php 5.4 or 5.6 so i wonder if there's a way ...
-1
votes
0answers
17 views

connect from ubuntu server to pgsql in windows [closed]

I have a website that is on Ubuntu server but my database is in windows and i have config file too. how can I connect these one together? this my config file : * PostgreSQl : pgsql * MySQL : ...
0
votes
0answers
24 views

Unable to use expect_popen() after upgrading from PHP 5.5.9 to 5.6

Some PHP code I wrote requires syntax which is only available from PHP5.6 onwards. I decided to upgrade my Ubuntu 14.04 LTS server to PHP version 5.6, but unfortunately I encountered a problem doing ...