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

Uninstall PHP 5.3 Ubuntu 14.04

I recently followed instructions given by AgentCool in Installing PHP 5.3 in Ubuntu 14.04. And I have PHP 5.3.28 as >PHP PHP 5.5.9 as >PHP5 How can I undo these steps and go back to original ...
9
votes
2answers
41k views

Find the correct php.ini file

I am currently trying to locate the correct php.ini file to edit it and restart apache so the changes will take place and I'm stumped. What I have done... I have found three different php.ini files ...
1
vote
1answer
41 views

Location to edit xdebug.max_nesting_level in ubuntu 14.04 PHP using Lighttpd

I am getting fatal error maximum function nesting level of '100' reached aborting.. It seems I have to edit xdebug.max_nesting_level from 100 to more. But I am unable to find the correct file ...
1
vote
1answer
73 views

php not running on ubuntu 14.04

OS: ubuntu 14.04 Apache2: 2.4.7 php: 5.5.9 I've just made a fresh install a few days ago. Then install LAMP, set up apache virtual hosts, etc. Everything seem to be running fine... except for php. ...
1
vote
0answers
28 views

Cannot load /usr/lib/apache2/modules/mod_mpm_itk.so

I ran tasksel to install lamp server, but I accidentally delete everything, when I got everything work as before I noticed that apache is not working and here is there message I get while trying to ...
0
votes
4answers
1k views

Laravel loading error in Ubuntu 14.04

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

Temporarily unable to connect to database

I've got a fully patched Ubuntu 12.04 Server VM that I'm using to host a few low traffic sites. My site is PHP (WordPress) and uses mysqli to connect to a MySql database - pretty standard stuff :) ...
2
votes
1answer
200 views

Should I upgrade to “Ubuntu 14.04 'Trusty Tahr'” from “Ubuntu 12.04 LTS” and what care do I need to take if I upgrade? [duplicate]

I'm basically a Web Developer(PHP Developer) by profession. I mainly work on PHP, jQuery, AJAX, Smarty, HTML and CSS, Bootstrap front-end web development framework. I've also installed and using ...
1
vote
1answer
2k views

Is it possible to execute terminal commands using PHP?

Is it possible to execute terminal commands using PHP? I need to display cores alloted to each VM and some other details of the virtual machine. Am using KVM. can anyone help to do so. Am using Ubuntu ...
0
votes
0answers
21 views

Joomla with postfix php mail not working

I am getting this error in mail.log (after trying to submit a contact form): fatal: Recipient addresses must be specified on the command line or via the -t option Its worth mentioning that I have ...
0
votes
1answer
202 views

Error installing two PHP Versions Ubuntu 12.04 with Plesk 11.5

I'm trying to install a additional PHP Version (5.5.10) on a Root Server running Ubuntu 12.04 but I keep running into errors during configure. It keeps giving me the following error: error: Cannot ...
0
votes
0answers
21 views

phpmyadmin not longer working after updating ubuntu LTS12.04 to ubuntu LTS14.04

After I upgraded Ubuntu 12.04LTS to Ubuntu 14.04LTS, I found that phpmyadmin is no longer working by calling http://localhost/phpmyadmin. It did work on before upgrading. Now I get this when trying ...
0
votes
2answers
62 views

Compute folder size for a given file extension only

I have a folder containing all my PHP projects, I'd like a command that would output the folder size of each project but only for the *.php files inside it. Ideally the output would be something like ...
1
vote
1answer
1k 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 ...
1
vote
1answer
68 views

Config test failed when restarting Apache

When I tried to restart apache2 i got the following error. * Restarting web server apache2 [fail] * The apache2 configtest failed. Output of config test was: ...
0
votes
1answer
47 views

Install php tidy to sublime on ubuntu 14.04

I am using sublime text version build 3059 on ubuntu 14.04. I want to install php tidy in my installed sublime. So can someone tell me how to install php tidy. I am using sublime text for the first ...
0
votes
1answer
121 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
2answers
35 views

Do higher level scripting languages use shell scripts to work?

I'm just learning about bash and when I saw that bash uses 'echo' I tried to search for the relationship between PHP and bash and it seems like people are building programs were bash script and PHP ...
0
votes
0answers
18 views

PHP script might be prevented form uploading file because of permissions

I recently had issues with a PHP upload script that refused to move uploaded files to a permanent directory. After numerous alterations and debugging attempts to the script (that previously worked on ...
0
votes
3answers
83 views

How to access a website under Ubuntu

I am newbie to Ubuntu and trying to migrate from Windows but there is something I can't understand in web developing. In windows I just install the server and make a folder in the www folder or ...
42
votes
2answers
58k views

What is the easiest way to enable PHP on nginx?

What is the easiest way to enable PHP on nginx on Ubuntu 12.04? Best solution is the one that request minimal work, ideally just a package installation :)
1
vote
3answers
15k views

How to install 32-bit version of libstdc++.so.6 on a 64 bit machine

I need to install the 32-bit version of libstdc++.so.6 on a 64 bit Ubuntu 8.04.2 server. when i tried apt-get install ia32-libs, it says root@devserver:~/downloads# apt-get install ia32-libs ...
1
vote
1answer
50 views

How to remove all traces of curl installed using libcurl package (.tar.gz)

I have installed curl package in ubuntu 12.04. I tried the sudo apt-get install php5-curl method but it did not work. I downloaded the curl-7.37.1.tar.gz package from ...
0
votes
0answers
40 views

Enable php script to delete file

I have Ubuntu 12.04 on my server. I am trying to delete files using a PHP script. but It does not allow me. every time I use unlink it gives me Permission Denied message. I am not allowed to use ...
0
votes
2answers
54 views

Unable to upload files (pdfs, images) larger than 1 MB

I have recently started PHP and Mysql project development on Ubuntu. In one part of the project I need to upload files. But my script is not uploading anything larger than 1 MB nor does it show any ...
0
votes
0answers
25 views

Immediate “Maximum execution time” in php5 on Ubuntu 14.04 without parsing the script

I'm running a webserver on my pandaboard with ubuntu 14.04. At the moment lighttpd is installed with php5 (release: dfsg-1ubuntu4.3). After a fresh start of lighttpd everything works fine. All php ...
0
votes
0answers
81 views

Downgrade to PHP 5.4 on Ubuntu 14.04

I need to downgrade to PHP 5.4 mostly because of the mysql_* functions support. This question was already asked but the answers seems to be old and not working anymore. I've been searching for ...
0
votes
1answer
60 views

call shell script from php when ubuntu 14.04 (rightly) disables the shell for www-data

I just migrated from 12.04 to 14.04. 14.04 (sensibly) disables login / shell for www-data. But my php site needs to run some shell scripts to run stuff like kindlegen, rsyncing files to another server ...
0
votes
2answers
168 views

nginx and php5-fpm not working

before anything i searched everywhere and tested everything but still not working i install php5-fpm and nginx when i open localhost in browser i see this page : Welcome to nginx! so its working ...
2
votes
1answer
42 views

DISABLE all mail functions in Ubuntu [closed]

I have a standard staging environment on a Ubuntu server (LAMP), with a couple of webpages on it. There are some webpages that send Emails on particular workflow events. I have to run few tests on ...
1
vote
1answer
2k 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
0answers
20 views

Eclipse for php and java packages

I installed Eclipse for PHP and Java projects. I tried to create a project and files and realized that there are no packages for developing PHP and Java. Is there any way to install those packages for ...
2
votes
1answer
529 views

How to enable event MPM Apache 2.4 on Ubuntu 14.04 with thread safe PHP?

I upgraded to Ubuntu Server 14.04 expecting the default apache installation would use the new event MPM, but instead I find the old memory-eating prefork. I've successfully set up event MPM in Arch ...
0
votes
0answers
61 views

Application doesn't launch on startup (autostart) inside docker's container

the problem I faced with is none of applications doesn't launch on the system boot. I have image based on ubuntu:14.04 installed Nginx, Php5 and Mariadb. On every boot (!) I have to start services ...
0
votes
3answers
755 views

How to install php-gtk?

I can't find it in the repositories.I am using Maverick.
1
vote
0answers
26 views

After Xampp install php files downloading when called

I recently installed xampp and when ever my html file calls a php script firefox downloads the script instead of running it. I have the php5 module installed and this is what my apache hhtpd.conf file ...
0
votes
0answers
81 views

captive portal and squid3 transparent mode

http://aryo.info/labs/captive-portal-using-php-and-iptables.html I did at practice. but squid (transparent mode should be) entered in the access.log s pages can not see. I use the following iptables ...
0
votes
0answers
58 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
29 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
68 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
269 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
13 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" => ...
0
votes
1answer
370 views

Libvirt-php Creating Domain

Could you tell me how to create a new domain? From PHP API Reference guide: http://libvirt.org/php/api-reference.html I have seen these functions: (i) libvirt_image_create($conn, $name, $size, ...
1
vote
0answers
211 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
132 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
31 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
160 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
27 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 ...
0
votes
1answer
273 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 ...
0
votes
3answers
323 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 ...