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)

1
vote
1answer
10 views

Missing imap PHP extension error

I am following this link for Kaltura installation. But I am getting issue in sudo php install.php step. sneha@SCS-I82:~/Downloads/kalturaCE_v3.0.0-instructure$ sudo php install.php Thank you for ...
0
votes
1answer
20 views

unable to use pecl_http-2.5.1

I installed pecl_http-2.5.1 but i cant seem to be able to use it: http\Client\Request' not found. phpinfo() has no indication of http being enabled. what have i done wrong?
2
votes
1answer
23 views

File .htaccess not working

I have searched the web for this solution. I ´m using a custom .htaccess. This is the content: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond ...
3
votes
1answer
26 views

how to make a BASH script to find all php.ini files in dir tree and append text to them

My hosting company advertises a php max upload size that can go up to 60M but, It defaults to 2M and I am not able to make changes to the htaccess file. I can override the default by changing the ...
0
votes
1answer
22 views

Can't view Ubuntu Server (VM) in browser, I can connect with SSH

I can't seem to be able to access my php files in a browser from my external ip. I have a Ubuntu Server VM set up on my Windows desktop. I also have a Windows laptop that I use (99% of the time, it's ...
-5
votes
0answers
12 views

Json indentation in php [on hold]

i want to change json indentation. my json { "one": { "two": "three" } } and i want, like this { "one": {"two": "three"} } un using json_encode($data,JSON_PRETTY_PRINT)
1
vote
0answers
17 views

requirements and settings to be able to stream a larger video(20 minutes over 200 meg, mp4) on a ubuntu server running apache2, php5.4 and fastcgi?

I've got it working on smaller videos using owncloud , Ubuntu 14.04, apache2 fast CGI, etc. It works on a 1 minute video but if it is longer than 2 minutes it has to download the whole file before it ...
0
votes
0answers
56 views

Problem when upgrading php from 5.3 to 5.5 on Ubuntu 12.04 LAMP stack

I have a problem when upgrading my vps server from php 5.3.10 to php 5.5 my vps is on Ubuntu 12.0.4 LTS with Apache 2.2.22, my SQL 5.5.43 and php 5.3.10. I used the following guide (How do I install ...
0
votes
1answer
184 views

Ubuntu apt-get upgrade error on ubuntu 12.04

I am trying to use command sudo apt-get upgrade command on mu ubuntu 12.04. But is is showing me the error .This is after i upgraded my php 5.4 to php5.5. You might want to run 'apt-get -f ...
-1
votes
0answers
11 views

how make Apache access out the www directory

Hello i have make (store) directory in / path /etc /var /store <-----My directory . . and i mount hhd to /store mount /dev/sde /store i need my website php in /var/www/html/ can acess to ...
1
vote
0answers
12 views

avconv Creating Corrupt (0 KB) Video Files

EDIT: I have seen this question: avconv creates zero byte file while trying to downsample mp4 video Unfortunately, it's not the same problem. I'm trying to use avconv in conjunction with a website on ...
-1
votes
0answers
47 views

remove double quotes from start and end of json string [on hold]

" { "audience": "TechCare", "step_id": "hrll", "step_desc": { "en-us": "hrllo" }, "group_id": "account", "group_desc": { ...
0
votes
0answers
17 views

Cgroup not working in Ubuntu 14.04

I am running LAMP system on ubuntu 14.04. I have an rss feed using php which runs every 1 hour and MySQL stores data. The problem is that when my RSS feed works Apache runs at 100% and MySQL runs at ...
0
votes
0answers
27 views

Downgrade of php from 5.6 to 5.5

This is my first post. I have followed the procedure to downgrade my php version as per the instructions given in this link. When I run command php -v It gives the following out put PHP ...
0
votes
0answers
13 views

Where to export a PATH from? [duplicate]

Trying to set up Laravel Homestead and Composer. I added export PATH="~/.composer/vendor/bin:$PATH" to both ~/.bashrc ~/.bash_profile The latter works on OS X but I am not used to setting this ...
0
votes
0answers
47 views

how to auto login magento in terminal?

Currently I am trying to get customers data from magento. It was working fine, when run in netbenas (Shift+f6). (I make the magento admin as auto login using the following link). admin auto login: ...
0
votes
1answer
43 views

Running shell script using PHP over http

OS - Ubuntu 14.04 Well I am working on deployment using GIT webhooks for it. I havea added the deployment keys to git repo and now I want to trigger the git pull origin master command when a push ...
1
vote
1answer
20 views

How to install the PHP/Serialization module in Perl?

When running nfsen, my logs display: nfsen[24213]: ERROR: Can't locate PHP/Serialization.pm in @INC (you may need to install the PHP::Serialization module) (@INC contains: /usr/local/nfsen/plugins ...
0
votes
1answer
17 views

PHP executing for root, but not for other users (apache2 virtual)

So I've got a site set up in /var/www owned by root that can run PHP with no problems. I've created a user, added www-data to that usergroup, and set up a virtual site pointing to ...
2
votes
2answers
72 views

Why do I get an error trying to install php5-intl?

If I type sudo apt-get install php5-intl I get the following error: php5-intl : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4) but 5.5.13+dfsg-2+deb.sury.org~precise+1 is installed How do I fix it? ...
-1
votes
1answer
32 views

Problems with atom-beautify as i can not beauty php code

A few days ago I have installed atom with a PPA , I installed atom- beautifly and I I've used it for beauty html and css, but When I've tried to beauty php an error Appears : Could not find ...
2
votes
3answers
95 views

How to install PHP 5.5.12 (specific version) and mysql 5.6.17 on Ubuntu 15.04?

How can I install PHP 5.5.12 (specific version) and mysql 5.6.17 on Ubuntu 15.04? There are ways to install LAMP, but I am looking for the specific versions. Please help me.
0
votes
0answers
29 views

problem accessing phpmyadmin Ubuntu 14.04 LTS

I've recently fix the problem from apache2 services issue now phpmyadmin is configured, but I can't get access to login panel it shown this phpMyAdmin - Error Cannot start session without ...
0
votes
0answers
33 views

Ubuntu 14.04 problem on apache2

I recently Install apache2 on my ubuntu 14.04 LTS and get some error when testing call IP on browser, so I restarting apache 2 status and failed farispc@farispc-X450EA:~$ sudo service apache2 ...
1
vote
1answer
45 views

How to get rid of “Connecting to 127.0.0.1:80… failed: Connection refused.”?

I started learning PHP a week ago and I installed Eclipse for PHP. I have tried some basic codes since but today, when I runned a code to create a txt file (using fopen, fwrite, fclose), Eclipse said: ...
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 ...
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
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 ...
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 ...
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
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
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
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
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 ?
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
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 ...
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 ...
0
votes
1answer
54 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
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
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
55 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
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 ...
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
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 ...