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
13 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
35 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
13 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
16 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
26 views

Getting permission denied while Posting xml using Curl? [on hold]

I have to post a xml to a url to be consumed by some web service. I am using Cent OS 5.6 Apache/2.2.3 (CentOS). When I post from command line using curl-d@"abc.xml" http://example.com It gives me ...
-1
votes
0answers
35 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
28 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
58 views

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

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
11 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
7 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
25 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
23 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
17 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
24 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
72 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
24 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
27 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
36 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
0answers
12 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
54 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
37 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
27 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
16 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
11 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
30 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
24 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
19 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
30 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
65 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
53 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
56 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
67 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
22 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
47 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
22 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
47 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
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 ...
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
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 ...
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 ... ...
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
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 ...
-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 ...
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
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 ...
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 ...
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 ...