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
1answer
9 views

Who do I install PHP Blenc on Ubuntu 14?

What is the easiest way to install PHP Blenc on Ubuntu 14?
0
votes
0answers
5 views

Prevent multiple login in squid authentication

I am using a custom php script that read a sql database to authenticate squid3 proxy users on a ubuntu server 14.04. However it allows multiple simultaneous logins with the same username and password ...
0
votes
1answer
11 views

How to connect .sql file to MySQL Server to work with application server

I have an information system programmed using XAMPP. It has a .sql file, in which I'm sure it is a database file. I used Ubuntu Server and installed LAMP on it. I put the info. system in the server ...
0
votes
1answer
20 views

have a problem with Syntax error on line 221 of /etc/httpd/conf/httpd.conf:

I am moving all my files from old server to the new one, i installed apache, but when i try to run it i am getting this error. Starting httpd: httpd: Syntax error on line 221 of ...
0
votes
0answers
11 views

Use Php 5.3 on xampp 1.8 on ubuntu 12

I have ubuntu 12 with lampp 1.8 with php 5. My application need php 5.3 so I want to use php 3 on lampp 1.8. How to achieve this? I tried lampp 1.7.7 and 1.7.4 but mysql could not start. How to ...
0
votes
0answers
8 views

Problem with Phpstorm 9.0.1 on Ubuntu 14.04

I installed Phpstorm 9.0.1 on Ubuntu 14.04 And set php interpreter on php storm setting but when I click on browser icon on PhpStorm to open file in browse, it open browser and show:
0
votes
0answers
9 views

Blank Page of phpMyAdmin

guys. I want to ask. I have Ubuntu Server 14.04 LTS with eth0 IP : 192.168.0.252 and lo IP : 127.0.1.1 and connected with local network. 2 client PCs are connected too. (I'm sorry previously because ...
0
votes
0answers
13 views

please help me new to ubuntu having problems in LAMP [duplicate]

tell me how can i use written code of php in my editor server, where to place ? in var/www folder ? but when it did that it's access is denied
0
votes
2answers
22 views

apache2,php and mysql - facing problem in editing the files and loading them in browser

friends, I have installed apache2 , php and mysql but now the problem is I don't know where to write the programs and put them back into the server folder so that I can access them back.My file i.e ...
0
votes
1answer
27 views

I forgot my Phpmyadmin username and password?

I forgot my Phpmyadmin username and password.I have installed phpmyadmin very long back but I forgot those login details now what should I do to access back the phpmyadmin panel ?
0
votes
0answers
14 views

Please help me solve this eclipse mars php ide problem?

I recently installed the new eclipse mars but when i write php code and try to run it it gives me this message; Not Found ...
0
votes
0answers
8 views

HTML form data not getting to PHP handling program

I am sure this question must have been asked and answered but I cannot find an answer that works for my problem anywhere on the internet. I cannot get any html form data to show up in the php program ...
0
votes
0answers
9 views

HostGator to Amazon PHP send mail not working

After I transferred hosts from hostgator to aws ubuntu, all my send mail does not work. for example when someone register's, it is supposed to send an automated email to that user. I am using X-Mailer ...
0
votes
0answers
22 views

php file_get_contents causes segmentation fault (11)

I'm having a problem where the php function file_get_contents causes segmentation fault (11) error. This problem started when many of my php scripts suddenly started causing browser errors like ...
1
vote
0answers
22 views

Cron job doesn't execute php file and normal file

I have two files, that needs to be executed every evening. PHP file contains the latest records from database, and creates a source file in same directory. And a normal file, even doesnt execute. I ...
0
votes
0answers
11 views

Remove index.php in url on ubuntu server 14

I just set up my ubuntu server 14 on local network complete with lamp and a test codeigniter php framework with an .htaccess containing, RewriteEngine on RewriteRule ^$ /index.php [L] RewriteCond ...
0
votes
0answers
13 views

fopen with a+ fails due to permissions

In php, I am calling fopen(filename, 'a+') in a directory that belongs to www-data and has permissions 777. The resulting permissions of the file created by fopen are 644, and so I get FALSE for the ...
2
votes
0answers
25 views

How can I build PHP5 Dependencies while having MariaDB installed?

I am trying to build php5 dependencies on Ubuntu 14.04.2 LTS. Unfortunately I get the following error message. % sudo apt-get build-dep php5 Reading package lists... Done Building dependency tree ...
0
votes
1answer
28 views

PHP file doens't reload [closed]

I'm running a lamp server to develop php. Everything was just working fine until I tried my script. I have a html form file which after being submitted to the server leads to a php file, the html file ...
0
votes
0answers
7 views

Server: problem with OPCache extension installation, PHP version conflict

On Ubuntu server i have problem with installation ZEND Extensions. Propably because i have two versions of PHP. Apache2 uses version 5.4.3 ... same returns when i use command "php -v" But when i ...
-1
votes
0answers
10 views

GLPI dosen't work on browser [closed]

i'm running GLPI 0.84 on Debian Jessie, the solution is installed on a virtual machine.Since 2 days when i try to access to Glpi using the browser, a blanck page is shown and there's any word about an ...
0
votes
0answers
16 views

How do use .htaccess on Ubuntu 14.04.2 LTS?

I'm novice. I'm use Ubuntu 14.04.2 and I'm set .htaccess in directory /var/www/example.com/.htaccess But ny script hello.php can't work run error 500 internal server error. First Step : 1. change ...
-1
votes
0answers
31 views

how do use ubuntu 14.0 sent mail function php multiple mail in one file [closed]

I'm beginner use ubuntu on my website but I don't know how to set ubuntu sent multiple mail? 1. I'm install **sudo apt-get install postfix** set by internet 2. after I'm use file bird.php sent mail ...
0
votes
0answers
48 views

executable running without sudo but not with sudo

I installed xampp in my system and it is installed in the location /opt/lampp. After that i added the php location to path varialbe using export PATH=$PATH:/opt/lampp/bin. So when i run php -v using ...
-1
votes
4answers
38 views

How to set up an environment for executing PHP files in Ubuntu 14.04?

I am coming from Windows.In Windows,i used WAMP and Adobe Dreamweaver CS 6. In Ubuntu, I am going to use Bluefish Editor. I need to setup LAMP(Linux Apache MYSQL PHP) and Phpmyadmin.Please give me ...
0
votes
1answer
33 views

Xdebug with php5.6 not working

Until yesterday I used Ubuntu 14.04 with php5.5 and nginx, everything working perfectly including xdebug. I then updated to php5.6 via sudo add-apt-repository ppa:ondrej/php5-5.69 sudo apt-get ...
-1
votes
2answers
27 views

Can't find httpd.conf

I have installed Ubuntu 14.04 on a laptop and installed apache 2 (version 2.4.7) and PHP 5. I cannot find httpd.conf. I need to change it because when I try to open a .php page I see a download box. ...
0
votes
1answer
34 views

PHP returning blank pages

So everything was working fine after I changed some permissions of a folder inside /var/www/html. It was just a random project. IIRC I just did chmod u+x, that's it. This created the whole mess, I ...
-3
votes
0answers
14 views

Recurrent error in Ubuntu 14.04 Lemp Stack

I am running a tracker (CPVLab) on a Lemp based server, the php site appears to be functioning correctly but I have a recurrent error in the logfile: "2015/07/23 14:30:57 [error] 1302#0: *10 FastCGI ...
0
votes
0answers
13 views

Apache indexing options

OK so I've got my web server up and running and I'm really happy with it. Only thing is, the site software (PHP CMS type setup) I'm using is telling me to disable indexing on a particular folder for ...
1
vote
0answers
36 views

How to check if a cron job is running or not through php script?

Back to my question How to check if a cron job is running or not?, the answer there is valid which stated to redirect output to a file and test. 15 * * * * /usr/bin/php ...
1
vote
0answers
20 views

Is it possible to use APCu with XAMPP on Ubuntu?

I've spent two days trying to install it with my php5.5.15 on Ubuntu 12.04.4 LTS. Just curious if anyone out there ever got it to work. If so, please help.
0
votes
1answer
22 views

How can I stop another working webserver?

I get this error when I try to start Apache web server. I've been working on it for about a month and suddenly this error appeared today: error:: xampp: another webserver is already running. any ...
0
votes
0answers
30 views

Can someone please explain this mysql statement to me [migrated]

I am trying to learn mysql on my own by debugging a php program. However I am now stuck. I do not understand what this particular statement is or what it does: $StatusRequirements = array( ...
1
vote
3answers
56 views

How to check if a cron job is running or not?

I added the following command in crontab -e: 15 * * * * php /home/rizwan/PHP-workspace/mgstore/testcron.php I need to run testcron.php every 15 minutes; for testing purposes I used the following ...
1
vote
1answer
61 views

Apache 2 on Ubuntu Server 14.02 LTS - Apache won't load index.php

I've set up a development environment in which I have a LAMP stack running on Ubuntu 14.04 LTS (runs on raspberry PI 2 B) and NetBeans on my PC and laptop. The problem starts when Im trying to ...
-1
votes
2answers
46 views

php5.3.29 on Ubuntu 14.04

I want to install php5.3.29 with nginx and mysql-server from command line on Ubuntu 14.04 64 bit. Please give some step by step guideline to install php5.3.29.
0
votes
0answers
23 views

Set up PHP+Bootstrap3 environment (Lubuntu 14.04, LXDE)

I've yet to find a guide which explains it thoroughly. I'm running Lubuntu 14.04 LXDE on a crouton distro on a chromebook. Some root privileges are a bit of a mess, but otherwise 100% ubuntu distro. ...
0
votes
1answer
28 views

Why is apache2 .htaccess rewrite not working with /index/ [closed]

I have been through many of the questions/answers and can't find a solution that fixes this issue. My rewrite is working (for the most part). The following work no problem at all: ...
1
vote
1answer
159 views

Downgrade from PHP 5.6 to 5.5

I need to downgrade my PHP from 5.6 to 5.5 Here is what I've done so far sudo aptitude purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "` Then sudo apt-get install ...
1
vote
0answers
21 views

Why is my NGINX downloading files?

I've set up a redirect so I can serve my PHP files without the .php extension, but whenever I visit a "clean" url, my browser downloads the file, suggesting NGINX isn't hosting it as a PHP file. How ...
0
votes
1answer
21 views

How can I fix phpMyAdmin, broken after Ubuntu update?

I updated Ubuntu from 14.04 to 15.04 and during the update process it asked for my dba password so it could update phpMyAdmin, however it kept refusing it. Possibly due to it saying it was trying ...
0
votes
0answers
24 views

Difference between using mysql in xampp and using mysql seperately

I have used xampp on windows to do some php programming(basic) and now i'm trying to do some python/perl database connectivity programs(again basic) with mysql. The thing is when i used xampp, it ...
0
votes
0answers
24 views

Web services integration to new server

I currently have an apache server running my Drupal web site on an ubuntu 14.04 machine. Recently we had some development work done with the site and the developers created web services with API ...
0
votes
0answers
20 views

How to display .php pages?

I am new to LAMP in my Ubuntu 15.04. I just installed the LAMP stack and to get my php info, I made testphp.php which has the following code... <?php phpinfo(); ?> I placed the file in ...
1
vote
0answers
18 views

The connection has timed out when trying to access mediawiki page. Cant figure out why its not working

For some reason, I cannot access the mediawiki website I created, it says "The connection has timed out" whenever I try to access the main page.I started randomly about a week ago, and I cannot find ...
1
vote
1answer
42 views

How to upgrade to PHP 5.4 from PHP 5.3 in Ubuntu 10.04? [closed]

I came across some information that I'll have to upgrade Ubuntu OS in order to do so, but I want to know if there are any alternatives? Because upgrading Ubuntu would be a big job for us as we're ...
0
votes
1answer
17 views

How do i stop running webserver on my ubuntu?

i've been using xampp as my local host webserver for a while untill suddenly i tried to start it today for some tutorial it says "failed to start Apache...another web server is already running,, any ...
0
votes
0answers
30 views

how to enable PATH_INFO on apache 2.4 installed on ubuntu 14.04

I’m in the process of developing a small application with php , so I’m working with apache 2.4 server and php 5.6 , the PHP_INFO won't work for me , in other forum they told me that I have to edit the ...
0
votes
2answers
159 views

Can't apt-get upgrade

So apt-get tells me to use -f install guy@server:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done ...