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

Send an email from the local server using PHP and Postfix [duplicate]

I have written a php code so that when a button is pressed the code sends out an email to the provided email address. I have followed the instructions that were mentioned in this link for the ...
0
votes
1answer
226 views

running sqlite from php5-sqlite install

I have installed php5 and sqlite3 by using: sudo apt-get install -y php5 php5-sqlite unzip But when I run sqlite (or sqlite3) in the terminal, it says that I need to install it using apt-get. I ...
0
votes
0answers
120 views

Send an email with PHP using postfix from a local server to any email address

I have created a webpage on my localhost and there is a text box for the user to fill out with her/him email address and there is a Send Email button. When the button is pressed an email with a ...
2
votes
1answer
304 views

Send an email from the localserver using PHP

I am trying to send an email to my thunderbird or google acount using PHP from a local server in Ubuntu. I have used the mail() function in PHP. I have done some research and apparently you can not ...
0
votes
0answers
318 views

Problem setting up Virtualhost for PHP on Ubuntu 14.04.3 LTS

I have installed LAMP in Ubuntu 14.04.3 LTS. I am able to create and edit PHP files etc as long as I am working in /var/www/html. But I want to work using an IDE (Netbeans), so I was trying to create ...
0
votes
1answer
52 views

PHP not working on certain File

I have recently gotten into PHP. I have PHP and Apache2 installed on my Ubuntu computer. The server is working, and so is PHP. However, I can only get my "test.php" file to work properly. I have ...
0
votes
0answers
92 views

Apache2 is running but server not opening in browser

I am able to access using ssh but site is not opening using IP $ sudo netstat -anop | grep apache tcp6 0 0 :::80 :::* LISTEN 29352/apache2 off ...
0
votes
0answers
136 views

PDO OCI fails to initialze after PHP upgrade ubuntu 14.04

This morning I installed PHP 5.6 on my ubuntu server, and since it's completed PDO_OCI and oci8 won't compile anymore. When I try to php5-v I get the following errors: PHP Warning: PHP Startup:...
0
votes
0answers
71 views

LAMP stack not working

I've installed LAMP stack using command line sudo apt-get install lamp-server^ I am using this guide for checking why php is not running with html. Mysql-server is configured and is ...
0
votes
2answers
3k views

Phpmyadmin: The mysqli extension is missing

I installed apache2 and php in /usr/local by compiling files. I installed mysql and phpmyadmin by the following commands: sudo apt-get install mysql-server sudo apt-get -y install phpmyadmin ...
1
vote
1answer
329 views

How to use php5-cgi with nginx?

I just installed php5-cgi on my Ubuntu 12.04. I am not sure about: What configuration I will need to do in nginx config file to use it. How will I start the service, as sudo service php5-cgi says "...
1
vote
1answer
237 views

Executing PHP gives error on command line interface, but works in browser

Any idea what could cause a php file to execute fine in the browser, but give an error when run in the command line interface? So to be specific, when I visit mysite.com/script.php in a browser, all ...
3
votes
1answer
810 views

Trouble installing php-cli

I am trying to install php5-cli package on my machine but I get the following error for unmet dependencies. Reading package lists... Done Building dependency tree Reading state information... ...
2
votes
1answer
53 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 ...
1
vote
1answer
54 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
86 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 %{...
4
votes
1answer
129 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 php....
0
votes
1answer
145 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 ...
1
vote
1answer
46 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
2k 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
3k 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
vote
0answers
158 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
0answers
273 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 5.6.4-...
0
votes
0answers
14 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
82 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
243 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
186 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
33 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 /home/user/...
2
votes
2answers
2k 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? ...
0
votes
1answer
1k 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 'php-...
2
votes
3answers
2k 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
848 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 ...
1
vote
1answer
5k 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
313 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
297 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
119 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=" . urlencode($...
0
votes
2answers
361 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
270 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
227 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
566 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 /etc/httpd/conf/...
0
votes
0answers
83 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
108 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
306 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
15 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
44 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 ...
1
vote
2answers
6k 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
154 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
309 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
153 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
216 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 "...