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
524 views

Ubuntu server sending mail from www-data

I am running a server with Ubuntu 12.04 and three wordpress installations, some ftp server and a basic postfix to send mails with wordpress. additionally I am using webmin to administrate this system. ...
2
votes
1answer
234 views

Wordpress alias problem

I have configuration like this: Alias /blog /usr/share/wordpress Alias /blog/wp-content /var/lib/wordpress/wp-content <Directory /usr/share/wordpress> Options FollowSymLinks ...
1
vote
1answer
755 views

Debugging PHP in Ubuntu (Xdebug)

PHP Vim Debugger: Configuring Apache I am trying to install Vdebug to debug PHP in Vim. Unfortunately, when I press F5 this message appears after a few seconds Waiting for a connection (Ctrl-C to ...
0
votes
1answer
74 views

Apache configure file: how to edit it

I need to edit the Apache configure file because I wish to set the debugger port in my VirtualHost section as it says below. How can I do it? I searched in Google but it is not clear for me what I ...
3
votes
1answer
4k views

PHP-FPM eating memory & Creating many Pools

I set up my nginx with php-fpm. each vhost has its own unix-socket and separate POOL. But the problem is that php-fpm is creating 7 thread for each config pool that I created in /etc/php5/fpm/pool.d/ ...
1
vote
0answers
562 views

php-fpm high memory and cpu usage

My Real Ram and Virtual Memory is of each 1 GB. but php5-fpm uses very high memory approx 885MB. I searched for solutions but there is no effect. I have wordpress site and currently at a time there ...
2
votes
1answer
850 views

is this malcious traffic?

I was reviewing my server logs, when I came across several thousand this gem: from a multiple IP addresses: My question is what is all this junk? what is this trying to execute? I am pretty sure that ...
0
votes
1answer
876 views

Can't install php5-curl, getting “404 Not found” errors

My problem when trying to install php5-curl on my virtual box linux server. I did ifconfig eth1 up: err http://nl.archive.ubuntu.com/ubuntu/ precise-updates/main php5-curl amd64 5.3.10-1ubuntu3.8 ...
0
votes
1answer
495 views

Run X11 GUI application from browser (apache - php)

The same way as Running Gui App with PHP, I need to run a X11 application (VLC) from a php page on Apache server. I need to open the VLC application on the server, not on the remote system. I'm ...
2
votes
0answers
204 views

How do I save an uploaded file in PHP?

In PHP, I'm trying to save a file to the /var/www/upload directory, but whatever I try, it doesn't work. I've tried giving www-data ownership of /var/www and subdirectories. I've tried modifying the ...
0
votes
1answer
106 views

My server is making me download the code instead of running it

I am running an ubuntu server 12.04 but unfortunately I am not being able to make the interpreter run the code exactly. I am using nginx encrypted lvm and here is the conf.d (main part): server { ...
1
vote
1answer
216 views

issue with installing php 5.4.9 with apt

I used a script for downgrade php from php 5.4 to php 5.3 it workded.Now i want to upgrade my php to php 5.4.9 with synaptic form Package->Force Version when i want to apply the chanes it gives me ...
0
votes
1answer
672 views

nginx rendering PHP as plain text

server { listen 80; server_name test.local; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; root /var/www/testsite; location ~ \.php$ { ...
0
votes
1answer
89 views

if i manually compile php, should i uninstall it in dpkg first?

Around 2 years ago I attempted my first PHP compile and succedded. I occasionaly upgrade my compile script as I add modules and new versions come out. However, I'm finding that apt-get unattended ...
2
votes
1answer
45 views

how to manage ubuntu users from php

I have an Ubuntu 12.04 server machine in a local net, and I would like to log in my user through php. I have tried with pam_auth() but it wasn't configured neither activated for php. I tried a ...
1
vote
0answers
206 views

Integrate ImageMagick & MagickWand with php ubuntu 12.04

I have installed both ImageMagick and MagickWand in my ubuntu system by refering to the detailed instructions provided in Install ImageMagick From Source and MagickWand For PHP. When I chack whether ...
0
votes
3answers
460 views

How do I create public html folder? [duplicate]

I am a php programmer and new in ubuntu. Now I am using ubuntu 12.4 I need to create public html directory on my home directory for easy assess of php files. How can I create this public_html ...
0
votes
1answer
393 views

XAMPP not working

I am new to ubuntu. I have installed XAMPP and i have been using it for 2 months without any problem. I was able to access XAMPP by typing 'localhost' on the browser. 3 days back i have installed ...
-1
votes
1answer
105 views

How to make php files by which MySQL, PHP, phpmyadmin, Apache, Python etc. details will show?

How can I make a php files which will show the details of PHP, Apahce, MySQL, phpMyAdmin, Python and Ubuntu system usage and information.
7
votes
3answers
31k views

How to solve the phpmyadmin not found issue after upgrading php and apache?

Recently I have install the PHP, Apache, MySQL, phpMyAdmin, python in my Ubuntu Desktop 12.04.3 LTS to use it as a LAMP server. The commands I used to install these are given below: 1: sudo passwd 2: ...
3
votes
3answers
18k views

default permissions for /var/www

I was trying to open a file and write to it with PHP at /var/www folder but it wasn't working so I did sudo chmod 777 var/www now I want to set the permissions for var/www to the default. what are ...
0
votes
1answer
798 views

failed to open stream

My problem is that when I send my php file as root to the htdocs directory it appears as this. root mustafa # sudo cp programa.php /opt/lampp/htdocs/archivos The php file appears with a big X on ...
0
votes
1answer
979 views

Apache2 server failed to start after enabling `mod_rewrite`, returns “Operation Not Permitted” errors

I am trying to install cakephp ( a php framework) which requires to enable mod_rewrite. For this I followed Enable mod_rewrite answer. But after restarting my server It says: nitish@nitish-G31T-M7:~$ ...
0
votes
2answers
209 views

Printing to Ubuntu Terminal and File

If I want log everything that happens on the websites on my server into the terminal (where you type) and into a file, well how would I do that using PHP?
0
votes
1answer
3k views

install php 5.3 in ubuntu 13.10?

My problem is I have scripts online that work in php 5.3 not more recent versions. I wish to develop web sites locally instead of uploading partial changes. After much reading, I made the following ...
0
votes
1answer
93 views

cannot find a way to install php's pecl bbcode exentsion

Is there an easy way to install php's pecl bbcode extension on ubuntu? When using it on LAMP?
4
votes
1answer
9k views

Magneto not seeing mcrypt in LAMP

I am running Ubuntu 13.10 desktop and installed a lamp stack (Apache 2.4.6, and PHP Version 5.5.3-1ubuntu2), and I set up virtual hosts. I also apt-get'ed php5-curl, and php5-mcrypt (no errors when ...
0
votes
1answer
50 views

Upgrading Ubuntu Server to a recent version would update PHP too? This result in any problems?

I use Ubuntu Server 10.04 and PHP 5.3.2, if I upgrade the server to a more recent version, the PHP would update too? Would this process result in some problem in the settings of PHP, like previously ...
2
votes
2answers
2k views

Install older version of PHP with apt-get

I am trying to install an older version of PHP on my system. I installed Ubuntu 12.04.3 and have tried sudo apt-get install php This does successfully install php 5.3.10-1ubuntu3.8, however I ...
2
votes
0answers
106 views

Coordino permission issues?

I have downloaded the Coordino and wanted to run it on Ubuntu, tried to run it but its giving the following errors Warning: require(app/webroot/index.php): failed to open stream: Permission denied in ...
1
vote
1answer
50 views

Packages for web development

Could somebody tell me what packages do I need to download to have an Apache server on my PC and to be able to use Php, JQuery, javaScript and mysql? Thanks in advance!
8
votes
3answers
33k views

How to configure Apache to run PHP as FastCGI on Ubuntu 12.04 via terminal?

I'm relatively new to the world of unix command line web server management/administration. Many hosts with control panel administration options allow you to change how PHP is run with a simple ...
1
vote
2answers
364 views

Testing a php file for school with fopen() function, which does not work because of… permission issues?

I'm using Ubuntu in my laptop. Every time I turn it on, and after Ubuntu initializes, it ask me for my admin password, wich I do provide, in order to be able to use it. I've installed Sublime2, and ...
0
votes
1answer
2k views

cannot access ‘xampp-linux-x64-1.8.3-1-installer.run’: No such file or directory

I am a complete novice with Linux Ubuntu. When installing xampp it occurs to me this message: Can not access 'xampp-linux-x64-1.8.3-1-installer.run': No such file or directory I followed these ...
1
vote
1answer
3k views

403 forbidden error for all local projects after updating php and apache

I have 5 web app projects in my local machine with Ubuntu 12.04 installed on it. Everything was good, but today when I started a new project with symphony, I found that I should upgrade php to 5.4.x, ...
0
votes
1answer
223 views

apache2 wont display a folder - while another folder works…confused

I am on Ubuntu 13.10 PHP5 and am an intermediate PHP developer Exact same file (1.php) in 2 diff folders - one works and the other doesnt... http://localhost/vetpro2/1.php The above works as ...
0
votes
1answer
165 views

Changed apache www folder

So I changed it from /var/www to /home/John/Dropbox/www and I also did chmod 755 /home/John/Dropbox/www but it still says You don't have permission to access / on this server. I forgot how to do ...
2
votes
1answer
490 views

Please install an MTA on this system if you want to use sendmail!

I get this message in /var/log/apache2/error.log everytime a cronjob on my desktop wgets a php page that tries to send an email. How can I install a dummy so this message is gone? I already have ...
1
vote
2answers
535 views

LAMP Server with multiple PHP Versions

I am looking for a way to install multiple versions of PHP on my notebook to work on different projects that require different versions of PHP. I have Ubuntu 13.10 and installed apache2, php5, mysql ...
1
vote
2answers
373 views

Are Apache, PHP and MySQL installed by default?

Are the Apache server, PHP, and MySQL installed by default when you install Ubuntu 13.10, or should you install them separately later? Original question: Quiero saber si en la instalación de ...
0
votes
1answer
706 views

Can't Install php5-msql

Hello friends I'm finishing the process of installing Apache/Php/mysql installations but this shows up: # sudo apt-get install mysql-server php5-msql Reading package lists... Done Building ...
0
votes
3answers
753 views

Debugging PHP apps with Kdevelop

I am using kdevelop 4.5.1 and I would like to debug php apps. I made a search and I found this article: http://nikosams.blogspot.com.es/2010/02 ... ugger.html which is from 2010 but I don't know how ...
1
vote
1answer
1k views

How do we install PHP extensions for Phoronix Test Suite?

The phoronix-test-suite package provides a good way to benchmark one's hardware. After installation using Software Centre on Ubuntu 13.10 Saucy Salamander, the package does not run properly. The ...
0
votes
1answer
223 views

libc-bin errors when trying to install php

i am trying to update and install php into my ubuntu server 12.04 using the command below: apt-get upgrade php apt-get install php5-curl php5-gd php5-mysql php5-pgsql However i receive this error ...
0
votes
1answer
357 views

I deleted /etc/php5. How do I restore the folder?

I removed the folder /etc/php5, after I removed the php5 package. Then I tried to install the package, but it said the folder did not exist. I looked in trash folder and couldn't find it. How do I ...
3
votes
2answers
10k views

Ubuntu 13.10 gives “Package 'libapache2-mod-auth-mysql' has no installation candidate” error [closed]

UPDATE: Because Apache 2.4 is the default version (instead of the previous 2.2) this error occurs. However as can be seen here all future versions of Ubuntu 13.10 and above will not support this ...
1
vote
1answer
5k views

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I am using ubuntu 13.10 on evaluation board and my internet is not working. Also i need to install softwares and apt-get install is also not working. Terminal says : E: Unable to fetch some ...
1
vote
0answers
634 views

Problems with php-Server (Now: Broken Apache2) - “Unmet Dependencies" - Ubtuntu Server with Plesk

I have a Ubuntu Server with Plesk insalled. My Englisch and my "linux" ist not very great! Since a few Days my PHP doesn't work. If i load a php site my Browser download the php file instead of ...
3
votes
2answers
5k views

How to install php 5.4.x on ubuntu 13.10 saucy salamander

How do I install php 5.4 on ubuntu 13.10 saucy ? On ppa:ondrej/php5-oldstable ( https://launchpad.net/~ondrej/+archive/php5-oldstable ) there are only packages up to 13.04 Please help. Thank you, ...
1
vote
1answer
265 views

Not able to install PHP5-dev in 13.04

I'm trying to run phpize in ubuntu. However, it seems that the php5dev is not installed. So I run apt-get install php5-dev However the terminal returning some error messages : Err ...