0
votes
1answer
385 views

Failed upgrade of PHP on Ubunutu 12.04, error: Sub-process /usr/bin/dpkg returned an error code (1)

I just tried to upgrade my version of PHP on Ubuntu 12.04 and now I have messed it up. First I did this: sudo add-apt-repository ppa:ondrej/php5-oldstable Then I did this: sudo apt-get update ...
0
votes
0answers
129 views

How to install gearman on Ubuntu12.04 and php54?

I am trying to install gearman on my Ubuntu12.04 machine. I have upgraded php to version 5.4 via the ppa php5-oldstable. I downloaded the source of gearmand-1.1.12 and compiled it and installed it ...
1
vote
1answer
151 views

Server stopped working after update to php 5.5.0

I'm running nginx on ubuntu server 12.04 and I just updated to the most recent php package as follows http://phpave.com/upgrade-php-5-3-php-5-5-ubuntu-12-04-lts/#.Uzsho1RdURg. In the final part of ...
0
votes
2answers
147 views

disable php, but allow in subdirectory

I want to disable php for all my user directories, which I implemented by adding php_admin_value engine Off to them: /etc/apache2/sites-available/default: <IfModule mod_userdir.c> UserDir ...
0
votes
2answers
169 views

Is this dependency upgrade in Ubuntu safe?

I am wanting to install PHP5 on an internal production server running Ubuntu 12.04 LTS. When I try to use apt-get to install it lists a multitude of dependencies and recommends running apt-get -f ...
0
votes
0answers
112 views

Ajax request not detected

I have installed the LAMP on ubuntu 12.04. But when any ajax request has made to server it does not detect. Where as on other PC its working fine. Is there are some setting to make it active? This ...
1
vote
1answer
143 views

Securing PHP on Ubuntu 12.04 LTS?

I recently set up an Ubuntu 12.04 server (with Apache 2.2 & PHP 5.3.10). While I was testing it, I noticed in the Apache access logs that an unknown IP address was trying to perform a PHP CGI ...
1
vote
3answers
316 views

Virtualbox forward specific ip to guest

I have a dedicated server with Ubuntu 13.10 installed and a basic installation with Virtualbox and phpvirtualbox to manage the guest OSs on it. I have two IP addresses pointing to the server and I ...
0
votes
1answer
92 views

Website is slow without https

As you can see, http://coinad.com/ is slow, and https://coinad.com/ is fast. I've upgraded the server, reviewed the code, optimized the tables and anything seems to work. This is driving me mentally ...
1
vote
1answer
97 views

Can't setup nginx + php5-fpm in a fresh installation getting 404

I just've downloaded nginx 1.4 and right away I see the "Welcome to nginx!" message, then I've installed php5-fpm from the repositories so I create a php file at /usr/share/nginx/html/demo.php just ...
3
votes
1answer
994 views

Why does this package (ppa:ondrej/php5, it's PHP 5.5) break the apache2 installation?

Problem Currently this package (ppa:ondrej/php5) is quite popular for installing the latest version of PHP 5.5. I've worked quite much with it, and everything ran smoothy, on several (dev) servers. ...
0
votes
0answers
94 views

Using MongoDB + Redis + Apache on the same server in production?

I intend to launch my web app using a 8 GB VPS. It uses MongoDB + Redis for storage/caching and Apache + PHP-FPM for serving requests. Could there be any issues with running Mongo + Redis + Apache ...
0
votes
1answer
55 views

Recover lost POST data on LAMP site

I've had a screwup on my LAMP based site where a certain string value that's posted to the site from a form, was not being stored in the db. The db column for it was an enum but it needed to be a ...
0
votes
0answers
29 views

log of all mails that were sent from server

recently we send Emails via cron job.(php mail() function ) Unfortunately we didn't save the list of addresses on DB and we need to get the list Is there any log file on ubuntu 12.04 server ( or ...
0
votes
2answers
1k views

How to update php 5.3.10 to 5.3.26

I am using a VPS with Ubuntu 12.04. ISPmanager is installed and PHP version is 5.3.10. How may I update PHP version to 5.3.26?
0
votes
1answer
402 views

Setting up virtual host with symlink in Ubuntu 12.04

I am newbie in virtual host. I have followed this tutorial to create a virtual host to run php projects. Also, I've used symlink method described here. Steps in first tutorial like installing apache, ...
0
votes
1answer
5k views

How do I find out what mail program is installed/sending emails?

I'm trying to find out what emailing program (if any) is sending emails on my server. My employer has a few servers, most of which use sendmail, but on 2 of our servers I'm not finding an email ...
1
vote
2answers
1k views

Install php 5.3.10 in ubuntu 12.04

I have been trying to downgrade the php version from php 5.4 to php 5.3. I tried removing php5, purging php5 and then reinstalling using "apt-get install php5=5.3.6-13ubuntu3.6", but it did not help, ...
2
votes
3answers
3k views

Error configuring and installing PHP 5.3.21 on Ubuntu 12.04

I'm trying to install PHP 5.3.21 on a Rackspace Cloud Server running Ubuntu 12.04 but I keep running into errors during configure. It keeps giving me the following error: configure: error: Cannot ...
1
vote
0answers
92 views

Domain root on nginx not working

mydomain.com is running with nginx1.2, php-fpm, apc on an ubuntu server (medium - amazon ec2). I have been tweaking my server for past 6 months, however a problem started occurring since day before ...
1
vote
1answer
203 views

EC2 Micro with NGINX

I have an EC2 Micro running Ubuntu 12.04. I have assigned it an EIP (23.21.213.236) and I am pointing my domain name A records to this IP. The domain I am trying to access with is ...
2
votes
2answers
367 views

Installing PHP Imagick with libmagickcore4

I have ImageMagick (version 6.6.9-7) on Ubuntu 12.04, which has libmagickcore4. When I tried to install PHP imagick, I received the following error: The following packages have unmet dependencies: ...
1
vote
3answers
154 views

Granting PHP permission to send/receive requests

I've written a PHP websockets server based on this library: https://github.com/Flynsarmy/PHPWebSocket-Chat This library operates as a server, and handles all incoming requests. The client can ...
3
votes
1answer
1k views

php-mysqlnd or php-mysql

Long story short: just installed Ubuntu 12.04 (Debian based), nginx, php-fpm and mysql. Now I need the MySQL driver for PHP, but which should I choose? Which is better php-mysqlnd or php-mysql?