0
votes
1answer
8 views

instalation ffmpeg in Ubuntu

I am using following steps for installing ffmpeg-php extension in Ubuntu Download ffmpeg-php-0.5.2.1.tbz2 extract it go to this directory run this "phpize" ./configure && make but when I ...
0
votes
1answer
16 views

I've started a php program on Ubuntu can I close the SSH session?

I've run a php file with this command: php test.php This file is doing it's thing fine. The script however takes long, can I close the SSH session and will the php file still be running?
0
votes
0answers
23 views

configure: error: Unable to locate gmp.h

Per http://stackoverflow.com/a/19894267/569976 I tried the following to no avail: ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h --with-gmp=/usr/include/x86_64-linux-gnu Both of them ...
0
votes
0answers
13 views

How to run browser in background in Ubuntu

I am using Ubuntu 14.04, and PHP. I have 2 files: test.html - content java to test network update.php - the test file will post result to update database. I need to run and execute an URL address ...
0
votes
0answers
10 views

On an Ubuntu server, what steps can be taken to recover a missing file?

I've recently inherited a website that has a page that allows users to register to receive/give car rides. This page is called transportation.php and is fine. However when a user attempts to select ...
0
votes
0answers
32 views

phpbrew install php version

Im trying to get PHPbrew working, but im running onto some issues... Everything is set right like PHPBrew requires, but i cant find the www folder where i can place my files, or set the right ...
1
vote
1answer
26 views

Unable to start PHP Server in linux command line

I tried php -s localhost:4444 WebContent/ But my ubuntu terminal gives Usage: php [options] [-f] [--] [args...]
0
votes
1answer
57 views

Difference between connecting to 127.0.0.1 and server ip

I am brand new to php, databases, and linux and had a problem where I could not connect to mysql databse with the php mysql_connection function. When I used the ip address of my VM I kepy getting a ...
0
votes
0answers
11 views

Error while trying to create an album in MySQL in Trovebox

When trying to create a new album in TroveBox I just get an simple error message in the ui notifying me that it failed. No information is in logs from Apache and MySQL. The current user can write in ...
0
votes
2answers
127 views

Trovebox (OpenPhoto) setup hangs/fails at final step 3

I've been following the install instructions found here about how to install and configure Trovebox on a Ubuntu server running Apache: Ubuntu 14.04 LTS Apache: 2.4.7 MySQL: 5.5.37 PHP: 5.5.9 ...
0
votes
1answer
51 views

Why is PHP not running

I have ubuntu 14.04 desktop, I have apache2 php5 and all those packages installed. Yet PHP scripts won't run.. My site config: <VirtualHost *:80> ServerAdmin seven@localhost DocumentRoot ...
1
vote
0answers
162 views

Apache2 + Php + Pthreads HowTos

I'm running Ubuntu 14.04 LTS 64 bit. What I would really love to do is sudo apt-get install libapache2-mod-php5 but compile PHP with --enable-maintainer-zts so I could later install pthreads with pecl ...
1
vote
0answers
40 views

Why is connection hanging on 80 or 443?

So I'm using Chef and Vagrant to provision a LAMP stack on a box which I have done before to great success, when along comes this problem. Details as follows: So netstat says we are good tcp ...
0
votes
0answers
29 views

vhost running on local machine only shows root directory correctly

I am using Ubuntu14.04 and I have created a virtual host on apache2. I have my Laravel project trying to run on virtual host in apache2. I set it on /etc/hosts 127.0.1.1 mw Then since I have PHP ...
0
votes
0answers
84 views

Configuring email in PHP for Elgg using postfix

I am trying to setup PHP for running Elgg. I have PHP 5.5 installed in a Ubuntu 14.04 VirtualBox VM. I need to complete the following requirement (elgg requirements page) : Proper configuration and ...
0
votes
2answers
93 views

Apache2/PHP no longer logging errors after deleting error.log

I deleted error.log file from my logs directory. As root, I used vi to create error.log file again. root:root owns the file, permissions are -rw-r--r--. Same ownership and permissions as access.log. ...
0
votes
0answers
30 views

unable to compile php on ubuntu

I'm trying to compile an older version of PHP (5.2) on Ubuntu 13.04 and am having some difficulty. Here's what I tried (from my home directory): sudo apt-get install php-pear wget ...
0
votes
1answer
869 views

Failed to open stream: No such file or directory

I have made a backup of all archives from ftp, deleted them all them copied all folders to the same place. Now I got this error: Warning: require(/../private/shADMIN/fuel/app/bootstrap.php): failed ...
1
vote
0answers
27 views

Why Windows XP machine is not accessible from Ubuntu machine?

I am using Windows machine and using it as a sever which is properly accessible from my browser through url, but when I try to access windows directory from Ubuntu, I am not getting access to ...
0
votes
1answer
254 views

object not found in lampp ubuntu 13.10

am a newbie linux user.i have installed xampp 1.8.3-2(lampp)on ubuntu13.10 and configured it. i paste my wwwfolder to ubuntu 13.10 in/opt/lampp/htdocs. now the owner of www folder is root with ...
1
vote
1answer
36 views

Options to configure Apache to take into account other folders despite /var/www

I am using Ubuntu 12.10, and I know that if I place a php file (index.php) under /var/www, and I visit localhost:80/index.php, it will work fine. However, say that I have multiple projects in order ...
2
votes
1answer
275 views

PHP won't run on command line Linux

I think I may just be missing something simple, but I can not get PHP to run anything on the command line. I'm using Linux Ubuntu. All the exact same files run as expected via the web. I have tried ...
0
votes
0answers
42 views

Routing SSH connection via PHP webserver

I have a interesting task I'm trying to do, looking for help :) Basically, I have a home Ubuntu server box. On this box, it has a cron job to load a webpage on my web server that is hosted on a ...
0
votes
0answers
14 views

Viewing CURL url's in ubuntu

I can see in top that curl is being called at a very large rate, there are 10+ open connections. Is there a way in ubuntu to see the URL's they are getting?
0
votes
3answers
8k views

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

So at first I was getting this error when trying to create databases for use in phpmyadmin. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) I ...
0
votes
0answers
93 views

can't load xmldiff pecl extension to apache

I installed xmldiff via pecl on my server. everything went fine without any error messages but when restarting apache I get the following error: PHP Warning: PHP Startup: Unable to load dynamic ...
2
votes
1answer
147 views

make a certain software version the default in ubuntu

I currently have 2 version of php installed on ubuntu 12.04. one for php 5.3 installed using apt-get while the other one is installed with xampp with php 5.5 When i execute these commands: > ...
3
votes
3answers
15k views

Downgrade PHP from 5.5.3 to 5.4.x in Ubuntu 13.10

During the update from Ubuntu 13.04 to 13.10, PHP was upgraded to 5.5.3. How can I downgrade to 5.4.x?
0
votes
1answer
5k views

How can I completely remove PHPStorm, and all associated files on Ubuntu 13.04?

After removing the Phpstorm directory from Ubuntu, future installation attempts do not actually install any more - no menu item appears under Applications in the top left, and running the "globally ...
1
vote
3answers
553 views

Coloured output when tailing php error log

I'm trying to find a way (through escape characters or software) to display coloured lines in my php error log. Right now I'm reading from them (live) with tail -n 50 -f /var/log/apache2/error.log ...
0
votes
1answer
266 views

Why showing pear and phpunit is not installed in xampp on ubuntu?

I have installed xampp 1.8 on my ubuntu 12.04. In /opt/lampp/lib/php/PEAR I can see there are two directory named PEAR and PHPUnit. But when I run pear -V or phpunit from terminal it gives the below ...
0
votes
1answer
493 views

Installing libevent via PECL fails on Ubuntu 12.04

I have Ubuntu 12.04 built with Moodle Stack installed. I'm trying to install this: $ sudo pecl install libevent I get this error: Failed to download pecl/libevent within preferred state "stable", ...
1
vote
1answer
741 views

Setting up Apache + PHP web server in Virtualbox on Win 7

Running Apache and PHP on Windows with XAMPP or WAMP sucks, because installing new PHP extensions on Windows is very hard. Most binary releases for Windows don't work :( So I was thinking to run ...
3
votes
3answers
3k views

phpmyadmin symlinks error after ubuntu upgrade

After the upgrade of my ubuntu server to 13.04 my phpmyadmin is no longer reachable. the browser reports 500 (internal server error) and in the error.log it says: PHP Fatal error: require_once(): ...
0
votes
1answer
118 views

make error in PHP_PERL

I am following the answer in this thread to make the perl module for php. am using ubuntu 12.10. unable to use PHP_PERL extension. Unable to install the extension as well The short steps are: ...
0
votes
0answers
444 views

Apache2 HTTP Error 500 when attempting to access localhost, no error in log

In Ubuntu, I'm trying to setup my PHP website locally in Apache2. I am able to get the "It works!" page to show when I navigate to localhost in the browser. I then copied the default site in the ...
0
votes
1answer
198 views

Unable to run test.sh file through project.php inside /var/www/

test.sh's path is /var/www/proj/test.sh, and project.php is inside /var/www/ and my test.sh uses and creates some .txt files. when i execute test.sh through terminal it works fine, but when I run ...
0
votes
2answers
321 views

How to inform Ubuntu 12.04 apt-get about older installed version of php

Recently installed php5.3.22 on Ubuntu 12.04 from an excellent install script provided by git://github.com/vladgh/VladGh.com-LEMP.git. This works perfectly. The issue I have is that I now want to ...
1
vote
3answers
290 views

Can PHP write to a directory without 0777?

I'm making a website builder, and I have the file render.php, which needs to write to users’ directories. I don't want to give each of the users’ directories 0777, but I still need to be able to write ...
2
votes
0answers
272 views

PHP : curl is and Not working in ubuntu10.04 and Nginx

I am running Nginx server on ubuntu 10.04 I am using the php version 5.3.2 .I installed php5-curl using apt-get install php5-curl. Unfortunately the curl package is not displaying in phpinfo() . ...
1
vote
2answers
2k views

CURL Error version OPENSSL_1.0.1 'not found …'

I have the last few days, a concern with CURL. I get this error: curl: / lib/i386-linux-gnu/libssl.so.1.0.0: version `OPENSSL_1.0.1 'not found (required by / usr/lib/i386-linux-gnu / libcurl.so.4) ...
1
vote
2answers
393 views

am using ubuntu 12.10. unable to use PHP_PERL extension. Unable to install the extension as well

I need to run a Perl script because I need a module that Perl has that PHP does not. This is my code for testing purposes in PHP <?php echo ("Hello World"); $perl = new Perl(); ...
0
votes
1answer
367 views

Slow PHP over ubuntu server | VirtualMachine

I have an Ubuntu-server 12.04LT-64x installed on VMware Player (I found VMWare works better than Virtualbox after few installations over vb). My host computer is an Intel i3 with 6GB-RAM and ...
1
vote
1answer
144 views

How do I setup a website on Ubuntu Server 12.04 with PHP, MySQL, and webmail?

I have a computer in my room running Ubuntu Server 12.04 and I would like to know how to run a website off of it. I already have installed PHP and MySQL but I don't know how to install webmail or how ...
1
vote
1answer
194 views

Why cannot I upgrade phpunit_selenium package in PEAR?

Currently I have PEAR v1.9.4 installed. If I perform pear list -a I see: PHPUnit_Selenium 1.2.8 stable in the middle of the response. While the latest version is 1.2.11. I've already updated ...
-1
votes
1answer
221 views

Azure's Ubuntu 12.0.4 fails to install PHP5

Similar to this article from Azure themselves: http://www.windowsazure.com/en-us/manage/linux/common-tasks/install-lamp-stack/ I am trying to install PHP5 on Ubuntu 12.0.4 virtual machine. However, ...
1
vote
2answers
3k views

Where is php executable on Ubuntu?

I have installed apache and php. I know php works as I have tested a simple php file on apache server. I'm writing a simple webserver which should be able to process php files. So what I want to do ...
1
vote
1answer
367 views

How do i install apache on my ubuntu 12.04 where it has virtualhost

According to the docs https://help.ubuntu.com/10.04/serverguide/httpd.html i have done following, and that is almost how i do always in my Fedora, but Ubuntu looks like its not working. a) DNS to IP ...
1
vote
1answer
2k views

Can't get phpmyadmin to work on Ubuntu 12.04

Alright, I've been following this guide (along with others to double check) to attempt to get a working lamp stack installed, but phpmyadmin always throws an HTTP 500 server error. PHP executes fine, ...
1
vote
1answer
251 views

PHP doesnt render pages

PHP doesn't render pages in Ubuntu 11.10 Installed apache/PHP using sudo apt-get install php5 mysql-server apache2 my file (info.php): <?php phpinfo(); echo "test"; ?> opens in ...