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

Updating Php 5.6.0 on Ubuntu

my question is how to update Php 5.6.0 on ubuntu if my folder with php5 is at: etc/php5
0
votes
0answers
14 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 ...
0
votes
1answer
31 views

Php.ini file change not reflecting in phpinfo()

My php.ini settings are not reflected in phpinfo. It still shows upload_max_filesize as 2M but I have set it to 50M in php.ini. Can you please tell how to change php.ini properly? I'm using Ubuntu ...
1
vote
1answer
16 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
23 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
13 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
0answers
6 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
130 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 ...
0
votes
0answers
11 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
0answers
16 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
52 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
28 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
24 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 ...
-1
votes
0answers
41 views

How to access /var/www/ directory on ubunto 14.04 [duplicate]

I can't access this directory, and also not creating any file delete or remove why ?
1
vote
2answers
31 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 ...
-1
votes
0answers
85 views

How To Check That My Server Is Online Or Not Using PHP? [closed]

I am using Ubuntu Server 14.04 LTS on my server that have an IP XX.XX.XX.XX and port 7550. Now when I open my server on proxy using http://XX.XX.XX.XX:7550/index.html then its working and showing my ...
0
votes
0answers
12 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 ...
-1
votes
0answers
9 views

unable to uinstall kibana in ubuntu

I was working on some data visualization project in which i had to install kibana , elastic search , logstash, redis and ngnix server. Now i tried to uninstall all but kibana is not removing . I am ...
0
votes
0answers
32 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 ...
1
vote
1answer
33 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
18 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
2answers
32 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
3answers
76 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 ...
0
votes
0answers
40 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
35 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 ...
2
votes
1answer
38 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 ...
0
votes
1answer
19 views

How to configure zend framework 2 with vhost?

I followed the tutorial of zend framework 2, but the following error occurs when I try to view the page of the application . I configured vhost like this: <VirtualHost *:80> ServerName ...
0
votes
1answer
90 views

Mcrypt PHP extension required. Laravel, Xampp error

I'm having trouble with Ubuntu 14.04, Xampp and Laravel. I'm getting Mcrypt PHP extension required. Script php artisan clear-compiled handling the post-install-cmd event returned with an error when ...
0
votes
2answers
49 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 ...
0
votes
0answers
32 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 ...
1
vote
0answers
18 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 ...
-1
votes
0answers
20 views

Codeigniter web app is not working with the linux but here on windows is fine

i have install wamp server on my windows and i set my application(codeigniter) there is working fine. but here on linux(ubuntu 14.04) other php application are just woking fine (i'm running my php ...
0
votes
0answers
45 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
35 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
22 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
39 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
93 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
64 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
88 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
82 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
23 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
67 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 ...
-1
votes
0answers
25 views

Not able to login to phpmyadmin home

I am unable to enter te dash board of phpmyadmin data base. The login screen comes and after entering the credentials it is not logging in. Instead the same screen is coming. previously i unknowingly ...
0
votes
1answer
92 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
78 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
26 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 ...
1
vote
1answer
41 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
32 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
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 ...