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
0answers
479 views

PHP mail not working on Ubuntu server

I have set up a development server using Ubuntu Server. I have configured postfix to send mail and I am able to send mail through the command line using for example: echo testing | mail -s Bla ...
0
votes
1answer
60 views

Just setup ubuntu as webserver, what about my AMP setup on my other computer do I remove it?

My question is now that I have setup the Ubuntu web server do I have to remove the Apache Mysql and php from the laptop so it doesnt conflict with the server and/or can I migrate the working settings ...
0
votes
0answers
114 views

Error While Accessing Custom Class in PHP-JAVA-BRIDGE on tomcat7 in ubuntu 12.04

HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: ...
0
votes
1answer
1k views

How to install Zend Framework 2 on ubuntu?

I'm looking for a tutorial on how to install Zendframework 2 on Ubuntu 14.04, and also a tutorial teaching how to use ZendFramework 2. Could someone help me? If it is useful to know, I'm with XAMPP ...
0
votes
0answers
22 views

“Cannot get installation XML” error while create new domain using php-libvirt

My code is: $name="TestMachine"; $arch="x86_64"; $memMB=200; $maxmemMB=500; $vcpus=2; $iso_image="/root/centos5-img/centos.5-10.x86.20131020.img"; $disk1 = array( "path" => ...
1
vote
1answer
690 views

phpinfo(); in /var/www/html not working

I'm using netbeans and have lamp installed. Now I'm trying to test the php installation so i configured netbeans to copy the files to the /var/www/html/TEST_01 folder so the file is in ...
1
vote
0answers
502 views

Installing Php-java-bridge in ubuntu 14.04 i need two servers apache and tomcat both

When I copied JavaBridgeTemplate621.war to /var/lib/tomcat7/webapps and started the tomcat7 server and trying to go to http://127.0.0.1:8080/JavaBridgeTemplate621/ I'm getting following errors. HTTP ...
1
vote
1answer
483 views

Packages are not installing!

I am trying to install packages using apt-get These are the following packages: root@ubunto:/# sudo apt-get install build-essential libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip Reading ...
1
vote
0answers
40 views

Apache2 and PHP error logging

I've been running a local apache2 on a Ubuntu 12.02 LTS with the latest PHP version installed. I do need to debug some WordPress code to find out why certain values are not set in the database. I ...
0
votes
1answer
800 views

LAMP With PHP 5.3 in ubuntu 14.04

Can I get steps to install LAMP with php 5.3 and all other supported apps like php_mysql I have tried this http://stackoverflow.com/questions/24772455/ubuntu-14-04-lts-and-php-5-3 But this didn't ...
0
votes
1answer
2k views

configure xdebug ubuntu 14.04

I can't seem to get Apache 2.4 to load my xdebug configuration. I've added: zend_extension=xdebug.so remote_enable=on to /etc/php5/apache2/conf.d/20-xdebug.ini. According to phpinfo() that file ...
1
vote
0answers
386 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 ...
0
votes
1answer
36 views

Problem in Apache Error Log?

I'm new to PHP and UBUNTU, First of all, I'll install the wine windows program loader and download the Macro-media Dreamwear. before a day it working fine but yesterday it had some problem. I'll ...
2
votes
1answer
69 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 ...
0
votes
1answer
91 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 ... ...
1
vote
1answer
25 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
844 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
0answers
42 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 ...
-1
votes
1answer
219 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 ...
0
votes
1answer
60 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
1answer
66 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 ...
0
votes
0answers
105 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 ...
1
vote
0answers
211 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
83 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 ...
2
votes
1answer
6k views

How to downgrade PHP from 5.5.9 to 5.4 in Ubuntu 14.04 (Installed with LAMP)

I need to downgrade my PHP version from 5.5.9 to 5.4 (using Ubuntu 14.04), because I have a code that's using mySQL (which is deprecated in 5.5.9), and I cannot change that code. Is there a way to do ...
0
votes
0answers
93 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
43 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
1answer
86 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
0answers
152 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
88 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 ...
1
vote
1answer
2k 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
518 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 ...
1
vote
1answer
1k 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
2answers
225 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
2answers
431 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.
2
votes
1answer
4k 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
0
votes
1answer
290 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 ...
0
votes
2answers
283 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 ...
1
vote
0answers
60 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] [closed]

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 ...
0
votes
1answer
193 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 ...
3
votes
1answer
4k 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 ...
0
votes
2answers
290 views

I got Apache working on localhost (“it works!”), but now how do I get it to work on the internet?

I can see my "website" locally but how do I get it to show up online? Does it need a domain name per se or can't I just get DNS somehow to pick up my IP address and put it online or something, I don't ...
0
votes
0answers
507 views

Lubuntu 14.04: Php5 not working with Apache2

Lately I have been messing around with Lubuntu and today I decided to try to setup a web server (Apache2) with PhpMyAdmin and MySQL Server. This was going great until I attempted to use my test page. ...
2
votes
2answers
352 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
93 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
153 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
428 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
548 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 ...