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

Is securing phpMyAdmin with .htaccess considered sufficient?

I have just installed Linux / Ubuntu for the first time in order to learn, and to get some experience with LAMP servers. I also installed phpMyAdmin and used an .htaccess file (stored in ...
0
votes
0answers
37 views

Geany browser PHP execution

From another question, someone said I had to write php -S localhost:8080 -t "%p" -e & sensible-browser localhost:8080/"%f" as the script to run. It doesn't work, gives this: yes, that's on ...
1
vote
0answers
95 views

XAMPP (LAMPP) on Ubuntu Touch

Can I install and run XAMPP (LAMPP) on Ubuntu Touch on a Nexus 10 in order to host a local website (that needs PHP and MySQL)?
0
votes
1answer
156 views

Ubuntu 12.04 - upgraded to PHP5.4 - error on PHP Suhosin

I have a Linode VPS with Ubuntu 12.04. I had PHP5.3.10 installed and I just upgraded to PHP5.4.30 - by following the instructions given at ...
0
votes
1answer
445 views

PHP Startup Unable to load dynamic library

I'm getting this error in my apache error log while trying to get cURL to work on PHP: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/curl.so' - ...
1
vote
1answer
559 views

Extract Error Which Is About Installing Pear Email Packages On Ubuntu 14.04 [closed]

I want to send e-mail with smtp send function in php. So that ı should install pear email packages.But When I install these packages on terminal I get an error.The error is about extracting .tar.gz ...
0
votes
0answers
1k views

Apache/PHP generates blank pages and a 500 internal server error (Ubuntu 12.04 PHP 5.3.10)

I'm having troubles with my PHP. When I open a file on localhost, it generates a blank page. I looked at my browser's console and it is giving a 500 Internal Server Error. The page I try to open ...
0
votes
0answers
82 views

Install php 32 bits on ubuntu 64 bit

I'm currently upgrading servers and I have a nasty bug with php and a database driver. Long story short using the 32 bit version of php should fix the issue. I'm unable to install php5-common:i386. ...
0
votes
1answer
25 views

Apache is not even starting after updating

sudo apache2ctl start [Tue Jun 24 17:53:38 2014] [warn] NameVirtualHost *:80 has no VirtualHosts httpd (pid 4924) already running After running the above command to start apache2, I get this error. ...
2
votes
5answers
728 views

How to completly remove php libraries?

I use zsh. when I try to upgrade the system, some packages related to php pop up, I want to remove them sudo apt-get upgrade Reading package lists... Done Building dependency tree ...
0
votes
1answer
332 views

New PHP5.3.10 update error

After receiving the latest announcement about security vulnerabilities of PHP5 (Ubuntu Security Notice USN-2254-1) I decided to upgrade my server, but I ran into some problems. The new packages listed ...
0
votes
0answers
291 views

ubuntu 14.04 LTS apache 2.4 - 403 access forbidden

hey there i just made a website (more like a file manager) and hosted it on apache 2.4 on ubuntu 14.04 LTS but i can't seem to access the icons folder in var/www/html/icons, what i get is a 403 access ...
0
votes
0answers
11 views

php5 behaving oddly

I have an ubuntu server 12.04 running php5. Some of the php scripts work and others fail. For example, I can write files and use case statements, print, and echo, use the date commands. but, i cant ...
1
vote
1answer
211 views

File Permission In www/html Directory For Security

How can I give permission to directories and files in www/html for security. This files have an .js , .php , .sh extensions.They execute in www/html by apache's user(mine is www-data). When I give ...
2
votes
2answers
3k views

“This account is currently not available” error when trying to ssh

An error occurs when I try to make SSH connection: $ ssh -p 22 www-data@x.x.x.x This account is currently not available
0
votes
0answers
213 views

Sending Email With PHP (SMTP) By Apache's User

I could send e-mail with php in ubuntu 12.04. The apache user (in ubuntu 12.04) didn' t make problem. But I can't send e-mail when I pass the ubuntu 14.04. The apache user(ın ubuntu 14.04) make ...
1
vote
2answers
1k views

Permission Denied When Create New File

I could create file with php fopen(..) when I used the ubuntu 12.04. But now I can't create file with php, because I pass ubuntu 14.04. I can open existing file to read or to write. But I can't ...
0
votes
2answers
3k views

Downgrade from PHP 5.5 to 5.3 on Ubuntu 14.04

I need to downgrade to PHP 5.3 to use some older scripts. I've tried phpfarm and phpbrew, but I couldn't get either of them to work. I've also tried the solutions listed here: Installing PHP 5.3 in ...
0
votes
0answers
94 views

Silex in Ubuntu 14.04

I'm working off a fresh Ubuntu 14.04 install. I installed a LAMP Stack appropriately and it all seemed to be working. I'm trying to learn how to use Silex, the PHP framework. So I followed the ...
4
votes
1answer
3k views

php5-imap on Ubunut 14.04 is not enabled

After apt-get install php5-imap I still have to manually do php5enmod imap which seems odd and inconsistent. Is there any particular reason for this?
1
vote
2answers
270 views

PhpStorm theme installation folder not found

I am new to ubuntu and I am trying to install theme for PhpStorm. this question point out the folder ~/.WebIde50/config/colors but I am unable to find ~/.Webide50 folder.
0
votes
1answer
378 views

Ubuntu Server 14 MySql php connect problem

I have ubuntu server 14.04 installed along side Apache, PHP5 and MySQL server all together. I can gain access to the server using putty and the mysql database using Heidi Sql remotely. On my laptop, ...
0
votes
0answers
724 views

Can't install apache2-2 on Ubuntu 14.04

I just upgraded (after a lot of fighting) my Ubuntu distro from 13.04 to 13.10 and then from 13.10 to 14.04. I managed to make everything work, except for one thing: I can't find a way to Install ...
0
votes
1answer
90 views

Run PHP (in console) with Geany

Don't tell me I need a server, because I can manually go to terminal and write "php filename.php" and it will run it successfully for me. I just need to know how I can do it from Geany. Proof: ...
2
votes
2answers
1k views

Unable to install php5-mcrypt on Ubuntu 14.04

I can't install php5-mcrypt on ubuntu 14.04. I'm doing this: $ sudo apt-get install php5-mcrypt And getting this: Reading package lists... Done Building dependency tree Reading state ...
1
vote
1answer
1k views

php5-ffmpeg not available in 14.04's repos, what now?

I know that from now on, Unbuntu only supports libav instead of ffmpeg. But as for ffmpeg-php, I am not aware of any similar tool. So how developers are supposed to do? Is there any option beside ...
0
votes
0answers
271 views

Apache 2.4.7 won't work, even after root directory changing

I recently installed Ubuntu 14.04 and Apache 2 on my computer. When I try to run test.php (I already changed the root directory to /var/www and placed test.php there) it only prints phpinfo(). Then ...
0
votes
1answer
236 views

PPA with latest PHP 5.3.x branch for 12.04

Is there a PHP 5.3.x PPA for 12.04?
4
votes
1answer
3k views

Nginx downloading PHP file only if .php is in the URL

I know this is a popular question but I haven't found anyone with my similar issue. I can serve PHP files as long as the .php extension is not in the url. For example: If I go to localhost I am ...
0
votes
1answer
133 views

Ubuntu 12.04 — php-config5 points to 5.3 instead 5.4

I have a problem installing a php extension (Phalcon framework) due to having upgraded from php 5.3 to 5.4 some time ago. I upgraded using ondrej-php5-precise repository. Everything is working ok and ...
0
votes
1answer
2k views

Apache doesn't load .php files

First, sorry for my English and asking something that it's quite answered all over the web. I've read a lot of post about this problem but I still can't find the solution. I'm a web developer who ...
1
vote
0answers
1k views

Apache Timeout (Problem loading page) on localhost

I am running a php script locally in my Firefox web browser. After exactly 300 seconds I get an error page. "Problem loading page. The connection has timed out. The server at localhost is taking too ...
0
votes
0answers
76 views

How to export Observium data?

Trying to figure out how to export the data from Observium to see the throughput of a network, and save it to a file. Any help would be great.
1
vote
1answer
1k views

Apache2 + Php + Pthreads HowTos

04 LTS 64 bit. What I would really love to do is sudo apt-get install libapache2-mod-php5 but compile PHP with --enable-maintainer-zts so I could later install pthreads with pecl install pthreads. ...
0
votes
0answers
12 views

Qiime softwares not recognized by PHP. How to configure extentions for it?

I have a script in bash that calls some python functions installed from Qiime packge. I put a echo "end of bash script" only for control. If I call this bash script from terminal it works good. But ...
0
votes
1answer
28 views

Oxwell does not load graphics on webpage

Im running Ubuntu server 10.4.4 with lamp installed. I have setup Oxwell by creating a folder in /var/www/oxwell and unzipping contents. I have also chmod -R 777 /oxwell for testing. Opening a ...
0
votes
0answers
110 views

Global proxy for ubuntu

is there a way to setup a global proxy fro Ubuntu? For example, I have some php code which is an 'off the shelf' product ( I don't want to change the source code to this ), I have some php code which ...
0
votes
0answers
94 views

libmcrypt - How to compile and install from source in 14.04

How can I compile and install libmcrypt from source in 14.04 I used instructions to another version of ubuntu, and I have failed.
0
votes
1answer
845 views

php5-curl on upgraded ubuntu 14.04

I have a vps with ubuntu 14.04 installed ( was ungraded from 12.04 LTS ) and LAMP stack. the problem I have is I can't install php5-curl extension as it always gives me this error message : ...
0
votes
1answer
218 views

How to run php with Eclipse and XAMPP?

I'm using eclipse kepler on ubuntu 14.04, and I want to know how do I run a php project? I already installed the plugin in eclipse for php and when command run the project, the page does not load in ...
0
votes
1answer
476 views

php amqp error while running make

I'm trying to install php amqp according to this answer http://stackoverflow.com/a/9997263/2271028 but at the make command i see following: /bin/bash /var/www/rabbitmq-c/amqp-1.4.0/libtool ...
0
votes
0answers
738 views

MediaWiki Installation on 14.04

I have followed this guide https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu successfully down to the line mysql_secure_installation at which point it prompted me for a password, I ...
0
votes
1answer
139 views

best setup for lamp stack development

I currently have ubuntu 14.04 with lamp stack running in virtualbox under win 8.1. I use PhpStorm inside the virtualbox. Virtualbox is running fine except for some flickering and screen refresh issues ...
0
votes
1answer
200 views

php5, mysql, phpmyadmin not working in ubuntu14.04

I have already installed lampserver in ubuntu 14.04. when i try to run http://'127.0.0.1', it shows it works. but it does not work when i try to run http://'127.0.0.1'/test.php. I have already created ...
0
votes
0answers
395 views

Apache 2.4.7 - ProxyPassMatch overrides Require directive in <Directory>?

I have started the process of upgrading my servers from 12.04 to 14.04 this week, and I have run into all sorts of problems, most of which I have figured out. This one has me stumped though. I am ...
2
votes
0answers
105 views

404 not found error on apache2 [duplicate]

I have installed apache2, actual php version, mysql server and vsftp on my new Ubuntu server. I also installed wordpress and gave the user www-data all rights for /var/www/* and put it to 755. I ...
0
votes
1answer
192 views

Compile PHP by source. Stuck at phar.phar

I am trying to install PHP (Version - 5.5.11) by source since I need php installation with enable-debug and enable-maintainer-zts options. Downloaded the package ./configure --enable-maintainer-zts ...
0
votes
2answers
229 views

my localhost default page welcome me on nginx

hi all wrt my last post, again i am getting frustrated by nginx server, i am trying to install laravel in my /var/www/project folder but when i delete my default HTML dir from my /var/www/html it ...
0
votes
1answer
136 views

How do I install WordPress.org?

I learnt recently that the WordPress software in the Software Centre is WordPress.com, I want WordPress.org as it's more feature-full. I have downloaded the zip file and extracted its contents but ...
0
votes
0answers
69 views

install php5-curl without upgrading php-cli

I am using imageantialias for php and php -r "var_dump(function_exists('imageantialias')); returns bool(true) I do have requirement for php5-curl, and if I install php5-curl using php5-curl (sudo ...