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)

-2
votes
1answer
40 views

how to execute php script in ubuntu 14.04 [closed]

how to execute php script inside html in ubuntu 14.04? <html> <head> <title>Hello World</title> <body> <?php echo "Hello, World!";?> </body> </html>
0
votes
0answers
7 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.
0
votes
1answer
19 views

How to create folder in mysql5.7?

I try to upload video php to mysql. i try to create folder but not success. below step i apply Edited phpmyadmin's config file nano /etc/phpmyadmin/config.inc.php Added the path for both upload and ...
0
votes
2answers
56 views

Setting permission for Xampp installation directory. see details

I know bit about setting permission but i'm little in a mess with it. I'm new to ubuntu so i get little confused and took much time to solve a little problem. I have installed xampp with installer ...
0
votes
0answers
20 views

Serve php RESTful server with apache2 (ubuntu)

I have a ubuntu machine on which I want to run a php rest server. Here is my default config file: ServerName localhost <VirtualHost *:80> DocumentRoot /var/www/html/otherSite ServerName ...
0
votes
0answers
16 views

Webpage download stops at <?php tag

Really strange problem. Website has worked fine under 12.04 (reinstalled server as 15.04 because it was running very slow). As page loads, all html code appears until first <?php and then ...
2
votes
1answer
171 views

Cant Downgrade php5.5 back to php5.3

I have tried to upgrade my apache2.2 to apache2.4 and php5.3 to php5.5 on my Ubuntu 12.04. For php5.5 I have used those commands below (I dont remember which PPA i used for apache upgrade) : ...
0
votes
0answers
18 views

libapache2-mod-php5 : Depends: php5-common [duplicate]

I have tried to upgrade my apache2.2 to apache2.4 and php5.3 to php5.5 on my Ubuntu 12.04. For php5.5 I have used those commands below (I dont remember which PPA i used for apache upgrade) : ...
0
votes
0answers
61 views

How to enable PHP APC in ubuntu 15.04

i am new at ubuntu and i am moving from windows, i am starting to make PHP sites and one of them requires me to enable APC, the site uses a PHP Framework called YII and whenever i visit it throws an ...
0
votes
1answer
136 views

How to downgrade php version in ubuntu 15.04 [duplicate]

I am working on a codeigniter project where the system requires php version < 5.6 that is 5.5, but few days ago I have installed ubuntu 15.04 with having LAMP stack installed using tasksel;the ...
0
votes
0answers
36 views

How to setup phpDocumentor 2 web interface in Ubuntu 14.04?

I have followed all the instructions both from the phpdoc website and from the phpdoc manual website . The commands I entered are: sudo pear channel-discover pear.phpdoc.org sudo pear install ...
0
votes
0answers
22 views

How can I solve problem with Jomla installation on EC-2 server?

My name is Igor, I woold like to install joomla on Amazon EC-2 Ubuntu server free tier, but I could not do this. After a week of probe and tests I deside to write you. This letter I send to Amazon and ...
0
votes
2answers
39 views

How to install SourceGuardian Software

I have this file (SourceGuardian-10-Evaluation-Linux-x86_64-Install) on my system, How do I install it in ubuntu 12.04lts
0
votes
1answer
28 views

how to get emacs24 to highlight PHP

Any emacs veterans able to assist? I can not find the files that the various websites that claim to show you how to obtain or make the settings for emacs24 to highlight PHP. I read contradicting ...
0
votes
1answer
23 views

apache2 RewriteEngine subfolder configuration is off / not wroking as expected / not sure how to fix it

The rewrite engine appears to be "functioning" but not as expected. Here is the dir tree of my public_html folder (serving using apache2 in my userdir) ┌─[admini@linuxbox][~/public_html] │ [13:16:45 ...
0
votes
2answers
32 views

How to allow lamp and apache2 service run parallel?

I have a php project in var/www/html. It runs when I start apache2 service is started. But I cannot access phpmyadmin where I have a database that is being used in my php project. (I had to stop lampp ...
2
votes
1answer
65 views

How to set default folder of php in netbeans?

On running php project in netbeans opens the URL localhost/html/ProjectName/file.php. I should correct this every time by removing html/. Is there any setting to change the default folder to run in ...
0
votes
0answers
8 views

save files in /home/user1/public_html to /home/user2/public_html

I am at a stand still. I am trying to figure out how to allow a php script on /home/user1/public_html/* to save file to /home/user2/public_html/images Everything goes well but the file is never ...
1
vote
0answers
16 views

Gedit PHP syntax highlighting

Does anyone know how to fix this issue? I have PHP inline to HTML. There's an opening quotation and the inline PHP also has a quote, but Gedit thinks it's the closing quote for the HTML. Add this to ...
0
votes
0answers
24 views

php files connected with mysql server not working

I started a php project in netbeans and connected it with a database in localhost/phpmyadmin. But on running it gives this error on browser.. Why does this happen? How to avoid it? Here are the ...
0
votes
1answer
44 views

PHP and ffmpeg on Ubuntu

I have ffmpeg installed on Ubuntu Server and I'm running PHP from another webserver sending commands to the Ubuntu Server. $ff = '/usr/bin/ffmpeg -i '.$file.' -vcodec libx264 -pix_fmt yuv420p ...
1
vote
0answers
52 views

How to run php files in ubuntu?

I installed apache2, php5 and mysql. http://localhost/ url in browser shows it works. I saved a php file in /var/www/ as testphp.php. Code in the file is.. <?php phpinfo(); ?> Now on entering ...
0
votes
1answer
67 views

Clean install of Apache but can't access it via lan client

I've been fighting this issue for a couple days now and am at whits end, so any help would be great. I have several computers in the office. One is now a Ubuntu Server that I'm setting up for a ...
0
votes
1answer
46 views

PHP script execution mode Ubuntu 14.04.2

Using Ubuntu 14.04.2 LTS, apache 5.59 installed. PHP info not working, and I suspect the script interpreter is not set correctly or my file: /etc/apache2/mods-enabled/php5.conf is not set right. I ...
0
votes
1answer
35 views

File Permissions and umask [duplicate]

I am new to linux in general and have figured out the different programs belong to different groups. I can easily solve my own problem by typing sudo all the time. But I'd rather understand the why of ...
0
votes
0answers
28 views

how to run cakephp-3 in ubuntu after cake zip download

I downloaded CakePHP-3 zip file from cake site, and I know not how run cake3. How to run this framework and work with it in UBUNTU! I have a solution from another that install with compressor.!
0
votes
0answers
41 views

How to use SFTP with PHP Storm to access server /var/www folder

I am trying to use PHP Storm with a remote server project, but unfortunately I cannot succeed in configuring SFTP. I have followed these steps SFTP www. But I still get the same error ... Write ...
0
votes
1answer
54 views

Ubuntu 14.10 can't install libplrpc-perl, and php-bcmath

My system is: Distributor ID: Ubuntu Description: Ubuntu 14.10 Release: 14.10 Codename: utopic when I try to apt-get install libplrpc-perl , and php-bcmath it tells me ...
0
votes
1answer
28 views

Unable to acess SQLite database in Ubuntu using PHP under Apache

I am having trouble using SQLite3 with PHP in Ubuntu but it works well with Windows. In Ubuntu I have installed the php-sqlite package and the SQLite database is made using SQLite3.
0
votes
1answer
152 views

install php 5.3 on ubuntu 14.04

I just installed Ubuntu server 14.04, I need to migrate my site from old server Ubuntu 10.04 (which has php 5.3) to the new server, but currently when i install php using `apt-get install php` i ...
1
vote
1answer
91 views

Uninstalling php 5.3 in ubuntu 14.04

I have installed php 5.3 manually by executing commands like make & make install. But I need to upgrade it to v5.5 therefore I deleted all the directories related to php5 using sudo command. But ...
0
votes
1answer
37 views

Apache2 application php session can't be killed

I have php application running on my server, which many users can login, edit and logout using web access (apache2) I am trying to kill (end) all currently opened sessions (to make all users login ...
1
vote
0answers
30 views

Using MSMTP with GoDaddy relay servers. Help?

Okay first of all I have done my homework and research on this. Most of the guides that I have found are for setting up MSMTP with Gmail. First let me tell you what I have done so far. My box is ...
0
votes
0answers
35 views

New Relic and LAMPP PHP

I've been recently trying to install New Relic to work with my lampp (xampp) install of PHP. Whenever I run the installation it tells me that it cannot find the PHP install location. I'm assuming ...
0
votes
1answer
16 views

new virtual server, php and apache

I've just rented a virtual server ubuntu 14.04 with apache2 and php running. I know a lot of the *nix world but this is my first virtual server so I'm a bit newbie with it and with all the ...
0
votes
0answers
58 views

using php5enmod to ensure module is enabled

There seems to be some inconsistencies for ensuring a PHP Module / Extension is enabled. I'm using Ansible to provision my servers and found that there are some PHP Modules that are being verified if ...
0
votes
1answer
27 views

mcrypt installation error mcrypt.ini.dpkg-new no such file or directory

I'm trying to install magento in my ubuntu system. Once I installed the php5-mcrypt plugin successfully. But the Magento installation wizard was still showing the warning message "mcrypt is not ...
0
votes
0answers
33 views

Fresh Ubuntu install with LAMP and Symfony framework

I have wrestled with setting up a couple (around 5) development servers in the last couple of years and would be looking to do another one soon. However, thinking back, each time I have installed ...
0
votes
0answers
29 views

Install PHP 4.4 Ubuntu 14

I install PHP 4.4.9, but PHP code not executed. Help me pls. Thanks! apt-get install flex wget http://uk.php.net/distributions/php-4.4.9.tar.gz tar zxf php-4.4.9.tar.gz cd php-4.4.9/ ./configure ...
1
vote
3answers
72 views

How to run a php file after writing it and saving in vi editor

I have written a PHP code using vi editor and saved it as Test.php. What is the command to run the file in terminal?
0
votes
1answer
91 views

Cannot install OCI8 in ubuntu 12.04 /usr/bin/ld: cannot find -lclntsh

I am installing oracle in ubuntu with the help of this tutorial https://help.ubuntu.com/community/PHPOracle I have already installed php,apache2, build-essential,php5-dev php-pear ...
1
vote
1answer
30 views

PHP CLI version not getting updated

I have updated the PHP Version to 5.6.9-1+deb.sury.org~vivid+2 but on command line when I type php - v, it shows PHP 5.3.29 (cli) (built: Aug 21 2014 14:53:07) Copyright (c) 1997-2014 The PHP Group ...
1
vote
1answer
46 views

Install old versions of Mysql, Apache2, PHP

Is there a way to install old packages of the following versions: apache2: 2.2.12 mysql: 5.1.37 PHP 5.2.10 on Ubuntu 12.04, i386, using apt-get or dpkg?
2
votes
1answer
67 views

Error while installing phpmyadmin package in ubuntu 14.04 [closed]

root@anonymous-20-a213l:~# apt-get -y install phpmyadmin Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may ...
0
votes
0answers
9 views

EC2 istance, which should be the owner of the /var/www/* files?

This is the scenario: I spun up an EC2 instance (with LAMP), configured with sudo apt-get install lamp-server^ Now (logged as ubuntu) I simply put the only website that should be here on this server ...
1
vote
0answers
91 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 ...
0
votes
0answers
32 views

Sendmail xampp linux

I configured the php.ini in my xampp folder to send mails to my own gmail account but the does not work. Can someone help me please?? maybe through teamviewer?? Bu the way I use Linux Ubuntu 15.04
0
votes
0answers
23 views

How to install and use php-virt-control?

I download php-virt-control 0.0.3 from http://www.php-virt-control.org/downloads.html and want to install it on my Ubuntu 12.04. And I use the following instructions to install it: ./configure make ...
0
votes
1answer
41 views

Apache Httpd backed by both Tomcat and PHP

After a bit of googling it turned out that this topic is not well described hence asking about it here. What I have already: well setup & working system where: Apache Tomcat with main ...
0
votes
1answer
25 views

Can not reinstall php5 on lubuntu 14.10

I want to reinstall php5 on ubuntu but can not get it to install successfully. The message I receive after sudo apt-get install php5 is : sudo apt-get install php5 Reading package lists... Done ...