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
vote
0answers
300 views

PHP-FPM dynamic vs ondemand Speed

In terms of speed, which is better? dynamic or ondemand? I just switch from apache to nginx so I need to know which of the two is better.
0
votes
2answers
2k views

PHP Fatal error: Call to undefined function mysql_connect() [duplicate]

I'm trying to connect my PHP page to MySQL database, but I'm getting this error : PHP Fatal error: Call to undefined function mysql_connect() I'm working on Ubuntu 11.10 MySQL 5.5 and PHP 5.3. I ...
0
votes
1answer
3k views

How to update ImageMagick (imagick) for PHP

I've installed ImageMagick for PHP using the following command: sudo apt-get install php5-imagick But the version installed (namely ImageMagick 6.6.9-7 2012-08-17 Q16) is not the latest version ...
2
votes
1answer
141 views

PHP interactive interpreter: Delete and Ctrl +Aarrows keys don't work properly

When running PHP interactive interpreter with: php -a Delete button doesn't work (produces ~ instead), jumping over words with Ctrl+Left Arrow and Ctrl+Right Arrow doesn't work either (;5D and ;5C, ...
0
votes
1answer
153 views

Most user friendly Ubuntu IDE [duplicate]

What is the most user friendly IDE for HTML, CSS and JS on ubuntu? I have heard it said that programming on the Linux platform can be quite potent when creating server applications. Can you good ...
1
vote
0answers
21 views

The following packages have unmet dependencies: [duplicate]

Can someone help me get rid of this bloody error? The following packages have unmet dependencies: libc6 : Depends: libc-bin (= 2.15-0ubuntu10.3) mod-pagespeed-stable:i386 : Depends: ...
1
vote
1answer
6k views

sending php mail from localhost

I have installed php, mySQL, postfix and sendmail and have set up a simple email script on my local host server. mail() returns 1 (TRUE) when I send an e-mail, however the email does not arrive at the ...
1
vote
0answers
146 views

How do I install the PHP gearman library in Ubuntu 13.04?

It doesn't appear to be a package in the repository and installing the PECL extension seems to fail. Is there a way for me to do a managed installation of this library without having to download a ...
1
vote
2answers
615 views

configuration issue with respect to .htaccess file on ubuntu

I am building an application tshirtshop I have following configuration in /etc/apache2/sites-enabled/tshirtshop <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot ...
0
votes
1answer
933 views

How can I install php5-fpm and apache and configure the apache vhost?

I don't find a valid a description how can I install configure the apache vhost correctly. Can everybody help me? <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName ...
3
votes
1answer
1k views

How to recover the default php.ini

I accidentally deleted php.ini from /etc/php5/apache2. How to recover it? I tried to remove and install php5 without luck.
0
votes
1answer
359 views

Url rewrite does not work ubuntu server

Currently I am working with a php script but it still contains an unfriendly link (cms.php?Cms=login). I want to turn it into a friendly link /cms/login I have an .htaccess file is created ...
-1
votes
1answer
266 views

Why my php scripts doesn't get executed?

I have this html page on my pc <html> <body> <form action="http://localhost/welcome.php" method="post"> Name: <input type="text" name="fname"> Age: <input type="text" ...
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 ...
8
votes
2answers
22k views

How can i install php 5.5 in ubuntu [duplicate]

How can i replace 5.3 with php 5.5 un ubuntu.I tried in google and failed to find repository. Please help me
1
vote
1answer
4k views

I have broken Ubuntu!

I have been having problems with php and phpMyAdmin and now, after manually removing php, apache2 a when I install anything from the Software Centre I get a failure message. I tried to uninstall ...
11
votes
4answers
7k views

Install Apache, Php, Mysql latest versions not available via apt

I need to install the latest versions of apache, php and mysql that are available on their websites, but the problem is that apt repositories don't have these updates versions yet. Versions that I ...
0
votes
1answer
105 views

How to copy a website inside my WWW to another computer and make it work?

I have designed a website to create and sign certificates (.csr, .key, .crt, .p12) in my netbook using Ubuntu 12.04. Now I have to demonstrate that it works but my teacher wants to test it using a lab ...
0
votes
1answer
966 views

How to install tidy to xampp on ubuntu 13.04

I followed this article: http://hoball.wordpress.com/2009/09/29/html-tidy-on-linux-under-xampp/ to install tidy on my xampp, and I got below error message when restart my xampp: Warning: PHP ...
0
votes
2answers
3k views

php-server setup not working

I have installed php and apache2 server before but I'm getting bogged down with errors. The process so far is as follows: sudo apt-get install tasknet sudo apt-get install lamp-server During the ...
1
vote
1answer
164 views

updated server to raring, php not working

I updated a server to raring ring-tail, and most everything seems to work, except php5. The ssh, apache, ICECAST and other functions are operational. I have tried purging the installation files, and ...
0
votes
4answers
16k views

Install php 5.3 on ubuntu 13.04

How I could install old PHP version on Ubuntu 13.04 (prefer verson 5.3.3)? I appreciate any help.
0
votes
1answer
99 views

When I try to start lampp the terminal says that it only works on 32bit

I already have the ia32-libs installed and i used this code sudo apt-get install ia32-libs anyone have any suggestions on what I'm doing wrong?
0
votes
1answer
234 views

Standard install procedure for PHP 5.3 without Suhosin?

Is there a standard way to install PHP 5.3 without Suhosin? How would doing so affect tracking of routine updates for precise? If it's going to make life complicated now or in future then I might ...
0
votes
1answer
2k views

Install phpize on Ubuntu

I wanted to know if there was a way of installing only phpize. I've installed it by executing sudo apt-get install php5-dev. I wanted to know if there was a way to just install phpize only.
0
votes
1answer
160 views

I Installed lamp-server but a tiny progrme of php not run

I have installed lamp in Ubuntu 12.04 using these commands: $ sudo apt-get install tasksel and $ sudo tasksel install lamp-server and run the following .php file in browser and it was executed ...
2
votes
3answers
8k views

phpmyadmin throws a 404 on opening

I have installed php5 and phpMyAdmin from the Ubuntu Software Centre on a fresh install of Ubuntu 13.04. when I enter localhost in my browser the following is displayed: It works! This is the ...
0
votes
1answer
1k views

Issue with php5-curl installation

I currently have PHP 5.4.14-1~quantal+1 (cli) installed on my Ubuntu 13.04 I tried to install php5-curl but I have a dependency issue $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get ...
1
vote
2answers
513 views

Upgraded PHP on Ubuntu but old version still in use

I just upgraded PHP to V5.4 on my laptop, using the technique described in this answer, How do I install latest PHP in supported Ubuntu versions (like 5.4.x in Ubuntu 12.04)?. I did the same for my ...
1
vote
1answer
198 views

Shell script now working on post/get request

I have a simple script in php to fetch files from my github repository <?php echo shell_exec('git pull'); ?> When I ssh into my server and run this script like this: php github.php I see ...
3
votes
2answers
1k views

phpMyAdmin “More Settings” Option Generates Blank Page

phpMyAdmin works well except for a couple of links on the Home Page. There are two links to More Settings, however they both take me to a blank page. Am I missing a module, or does it need ...
0
votes
2answers
1k views

how to install apache,mysql,php as non root without using apt-get?

I am using ubuntu 13.04 version.I am newbie for ubuntu.Can i able to install LAMP as non-root and without using sudo apt-get?
0
votes
1answer
187 views

Gearman Job Server and PHP Extension

How may I install Gearman Job Server and PHP Extension on my Ubuntu 13.04 Desktop? I've already installed latest version of PHP on my Ubuntu 13.04 Desktop. I've to run my custom Script with Gearman. ...
0
votes
1answer
1k views

Nginx Basic Auth and subfolders

I have a problem with subfolders in a basic auth procted folder. In the protected folder i have a folder named phpmyadmin, which contains phpmyadmin. Im not able to run phpmyadmin, when basic is ...
1
vote
2answers
331 views

Setting default editor for php files

I am using Ubuntu 12.04 TLS. I had installed Netbeans on my PC. I want change default file to netbeans. I've tried to right-click on a php file > Properties > Open With > Show other Application ; ...
0
votes
3answers
5k views

phpMyAdmin login problem:

I use Ubuntu 12.04. Recently I have installed XAMPP 1.8.1 in my system. I set password to: XAMPP pages, MySQL/phpMyAdmin, MySQL root and FTP. But after that when I try to login to phpMyAdmin page ...
-1
votes
2answers
157 views

Useradd from PHP script

is it possible to add an user with PHP script ?
0
votes
1answer
8k views

I can't get “apt-get install php5-suhosin” to work

I am running ubuntu 13.04. I cannot get my php website to work because I cannot install php5-suhosin. It said this each time that I have tried apt-get install php5-suhosin: Package php5-suhosin is ...
0
votes
1answer
1k views

How do I set up a localhost website?

I have created a simple index.php file which I have places in /var/www/ next I changed the permissions of the file with sudo chmod +x index.php I then ran Chromium and typed in localhost to the ...
2
votes
1answer
54 views

Are there PHP bindings for indicators and notifications?

Are there already some projects/extensions or wrappers to allow easy creation of ubuntu unity indicators with PHP before I try and 'reinvent the wheel'. A basic Python template that would interface ...
1
vote
1answer
468 views

Mysql5.6 and problem of php5-mysql , mysql-common packages

I install Mysql 5.6 with this documentaion(in ubuntu 13.04) , now I need to install php5-mysql and mysql-common packages. can I install them with apt-get? I think they will install mysql5.5 ...
0
votes
1answer
302 views

Whay apache2 does not process PHP files?

I have installed Apache server using TaskSel from Synaptic package manager. I did the following: sudo a2enmod php5 Module php5 already enabled sudo a2enmod userdir Module userdir already enabled ...
0
votes
1answer
48 views

php-in-homedirs

I am trying to get php to work in user's public_html folder using the instructions found at: https://wiki.ubuntu.com/UserDirectoryPHP If I follow the first part and comment out the IfModule lines in ...
0
votes
1answer
255 views

How do I configure /etc/hosts and /etc/php5/apache2/php.ini for sendemail

I installed sendmail on my Ubuntu 12.04 web-server. I also configured the [mail function] and I tried to send emails...the message from the php code I wrote told me that the email has been send ...
1
vote
1answer
594 views

How to upgrade the php version from 5.3.x to 5.3.y? [duplicate]

I just downloaded the development release of Drupal8 for testing purpose. When I try to install it shows the following error: Your PHP installation is too old. Drupal requires at least PHP 5.3.10. ...
-1
votes
1answer
1k views

Upgrade php to 5.4 on ubuntu 11.10 [closed]

I want to upgrade php from 5.3.6 to 5.4 on ubuntu 11.10 According to some tutorials I did: 1. sudo add-apt-repository ppa:ondrej/php5 2. sudo apt-get update 3. sudo apt-get upgrade I also tried to ...
2
votes
1answer
377 views

Remove PHP 5.4.14

I want to install php 5.3.10 but I already got PHP 5.4.13. I want to remove first existing PHP 5.4.13 then want to install new PHP 5.3.13. How can I remove existing PHP 5.4.13??
3
votes
3answers
26k views

can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' [duplicate]

I just installed appache, MySQL and PHP, suring my installation, I was prompted for a MySQL root user password, but when I start my MySQL, it pops the error, and I just can't seem to find a way around ...
0
votes
1answer
139 views

Set up PHP and Django Virtualhosts on a single Apache2 Server

Here is the problem: I want to host several development projects in Zend, Drupal, and Django on a single Apache2 server. While I have had this working in the past, the method of getting it to work was ...
0
votes
1answer
75 views

How to enable PHP on LAMPP?

I installed lampp a couple of weeks ago. Everything works fine when it comes to html files, but when I try to open a php file, the browser asks me where to download it. :/ I tried with my php files, ...