0
votes
1answer
53 views

Can't get latest PHP or Pear in Ubuntu 12.04 LTS

I'm attempting to install PEAR, and other components.. but getting the following. $ sudo apt-get install php5 libapache2-mod-php5 php5-mysql Reading package lists... Done Building dependency tree ...
1
vote
2answers
50 views

index.php is downloading instead of displaying

I have set a local website from following here, I have followed everything as it is but when I access my site via Mozilla Browser, it asks me where to download and save instead of displaying the ...
0
votes
2answers
22 views

Not able to install CURL on Ubuntu 12.04 [duplicate]

When I am trying to install the following error is coming sudo apt-get install php5-curl Reading package lists... Done Building dependency tree Reading state information... Done You might want ...
0
votes
0answers
42 views

Error installing two PHP Versions Ubuntu 12.04 with Plesk 11.5

I'm trying to install a additional PHP Version (5.5.10) on a Root Server running Ubuntu 12.04 but I keep running into errors during configure. It keeps giving me the following error: error: Cannot ...
0
votes
1answer
27 views

Can I install PHP 5.3/5.4?

I'm moving my vBulletin boards to a new server and after going through the regular steps to install LAMP, it seems it has installed PHP 5.5 which vBulletin apparently cannot work with. Can I install ...
0
votes
1answer
22 views

pecl install zip giving error ubuntu 12.04

I am trying to install zip using this command pecl install zip but I am getting below error running: make /bin/bash /tmp/pear/temp/pear-build-root9LqSPb/zip-1.12.4/libtool --mode=compile cc -I. ...
1
vote
1answer
23 views

How to develop application for OpenStack

I have installed OpenStack and everywhere I see tutorials about installing and deploying but no example about how to develop a simple app on OpenStack? using PHP Can anyone guide me?
0
votes
1answer
30 views

Cannot run PHP after upgrading from apache 2.2 to apache 2.4

Im trying to upgrade Apache from 2.2.22 to Apache 2.4.x on Ubuntu 12.04. I have PHP5.3.10 running on my server for the application. When i install the new version of Apache 2.4 it uninstall the ...
1
vote
1answer
21 views

Make Ubuntu acknowledge that a custom built version of PHP is installed

I'm trying to install PHP from source code on my Ubuntu 12.04 VPS. I'm using these parameters in the configure command: --enable-intl --with-openssl --without-pear --with-gd --with-jpeg-dir=/usr ...
1
vote
1answer
26 views

Unable to locate package php5-readline

samitha@ubuntu:~$ sudo apt-get install php5-readline Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package php5-readline What ...
0
votes
0answers
15 views

Xdebug not worked with lampp, am I working with wrong php.ini?

I have installed xampp on ubuntu 12.04 32bit below are my phpinfo details for php.ini Configuration File (php.ini) Path /opt/lampp/etc Loaded Configuration File : /opt/lampp/etc/php.ini now ...
0
votes
0answers
30 views

Can't upgrade PHP version from 5.2.10 to any newer version on 12.04 desktop

I know this question has been asked and answered several many on this forum so I hate to ask it again. Unfortunately none of the solutions I've seen posted have worked for me to upgrade my PHP sever. ...
0
votes
0answers
91 views

Updated from PHPUnit 3.7.32 to 4.0.6, broke my UnitTesting

So I was unit testing some code with PHPUnit 3.7.32 or so and it was working fine but I tried to upgrade to version 4.0.6...big mistake it seems. I really don't know where to go at this point; wasted ...
0
votes
1answer
69 views

'file --mime-type' vs 'mimetype' for php files

I'm trying to understand the difference between file --mime-type and mimetype. They are giving me different results on Ubuntu 12.04.4 LTS for this simple php file. <?php echo 'Hello world!'; ...
0
votes
1answer
39 views

Where do I get PHP-CGI binaries for Ubuntu?

I want to set up an Nginx or Apache server which is PHP-capable. In order to use multiple PHP versions in parallel I need to use CGI. I can set up the CGI stuff, but where do I get PHP binaries from? ...
0
votes
1answer
19 views

Laravel serves a phtml file

I tried running Laravel php framework from my own custom folder (not in '/var/www'). I've set up vhost, and permissions and it seems to work correctly, but Instead of seeing the laravel welcome page, ...
0
votes
2answers
38 views

Is the latest provided php5 package in an LTS distribution secure?

I need to update php5 on a 12.04 LTS production server. The latest candidate provided is 5.3.10-1ubuntu3.9. Is that version patched to be secure for use in a production environment? PHP is up to ...
0
votes
0answers
47 views

Wired behaviour of PHP SOAP Webservice on Ubuntu and apache2

We got a SOAP Webservice written in PHP. We also got PHPUnit Tests for this Webservice. Till last week we used Xampp on Ubuntu 12.04.4. Using Xampp the Webservice worked fine. Then last week we ...
2
votes
1answer
136 views

Upgrade php5-gd on 12.04

I'm aware there's already a post with the same title, but my question is different: as I explain it in a Stack Overflow post, I need to use a more recent version of php-gd in my 12.04 Ubuntu than the ...
0
votes
1answer
58 views

HTML doesn't show php script on Uuntu 12.04 ( PHP5, Apache2, mysql) all are installed properly

But info.php in /var/www/ does show the info. Only PHP embedded in html doesn't show the script. please help me.. I have tried the previous askubuntu questions and didnot get anything useful so ...
1
vote
1answer
210 views

Ubuntu 12.04 - Installing PHP with -fastcgi

Does anyone know how to install PHP on Ubuntu with fastcgi enabled? I've installed my PHP from the following site: http://www.dev-metal.com/how-to-setup-latest-version-of-php-5-5-on-ubuntu-12-04-lts/ ...
2
votes
1answer
68 views

Install both libmemcached10 and libmemcached6 ubuntu 12.04

Just wondering if someone can help me here, I'm still quite new to Ubuntu an Linux in general and seem to be having a problem with two packages: libmemcached10 is required for php5-memcached but ...
0
votes
2answers
125 views

Problems with the /var/www folder

I am new to Ubuntu, I've installed 12.04. I used to use wamp server on Windows, and after changing OS I moved some files from www folder to /var/www on Ubuntu. But when I try to view that folder in a ...
0
votes
1answer
34 views

upgrading pdftk 1.41 to 1.44 how can I check for breaking changes?

I have the wonderful task of finding out what ( if any ) breaking changes are if we upgrade from PDFTK 1.41 to 1.44 Here is our use-case We use PDFTK on the command line from a PHP application ...
1
vote
1answer
351 views

Ubuntu 12.04 PHP5.3 opcache.so installtion problem

I got this error when i call php -v Failed loading opcache.so: opcache.so: cannot open shared object file: No such file or directory PHP 5.3.10-1ubuntu3.9 with Suhosin-Patch (cli) (built: Dec 12 ...
0
votes
1answer
1k views

How can I install and configure an SMTP server?

How can I go about setting up an SMTP server to send email as *@mydomain.com? How can I then use this SMTP server with a PHP script that grabs data posted from my website's contact form and send it ...
0
votes
1answer
43 views

php and mysql issues

I've recently read Wallace Wang's “Beginning Programming for Dummies, 7 books in 1” and found it to be very enlightening, as it highlighted various differences between the three main operating systems ...
1
vote
0answers
83 views

ubuntu 12.04 - fuser high cpu

The problem is fuser high cpu and server load high. root 20 0 7580 840 692 D 10 0.0 0:00.31 fuser 16061 root 20 0 7580 844 692 D 10 0.0 0:00.31 fuser 16062 root ...
0
votes
1answer
80 views

Cannot load module after updating php to 5.5

after updating php and restarting the apache2 i get this error: Cannot load /usr/lib/apache2/modules/mod_R.so into server: /usr/lib/apache2/modules /mod_R.so: undefined symbol: ap_log_rerror This ...
0
votes
1answer
33 views

Http 500 while running .php code [closed]

I'm trying to create a VirtualBox that I can recycle across multiple projects, using a shell script to install all packages I need. I got Apache2, MySQL and PHP5 installed regularly and running a page ...
2
votes
1answer
32 views

how to manage ubuntu users from php

I have an Ubuntu 12.04 server machine in a local net, and I would like to log in my user through php. I have tried with pam_auth() but it wasn't configured neither activated for php. I tried a ...
0
votes
0answers
32 views

Windows -> Ubuntu 12.04 Migration: RedBean PHP Error

I am moving a WAMP server to Ubuntu and started getting a weird error related to the RedBean ORM library for PHP: b>Fatal error: Class RedBean_Driver_PDO contains 9 abstract methods and must ...
0
votes
0answers
152 views

what is Ubuntu 12.04 LTS PHP 5.3.10-1ubuntu3.6 equivalent to official PHP?

I m in a middle of weird situation where date('Y-m-d', '0000:00:00') returns '1969-12-31' on localhost running AMPPS , PHP 5.3.21 date('Y-m-d', '0000:00:00') returns '-0001-12-31' on staging server ...
1
vote
1answer
841 views

403 forbidden error for all local projects after updating php and apache

I have 5 web app projects in my local machine with Ubuntu 12.04 installed on it. Everything was good, but today when I started a new project with symphony, I found that I should upgrade php to 5.4.x, ...
0
votes
1answer
103 views

libc-bin errors when trying to install php

i am trying to update and install php into my ubuntu server 12.04 using the command below: apt-get upgrade php apt-get install php5-curl php5-gd php5-mysql php5-pgsql However i receive this error ...
0
votes
1answer
422 views

Why doesn't php (cli) have a default memory limit?

After coming across a server that had an Out of Memory issue from a commandline php-script, I discovered that default (vanilla 12.04 LTS server install) the cli php.ini does not have a memory limit ...
2
votes
1answer
5k views

Install php extensions on Ubuntu 12.04

I want to install the latest versions of curl, php5-xmlrpc and php5-intl extensions for php 5.4. I have the latest version of php 5.4 (installed via ppa:ondrej/php5-oldstable) so the default precise ...
0
votes
0answers
116 views

ubuntu how set php+apache best performance for neo4j

ubuntu I want to config apache2 for max performance to client of neo4J. memory 15.8gb cpu inter xeon 2.53 x 8
0
votes
0answers
873 views

PDO and pdo_mysql intallation problem in ubuntu 12.04

When I install pdo using pecl, I get the following warning > WARNING: "pecl/PDO" is deprecated in favor of "channel://http://svn.php.net/viewvc/php/php-src/trunk/ext/pdo//ext/PDO" Downloading ...
0
votes
1answer
407 views

(Ubuntu 12.04 LTS) PHP 5.4 offline install

I searched but didnt find solution to our problem... We have offline (intranet) Ubuntu 12.04 LTS installation. We made local offline Ubuntu 12.04 repo mirror (updating once in a week) and I can ...
2
votes
2answers
947 views

Ubuntu 12.04 php PEAR package problem

I am using LAMP server on my Ubuntu 12.04 system. Before this time I have installed prestashop without any issues. But after a long time when I tried to install prestashop today, it really showed me a ...
0
votes
1answer
170 views

How do I setup php and mysql cronjobs on ubuntu 12.04 server?

just made a lamp install adn got sftp working. My question now is how do I setup cronjobs in ubuntu server? I need to make some cronjobs for my php/mysql application. Look for un-activated users in ...
0
votes
2answers
2k views

PHP5.4 Unable to load dynamic library gd.so undefined symbol: gdGetC

I installed PHP5.4 from PPA ppa:ondrej/php5-oldstable in my Ubuntu 12.04.2. Then all of my image processing scripts got broken. Turns out the php5-gd library isn't loaded. $ php -a PHP Warning: PHP ...
0
votes
1answer
191 views

Gmagick fails to install from source

I'm trying to install gmagick php extension from source, using these commands: mkdir gmagick cd gmagick mkdir build mkdir local cd $HOME/gmagick/build wget ...
0
votes
0answers
158 views

Starting, Stopping, Restarting, and Getting Status of Shoutcast server within PHP

I'm trying to build a php(with/out aid of another script) script that can start, stop,restart, and get status of my shoutcast server. I am running more then one server on the same computer as well, I ...
0
votes
0answers
225 views

How to upload php files to Bitnami AWS LAMP stack

I have a standard BitNami Lamp stack on AWS. I've logged in, and it's all running fine. I now want to upload some php files to deploy to my live server. I assume that the correct directory to include ...
0
votes
1answer
525 views

Give www-data permissions of root?

I want to access the root crontab from web interface.I have Apache and PHP installed.I have a project in which i have to change the job timings in crontab. How can i change the timing of crontab jobs ...
1
vote
1answer
774 views

PHP5 Ubuntu not updated? [duplicate]

I just installed php5 on my newly setup Ubuntu Server 12.04. However, I noticed why does the PHP version is kind of too low? As compared to the official PHP.net website, the recent version is at PHP ...
0
votes
1answer
2k views

How to update ImageMagick (imagick) for PHP

I've installed ImageMagick for PHP using the following command: sudo apt-get install php5-imagick But the version installed (namely ImageMagick 6.6.9-7 2012-08-17 Q16) is not the latest version ...
1
vote
2answers
449 views

configuration issue with respect to .htaccess file on ubuntu

I am building an application tshirtshop I have following configuration in /etc/apache2/sites-enabled/tshirtshop <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot ...