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
2answers
176 views

Installing php5-fpm but missing www.conf

I am installing php5-fpm on my ubuntu system but could not able to find www.conf file under pool.d directory. In my /etc/php5/fpm folder, there are only 2 directories - conf.d and pool.d Command ...
3
votes
3answers
7k views

Downgrade PHP Version from 5.5 to 5.4 on Ubuntu 14.04

First time I've ever needed to ask a question here that I don't think has already been answered. I've recently been working on transferring over a vBulletin site I run to a new server. Thinking that ...
0
votes
1answer
50 views

PHPmyAdmin with MySQL on the other host

How can I install PHPmyAdmin with MySQL on the other node? I actually have OpenStack cloud deployed and want to have installed Apache and PHP on one node and MySQL on the other node. Now I want to ...
0
votes
2answers
94 views

upload PHP script to var.www

I created a PHP file and would like to upload it to var/www folder to Apache2. I use Eclipse and Bluefish for uploading files. It looks like the program does not have root rights. I would like to ...
1
vote
1answer
781 views

Error installing OCI8 on Ubuntu 14.04

I've just upgraded my VM to Ubuntu 14.04, and my OCI8 PHP driver has stopped working. I've tried to install/upgrade it, but it doesn't work. That's the error messages I get: ...
1
vote
1answer
470 views

How to enable event MPM Apache 2.4 on Ubuntu 14.04 with thread safe PHP?

I upgraded to Ubuntu Server 14.04 expecting the default apache installation would use the new event MPM, but instead I find the old memory-eating prefork. I've successfully set up event MPM in Arch ...
0
votes
0answers
19 views

Eclipse for php and java packages

I installed Eclipse for PHP and Java projects. I tried to create a project and files and realized that there are no packages for developing PHP and Java. Is there any way to install those packages for ...
0
votes
3answers
583 views

installing XAMPP error

I followed these instructions: http://ubuntuportal.com/2013/12/how-to-install-xampp-1-8-3-for-linux-in-ubuntu-desktop.html I already installed lampp in to my directory files under the opt. I am ...
0
votes
1answer
16 views

Setting up a debug/profiling environment for remote site

I'm having some issues with profiling a site that is loading slowly (close to 2 minutes). It is developed in PHP, Smarty and MySQL (using nginx as the web server), and I've been wanting to use Xdebug ...
0
votes
0answers
168 views

How to restore deleted PHP files using scalpel

I upgraded 13.10 to 14.04. After the upgrade finished, unfortunately found out that /var/www/ folder has been deleted (I didn't know that upgrade does the same as fresh install!!!). I have searched a ...
0
votes
0answers
29 views

Weird behavior of apache2 on Ubuntu with php.ini file

I am trying to solve ultimate problem of why session variables are not saved when I run my php script. After researching for a while I went on to check session.cookie_lifetime value which is set to 0 ...
0
votes
1answer
46 views

Access MySQL and PHP after installation

After I installed Apache2, MySQL, MySQL Client, phpMyAdmin and PHP on my Ubuntu 13.10, I tested the Apache2 using 127.0.0.1 and it works. I would like to learn how I can access MySQL and create PHP ...
3
votes
1answer
2k views

php-pear is not working after upgrading to Ubuntu 14.04 [closed]

After upgrading to Ubuntu 14.04 php-pear is failing to install any packages. sudo pear install --alldeps --force pear.phpunit.de/PHPUnit downloading PHPUnit-4.0.17.tgz ... Starting to download ...
1
vote
3answers
5k views

Install PHP in Ubuntu 14.04 LTS

I have ubuntu 14.04 LTS(32bit). I want to install php5.5. I installed apache server and I see default apache server index page on localhost correctly. But, when I try to install php5 with apt-get ...
1
vote
1answer
146 views

php not executing on apache server

I have just reinstalled apache and php5 but when I visit my doc root it just downloads a "download" file and when I try documentroot/index.php it just downloads the php, I have php installed but it ...
0
votes
1answer
1k views

Apache shows index of/ instead of default index html [duplicate]

I installed apache2 on my Ubuntu 13.10 and it works without any problems. I can see the default index page (which is located in /var/www/index.html) by typing localhost/ in the address bar Today, ...
0
votes
0answers
14 views

Can't get Apache to work on Ubuntu

I installed a LAMP stack on Ubuntu 13.10 using tasksel. For some strange reason, when I head to localhost/foldername it produces a 404 every time. The folder exists in /var/www/ and has r/w ...
0
votes
1answer
248 views

Can't get latest PHP or Pear in Ubuntu 12.04 LTS

I'm attempting to install PEAR, and other components.. but getting the following. $ sudo apt-get install php5 libapache2-mod-php5 php5-mysql Reading package lists... Done Building dependency tree ...
0
votes
0answers
15 views

sendmail doesn't work anymore

i've installed sendmail to send mails from php, but after some messing with some virtualhosts the mail(); function in php doesn't work any more. How can I get the mail(); function to work again? ...
0
votes
4answers
110 views

Unable to open PHP files on Linux platform on Ubuntu

I've copied over my files over to a new directory which I have created: /var/www/worm/data.php. I tried opening it by a few ways: Double clicking the file but nothing comes out Typing ...
1
vote
1answer
32 views

Is there a man page for php pear from php-pear package?

I'm searching for man page documentation or alternatives for the php-pear package on Ubtunu 13.10. Concretely I'm stuck with the following issues (besides not finding the man page where I believe to ...
0
votes
3answers
876 views

Php doesn't work on Apache server

I installed LAMP sudo tasksel install lamp-server I can run my site, but the php code is just displayed as text. I have tried this solution, but it didn't help me. When I try to run php script ...
1
vote
2answers
81 views

index.php is downloading instead of displaying

I have set a local website from following here, I have followed everything as it is but when I access my site via Mozilla Browser, it asks me where to download and save instead of displaying the ...
0
votes
2answers
76 views

Not able to install CURL on Ubuntu 12.04 [duplicate]

When I am trying to install the following error is coming sudo apt-get install php5-curl Reading package lists... Done Building dependency tree Reading state information... Done You might want ...
1
vote
1answer
54 views

er errors Given when installing libssh2-php

Hi I'm trying to install a mail server on my ubuntu 13.10 machine, I have LAMP server installed, and works great, I want for my computer to be able to send emails (working as a server) so I decided to ...
1
vote
3answers
1k views

Run PHP from the command line

I have installed XAMPP v1.8.3 for my PHP development. I am new to Ubuntu, so I don't know how to set environment variable for PHP which is located at /opt/lampp/bin/php. I can run PHP scripts from ...
0
votes
1answer
186 views

Error installing two PHP Versions Ubuntu 12.04 with Plesk 11.5

I'm trying to install a additional PHP Version (5.5.10) on a Root Server running Ubuntu 12.04 but I keep running into errors during configure. It keeps giving me the following error: error: Cannot ...
0
votes
1answer
70 views

Can I install PHP 5.3/5.4?

I'm moving my vBulletin boards to a new server and after going through the regular steps to install LAMP, it seems it has installed PHP 5.5 which vBulletin apparently cannot work with. Can I install ...
0
votes
1answer
73 views

execute permission problem with php file

When I create a php file it have not permission execute so I can't run php file. I need to set permissions of that file. I want that all created php files have execute permission. new creation file ...
0
votes
0answers
38 views

ubuntu 12.10 install ispconfig

Hey guys I am currently working on this installation tutorial for Ubuntu 12.10 with ISPconfig/BIND/dovecot. I am currently stuck on page 4 the section where you you are attempting to start php-fpm. ...
0
votes
1answer
196 views

pecl install zip giving error ubuntu 12.04

I am trying to install zip using this command pecl install zip but I am getting below error running: make /bin/bash /tmp/pear/temp/pear-build-root9LqSPb/zip-1.12.4/libtool --mode=compile cc -I. ...
1
vote
1answer
67 views

How to develop application for OpenStack

I have installed OpenStack and everywhere I see tutorials about installing and deploying but no example about how to develop a simple app on OpenStack? using PHP Can anyone guide me?
0
votes
0answers
259 views

gpgkeys: HTTP fetch error 7: couldn't connect to host [duplicate]

I am trying to upgrade my PHP version 5.3 to 5.4 but it is throwing the error I am using Ubuntu 10.04 LTS - the Lucid Lynx Please help me to resolve this root@shanmugam-desktop:~# sudo ...
1
vote
0answers
138 views

Subdirectories Show 404 Not Found on 13.10 web server

I recently set up a web server on Ubuntu 13.10 and when I enter the external IP it works fine showing the index file of var/www/ but whenever I try to add a folder, say one called test, and I go to ...
1
vote
1answer
74 views

How to connect to SQL SERVER using php?

I have Microsoft SQL Server 2008 on Windows PC but my PHP is on Ubuntu, hosted by webfusion. I haven't configured anything at all but I want PHP to connect to SQL Server. What drivers do I need and ...
0
votes
1answer
307 views

Cannot run PHP after upgrading from apache 2.2 to apache 2.4

Im trying to upgrade Apache from 2.2.22 to Apache 2.4.x on Ubuntu 12.04. I have PHP5.3.10 running on my server for the application. When i install the new version of Apache 2.4 it uninstall the ...
1
vote
1answer
69 views

Make Ubuntu acknowledge that a custom built version of PHP is installed

I'm trying to install PHP from source code on my Ubuntu 12.04 VPS. I'm using these parameters in the configure command: --enable-intl --with-openssl --without-pear --with-gd --with-jpeg-dir=/usr ...
0
votes
1answer
83 views

Website not running on Ubuntu after installing LAMP Stack

I did it... I moved to Ubuntu today for the first time. I've been loyal to Windows for quite a while, but here I am. Anyway, I'm not used to all the command line tools and I'm facing some trouble with ...
0
votes
1answer
724 views

error (13: Permission denied) in nginx 1.4.1

I am facing this issue on my nginx setup on ubuntu 13.10 I got these weird error on the log of my local domain 2014/04/06 21:29:37 [crit] 18065#0: *3 stat() "/media/user/Backup/Sites/sp/" failed ...
0
votes
0answers
10 views

PHP 5.4 on VPS with Ubuntu 11.10 Oneiric Oncelot [duplicate]

Ні, everyone! On my VPS is installed Ubuntu 11.10 and i can't update it to 12.04 or any other. In Ubuntu 11.10 repositories are PHP 5.3.6, Apache 2.2.20 and MySQL 5.1. In ppa:ondrej/php5 or ...
0
votes
0answers
32 views

Running OpenEMR on Microsoft Cloud

We want to run OpenEMR on the MS Cloud platform. We created a VM using Ubuntu. To run OpenEMR, MySQL and Apache or another PHP-capable webserver must be configured. OpenEMR requires a number of ...
0
votes
0answers
35 views

HelloWorld.php display 0 value after download and configure Apache2, PHP and MySQL

I have purchased the Lenovo ThinkPad R400 and currently, I am updating my Ubuntu's version. Before the update from 12.04 to the current version, I have installed Apache2 in my machine including MySQL ...
1
vote
0answers
38 views

PHP - Notice: Undefined variable: [closed]

I created header.html file where I want to include php, if I run this code: <?php for($i;$i<10;$i++) echo $i; ?> it shows: Notice: Undefined variable: i in ...
1
vote
2answers
811 views

Xamppp No Mcrypt.ini when intalling Lavarel

I tried to install Laravel on Xubuntu 14.04 I searched for every method, they all go like this. By the way, I tried installing php and apache without xampp and didn't as well so it's not about ...
0
votes
2answers
143 views

cant update to php 5.4 ubuntu 12.10

I am trying to install php 5.4 in ubuntu 12.10 but its not working. I keep getting php5 is already the newest version. (5.3.10). I tried to add the ondrej/php5-oldstable but still, it wont do the ...
1
vote
0answers
78 views

Install PHP 5.3.2 or any 5.3x on Ubuntu 13.10 [closed]

I am new to linux and installed Ubuntu and Apache2 by searching on Internet. Everything goes fine up to Apache installation. Now like to install php5.3.2 On searching found command ...
1
vote
1answer
226 views

Unable to locate package php5-readline

samitha@ubuntu:~$ sudo apt-get install php5-readline Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php5-readline What ...
0
votes
0answers
117 views

Cannot run PHP codes through Netbeans after installing XAMPP

I installed XAMPP and Netbeans to start learning PHP. After I wrote this code <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> ...
0
votes
2answers
1k views

Can't install Phalcon extention on Ubuntu

I'm trying to install Phalcon frameworks and I can't get this part done right Add the extension to your php.ini: extension=phalcon.so Finally, restart the webserver I've changed my ...
0
votes
1answer
85 views

Can't install PHP extension sdo on Ubuntu 12.10

I'm running Ubuntu 12.10 with PHP Version 5.4.6-1ubuntu1.7. I have tried the standard instructions to install sdo: http://us2.php.net/manual/en/sdo.installation.php as well as the instructions in the ...