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
36 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 maching 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 ...
0
votes
0answers
9 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
8 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 ...
0
votes
1answer
27 views

remove double quotes from start and end of json string

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

Cron Convert FFMPEG Problem [on hold]

FILE NAME - cron_convert.php chdir('/var/sentora/hostdata/zadmin/public_html/ctkdonline_com/cron/'); set_time_limit(0); include_once 'System.php'; include_once 'vendor/autoload.php'; $sys = ...
0
votes
0answers
14 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
23 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
40 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
13 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
16 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
65 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
28 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
84 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
26 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
29 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
35 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
44 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
42 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=" . ...
-1
votes
0answers
69 views

Installing datastax php driver on ubuntu 15.04

I am trying to install the datastax php driver for Cassandra and when i run the following command: pecl install ext/package.xml after checking it out of git i get the following message: configure: ...
0
votes
2answers
34 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
28 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
23 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
53 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
20 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
16 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
24 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
58 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
30 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
25 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
49 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
27 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
20 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
15 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
48 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
37 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
29 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
61 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 ...
0
votes
4answers
69 views

How to setup an environment for running php scripts in Ubuntu?

In Windows,i used WAMP and adobe dreamweaver. In Ubuntu,i am planning to use bluefish editor. I hear that WAMP server equivalent is LAMP in ubuntu. I need detailed and simple explaination to ...
0
votes
1answer
70 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
87 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
46 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 ...
0
votes
0answers
14 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
53 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 ...