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
3answers
320 views

Can't get rid of PHP 5.4.4

I recently upgraded from PHP 5.3.4 to PHP 5.4.4, and now I want to downgrade. I removed all the packages through apt-get remove php5 after removing the repository, and then ran apt-get install php5 ...
1
vote
0answers
59 views

Problem with Apache - not starting?

I was trying to install ion cube, I was looking at an instruction online, and just copying and pasting commands to Putty I realized that I was trying to install a 32 bit version on my 64 bit ...
1
vote
1answer
39 views

Is there a gedit plugin that will detect errors in php code?

I dont know if this is even possible inside of gedit, i know there are third party editors that will do this but i like gedit and would like to know if anyone knows of such a plugin because i cant ...
3
votes
5answers
4k views

Mcrypt extension is missing in 14.04 server for mysql

The php mcrypt extension on ubuntu 14.04 shows that it is installed properly, but phpmyadmin says: The mcrypt extension is missing. Please check your PHP configuration. My current php config is ...
1
vote
1answer
6k views

Ubuntu 13:10 - Downgrade php 5.5.3 to 5.4

Can someone give me step my step instructions on how to do this? Will I have to worry about and data/databse loss doing this. Thanks! sudo apt-get remove --purge dpkg -l | grep php | grep -w 5.5 ...
5
votes
2answers
9k 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: ...
0
votes
2answers
853 views

Changes for upload_max_filesize, memory_limit & post_max_size in the php.ini aren't affect

I'm trying to increase the upload_max_filesize etc in order to import bigger files with PHPMyadmin. I have changed the php.ini and restart Apache. I can see the changes on the PHPMyadmin import ...
0
votes
1answer
31 views

var/www won't work [duplicate]

I've installed the LAMP stack on my Ubuntu 14.04 laptop using the command: sudo apt-get install apache2 I went to localhost and it shows the typical tree (Index of ... ...
0
votes
1answer
115 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
22 views

Find out what php librariers are installed

I really hope this question is no duplicate, but I just can't find an answer. I'm new to Linux and PHP. I have a manual telling me that I need PHP with certain libraries installed. Is there a ...
0
votes
1answer
79 views

How to install PHP MySQL extensions

I just installed a new server which comes with php 5.5. however one of my older projects requires php 5.3. So I installed php 5.3 with wget http://www.php.net/get/php-5.3.28.tar.bz2/from/a/mirror ...
0
votes
1answer
3k 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 ...
0
votes
3answers
5k views

How to install php IMAP for php5-fpm?

I'm trying to install Vtiger CRM on ubuntu. This require IMAP. How to install PHP IMAP for php5-fpm?
0
votes
0answers
38 views

Pogramming php on Ubuntu

Could you please tell me how to use xampp (like on windows) on ubuntu step by step? I would like to program in php with PhpMyAdmin.... But I'm in trouble because what I did in last few weeks didn't ...
0
votes
1answer
51 views

Unexpected PHP version 5.5.15rc1 from ppa:ondrej/php5

I've just upgraded from Ondrej's oldstable 5.4 to 5.5 package on 12.04 - which was smooth. The version installed is 5.5.15rc - I wasn't expecting the rc bit. Will an upgrade regularly include RC ...
-1
votes
1answer
69 views

Upgrade php command line to 5.5.9

I am using Ubuntu 14.04. I have php installed. When I check phpinfo() from browser I get 5.5.9. But when I check from command line, I get 5.3.28. How can I make the command line php also to 5.5.9 ? i ...
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
32 views

New Ubuntu Server and PHP

I just installed a fresh version of Ubuntu 14.04 Server on one of my computers. I installed everything to make it run like a typical web server (including PHP). My problem is, I have a contact form ...
0
votes
0answers
19 views

Is there a way to set up zPanel or webmin without uninstalling LAMP first?

I set up my server manually and am pretty happy with it. It's been a job of months, chipping away at it every day, and at this point I don't want to reinstall LAMP. But all server management software ...
0
votes
1answer
101 views

setresuid operation not permitted when calling via php

I've got following Problem: my Apache and PHP script are running as user www-data. I want to call a script that can only be executed as root, so I added a new File to /etc/sudoers.d to allow this ...
1
vote
0answers
29 views

Error message odbc_connect(): SQL error: [unixODBC][FreeTDS][SQL Server]

I'm trying to get my Ubuntu server to connect to my SQL server, without a lot of luck. I keep getting the error: Warning: odbc_connect(): SQL error: [unixODBC][FreeTDS][SQL Server]Unable to connect ...
0
votes
0answers
32 views

ubuntu 14.04 and php 5.4

I am running ubuntu 14.04 . Previously i was running php 5.5 on apache2 server . Due to some specific requirements , i had to run php 5.3 . I did it by removing the current version and installing php ...
1
vote
1answer
51 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
25 views

Apache status suddenly stops

I have a problem with my apache, I am running Ubuntu server 12.04 on a VPS. I have a basic LAMP stack, my problem is this, every few days apache will just stop and I will just notice this if I checked ...
0
votes
0answers
27 views

Client error response [status code] 413 [reason phrase] Request Entity Too Large [url]

I am trying to upload a file to OpenStack's container. I can upload small files to the container successfully but not able to upload large files like 1 MB or larger than 1 MB. I am getting this ...
0
votes
1answer
28 views

how to direct php version to php in LAMPP to set default?

i'm just newbie in ubuntu i have install php before install lamp, when i type "which php" ==> /usr/bin/php not to direct in directory php in LAMP because php in LAMPP have enable mcrypt...but php in ...
1
vote
1answer
165 views

ubuntu 12.04 - fuser high cpu

The problem is fuser high cpu and server load high. root 20 0 7580 840 692 D 10 0.0 0:00.31 fuser 16061 root 20 0 7580 844 692 D 10 0.0 0:00.31 fuser 16062 root ...
1
vote
0answers
52 views

How do I downgrade php5.5.3 to 5.4?

I am trying to downgrade php from 5.5.3 to 5.4. I tried to find a 5.4 version using aptitude versions php5-common Package php5-common: p A 5.5.3+dfsg-1ubuntu2 saucy ...
1
vote
0answers
42 views

Why my apache service does not work correctly?

I am just a newbie using Ubuntu 12.04 LTS. In the beginning, I just want to install mcrypt, I followed this solution: cd /etc/php5/mods-available ln -sf ../conf.d/mcrypt.ini . php5enmod mcrypt ...
0
votes
1answer
317 views

php5enmod returns command not found

I've tried a number of guides on this issue, but so far I cannot get php5enmod mcrypt to work. Ubuntu 12.04 PHP 5.3.10 Here is the output ls of /etc/php5/conf.d and /etc/php5/mods-available ...
0
votes
1answer
63 views

Could Not Connect: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I am new to Ubuntu and using Ubuntu Server 14.40 LTS. I am trying to connect my mysql database to show database data on a php file but I am not able to connect it. I am getting error Could Not ...
2
votes
2answers
70 views

sending email from cron with correct format

I am stuck when sending email in correct format from cron jobs executing my php script which fetches records from mysql database. i have a php script which fetches records from database and renders ...
0
votes
1answer
9k 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 ...
1
vote
3answers
7k 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 ...
1
vote
1answer
101 views

Unable to get error stack trace or error log while using php-fpm + nginx on Ubuntu 14.04

I am using php-fpm 5.5.9 along with nginx 1.4.6 on my Ubuntu 14.04 machine. I have installed them using apt-get package manager. I am unable to get a stack trace of the error that my index.php script ...
2
votes
5answers
143 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
2answers
50 views

PHP is not working with Apache on Lamp server

I have lamp server on ubuntu, The apache2 is successfully installed and local host is working. But I have no way to create/copy to the www folder, also my phpmyadmin is not working.
5
votes
2answers
3k views

Install PECL packages on ubuntu

I've tried it a 100 times I'm really new to Ubuntu and ended with a bunch of error that I don't even understand can any one please help me?? Here is what I did: I installed PHP I installed libcurl ...
0
votes
1answer
63 views

Laravel loading error in Ubuntu 14.04

When I tried to access my laravel after successfull installation, instead of the default page it shows an error in the webpage. Mcrypt PHP extension required. I have tried some fixes like this, ...
0
votes
2answers
55 views

SuPHP: PHP 403 ErrorDocument in Apache won't work

I am trying to set up an 403 error document in Apache, using a PHP file, like this (via .htaccess): order deny,allow deny from all allow from [MY_IP] ErrorDocument 403 /err403.php but it doesn't ...
2
votes
1answer
307 views

How to install PHP mbstring extension in Ubuntu?

What is PHP mbstring extension. What is the perfect way to install this extension on ubuntu 14. Thanks Regards, Rohit
68
votes
11answers
9k 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 ...
0
votes
1answer
106 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
vote
0answers
44 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)?
1
vote
0answers
24 views

Why the php statement “require” shows in the browser the content of the PHP file after upgrading my Ubuntu server from 10.04 to 14.04? [SOLVED]

In my old web server everything worked properly. After upgrading to Ubuntu 14.04,the PHP statement "require" displays in the browser the content of the PHP file pointed, instead of read it and load ...
3
votes
2answers
27k 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
1answer
53 views

add-apt-repository throws python error

Trying to install the latest PHP5 packages and so I add the repo ( sudo add-apt-repository ppa:ondrej/php5) I need and this is the outcome: Traceback (most recent call last): File ...
1
vote
4answers
6k views

Apache alias not working correctly

I have added these lines in my 000-default virtual host file: Alias /antoniocs/project "/home/antoniocs/www/project" <Directory "/home/antoniocs/www/project"> Options Indexes FollowSymLinks ...
4
votes
3answers
495 views

Any way to mass auto indent php and html code in Ubuntu?

I have about 50~ poorly indented and very very hard to read to code. Do you guys have any tips on how to indent this to make it more readable?
0
votes
1answer
280 views

How do I correctly enable PHP 5.5's OPCache in Ubuntu 14.04?

I'm setting up a local server to test configurations; it's a clean 14.04 LAMP server, as selected during OS install. If I understand correctly, OPCache comes with PHP 5.5 (php -v confirms this) but ...