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
1answer
8 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
8 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
7k views

ERROR 1045(28000) : Access denied for user 'root@localhost' (using password: no )

I got a problem with mysql server Actually i am not sure im tring to install queXS cati app on my ubuntu desktop i installed mysql server and php5 and when im trying mysql -u root it says "ERROR ...
0
votes
2answers
16 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 ...
5
votes
3answers
5k views

Downgrade form php5 5.3.10 to php5 5.3.2 in ubuntu 12.04

i wanted to install php5 5.3.2, so first deleted all the php5 files sudo apt-get purge php5 php5-cli php5-common php5-mysql and also delete the deb files form /var/cache/apt/archives so now ...
0
votes
2answers
26 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
0answers
23 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
0answers
38 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
2answers
240 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
0answers
8 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 ...
5
votes
2answers
10k views

How can I configure Postfix to send all email through my Gmail account?

I'm trying to send an email through Google from my localhost. (via PHP5.3) But Google keeps on blocking my requests. I tried to follow the solutions given to a few similar questions, but for some ...
0
votes
0answers
8 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
21 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 ...
0
votes
0answers
10 views

How can I find a php that is running in my Ubuntu server?

I need help with my server. I can't find php. It's consuming a lot of memory. I already tried everything, but it's still causing me a big problem.
0
votes
1answer
102 views

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

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 ...
0
votes
1answer
3k views

Upgrade PHP 5.3 to 5.4 via putty

I am using Ubuntu 10.04.1 LTS Server with PHP Version 5.3.2-1ubuntu4.19 Apache/2.2.14 (Ubuntu). I login to the server via putty and want to upgrade to php 5.4. I could not find the right commands ...
0
votes
2answers
141 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
3answers
262 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 ...
67
votes
11answers
7k views

What's the easiest way to set up a LAMP stack?

I set up a new VPS instance of Ubuntu and am wondering what the easiest way is to get up and running with a basic LAMP stack (i.e. which packages are required, which configuration options need to be ...
1
vote
1answer
12 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 ...
5
votes
3answers
23k views

Default file permissions for php user www-data

I have a php installed on my ubuntu machine. The web root is /var/www I set the permissions for this folder like so: sudo chown -R ftpuser:www-data /var/www ftpuser is the user I set up so I ...
2
votes
2answers
5k views

Install php extensions on Ubuntu 12.04

I want to install the latest versions of curl, php5-xmlrpc and php5-intl extensions for php 5.4. I have the latest version of php 5.4 (installed via ppa:ondrej/php5-oldstable) so the default precise ...
0
votes
0answers
32 views

Figure out either my root problem or my localhost problem

I have upgraded my Ubuntu from 13.04 to 13.10. Before this, when I signed in as a root, I can run my PHP script as the localhost and I can edit it without any problem. But since I've upgraded my ...
0
votes
2answers
535 views

cannot access copied folder in htdocs of lampp in ubuntu?

I want to move my web content from window 7 to ubuntu 12.04. So I copy my web content and move it to my /opt/lampp/htdocs folder, then I have change the folder permission using :: 1) sudo -s 2) ...
0
votes
1answer
53 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
8 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 ...
-1
votes
2answers
349 views

PHP not working after upgrading from 13.10 to 14.04 [closed]

After upgrading from 13.10 to 14.04, PHP and Apache are not working. How do I configure PHP and apache in Ubuntu 14.04?
0
votes
3answers
78 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 ...
2
votes
1answer
2k views

Cannot access directory in /var/www/: Permission Denied

Forbidden You don't have permission to access /celsium/index.php on this server. The above text is shown when i try to access the directory made in /var/www. the directory is ...
0
votes
1answer
37 views

How can I find and edit the php.ini file?

I am trying to find the php.ini file on Ubuntu server with the command: sudo vim /etc/php5 However, this tells me that the file does not exist. How can I find and edit the php.ini file?
1
vote
2answers
51 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
1answer
76 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
4answers
32 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 ...
0
votes
0answers
8 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? ...
1
vote
2answers
10k views

How do i completely remove phpmyadmin?

I messed up my phpmyadmin, I haven't logged in, in phpmyadmin, in a while, and as a result i forgot my password, so i purged it like so: sudo apt-get purge phpmyadmin. I did get some error messages ...
1
vote
1answer
21 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
2answers
28 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
0answers
19 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 ...
0
votes
1answer
118 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 ...
1
vote
3answers
185 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 ...
124
votes
2answers
134k views

How do I install latest PHP in supported Ubuntu versions (like 5.4.x in Ubuntu 12.04)?

I am trying to update to php 5.4 in Ubuntu 12.04, and I can only get 5.3.6 using official repositories (using apt-get). I'm not really sure how to do a manual update – I'm sorta new to ubuntu, but I ...
1
vote
1answer
254 views

Why did my PHP5.5 upgrade fail?

I have a relatively new install of Ubuntu 12.04. The php version is 5.3, so I just followed this question to upgrade to 5.5: How do I install latest PHP in supported Ubuntu versions (like 5.4.x in ...
0
votes
1answer
82 views

Problems with instalation of Zend-framework

When I type this command: apt-get install zend-framework I am getting this error: dpkg: error processing zend-framework (--configure): dependency problems - leaving unconfigured Errors were ...
0
votes
0answers
29 views

Is it possible to install php 5.5 on ubuntu 10.04

I understand that this question might seems irrelevant to a few people. However, I have a situation where I can't upgrade to 12.04 due to some issues (Hardware limitation being one of them). I ...
0
votes
0answers
54 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
35 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 permission that file.i want all creating php file have execute permission. new creation file type is ...
0
votes
1answer
28 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
29 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
23 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
44 views

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

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 ...