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

Unable to create file /tmp/testfile: No space left on device

i have really strange situation today over one of my Ubuntu Server. this is a web server, where One PHP website is running and i have programmed this web to move the File between the Mounted drive ...
1
vote
1answer
236 views

Apache won't start - PHP issues?

I'm somewhat of a Ubuntu newb and have recently set-up a ubuntu VPS (on the azure network). I am using webmin / virtualmin as a means to administer the server and quickly * easily create and ...
0
votes
1answer
30 views

Apache can't start on Ubuntu

I have the following error that's appearing in my log errors in the file /var/log/apport.log ERROR: apport (pid 27860) Fri Aug 7 20:03:43 2015: called for pid 27856, signal 11 ERROR: apport (pid ...
0
votes
1answer
46 views

not getting output in terminal while running the php script

test3cron.php <?php @ob_start(); session_start(); $callbackUrl = "http://mgstore/test3cron.php"; $temporaryCredentialsRequestUrl = "http://mgstore/oauth/initiate?oauth_callback=" . ...
0
votes
2answers
37 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
32 views

Prevent multiple login in squid authentication

I am using a 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 from ...
0
votes
0answers
22 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
1answer
25 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 ...
-1
votes
1answer
61 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 ...
3
votes
3answers
8k views

Hosting my own Cloud IDE like cloud9

Hi I have a headless ubuntu server and would like to install some sort of cloud9 like IDE - any suggestions with instructions? Code highlighting and hinting would be excellent. This is for mainly PHP ...
2
votes
2answers
5k 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 ...
0
votes
0answers
22 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 ...
8
votes
6answers
54k views

how to correctly install apache2, php5, mysql and phpmyadmin

What is the most correct method of installing apache 2 server, php5, mysql and phpMyAdmin? I installed it this week, and I had a lot problems without solutions, so now that I reinstalled Ubuntu 13.04 ...
7
votes
2answers
13k 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
0answers
18 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
2answers
27 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
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
1answer
73 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 ?
2
votes
2answers
329 views

Wordpress alias problem

I have configuration like this: Alias /blog /usr/share/wordpress Alias /blog/wp-content /var/lib/wordpress/wp-content <Directory /usr/share/wordpress> Options FollowSymLinks ...
0
votes
0answers
36 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
1answer
3k views

Downgrading PHP from 5.5 to 5.3 on Ubuntu 14.04

now, I know that this question has been asked tons of times over the internet, but I followed lots of tutorials on the argument without being able to get to the answer. This is my situation: Ubuntu ...
0
votes
0answers
36 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 ...
16
votes
3answers
62k views

How to configure Apache to run PHP as FastCGI on Ubuntu 12.04 via terminal?

I'm relatively new to the world of unix command line web server management/administration. Many hosts with control panel administration options allow you to change how PHP is run with a simple ...
0
votes
0answers
27 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 ...
1
vote
1answer
2k views

Why did /usr/lib/php5/sessionclean run 50 times simultaneously on my 14.04 system?

When I sat down at my Ubuntu 14.04 system this morning, the root cron job /usr/lib/php5/sessionclean was running over 50 times at once, producing 50+ copies of the following commands: root 8147 ...
1
vote
0answers
29 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
1answer
41 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 ...
2
votes
2answers
291 views

Does the apache/php5 package include Zend?

I'm loading up a fresh development computer for one of my new hires. As a standard, I put in a very basic LAMP server on all of our development computers. The one I'm currently loading is running ...
52
votes
5answers
115k views

Global Installation of Composer (manual)

I followed composer manual (global installation of composer (manual)) to install composer on Ubuntu. $ ll /usr/local/bin/ total 4760 drwxr-xr-x 2 root root 4096 2012-03-29 08:29 ./ drwxr-xr-x 10 ...
0
votes
0answers
24 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
19 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 ...
3
votes
0answers
56 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 ...
-1
votes
2answers
69 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.
1
vote
0answers
89 views

How to run php files in ubuntu?

I installed apache2, php5 and mysql. http://localhost/ url in browser shows it works. I saved a php file in /var/www/ as testphp.php. Code in the file is.. <?php phpinfo(); ?> Now on entering ...
0
votes
0answers
14 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 ...
0
votes
0answers
31 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 ...
0
votes
1answer
81 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 ...
0
votes
0answers
65 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 ...
2
votes
2answers
6k views

How to fix phpMyadmin login?

I've isnstalled phpMyAdmin with apt-get install phpmyadmin. When I open "http://localhost/phpmyadmin/", enter "root" as the user name and my MySQL root password and press go, then if I use Firefox, I ...
0
votes
1answer
47 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 ...
-1
votes
2answers
106 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
0answers
16 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
57 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
3answers
110 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 ...
3
votes
5answers
2k views

After upgrading to 12.04 from 10.04, can't login to PHPMYADMIN

I just can't login to PhpMyAdmin anymore, it says bad logins. PHP works perfectly. Please help. Thank you. 2002 Cannot log in to the MySQL server Language Log in Username: Password: Connection for ...
1
vote
0answers
29 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
23 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 ...
1
vote
1answer
89 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 ...
0
votes
0answers
30 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. ...
2
votes
1answer
98 views

Error while installing phpmyadmin package in ubuntu 14.04 [closed]

root@anonymous-20-a213l:~# apt-get -y install phpmyadmin Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may ...