-1
votes
1answer
9 views

How to get terminal access to a php/AngularJS app deployed using opsWorks

Background: I have a php backend application (cakephp with dependencies resolved with composer), and javascript front end (AngularJS, using bower for dependency management), with the repository on ...
0
votes
0answers
12 views

mysqli::mysqli(): [2002] Connection refused. Php stops talking to MySQL once migrate to a new server [duplicate]

So I have a php/mysql application running on my AWS Ubuntu LTS server. I am trying to migrate it to another old Ubuntu server in my company. While it worked fine on the AWS server, it keeps returning ...
1
vote
1answer
185 views

Trying to install php-devel on AWS EC2 server to compile a PHP extension, but getting errors “httpd24 conflicts with httpd-2.2.27-1.3.amzn1.x86_64”

I'm trying to install php-devel on an AWS EC2 server so I can compile a PHP extension. But I get an conflits error. --> Processing Conflict: httpd24-2.4.10-1.59.amzn1.x86_64 conflicts httpd < ...
0
votes
1answer
41 views

PHP error logging with AWS and EC2 [closed]

I'm setting up my site to run on AWS EC2. In some presentation for AWS services I saw that there are ways to store your PHP error logs in AWS S3 and analyze it with specific tools. Can't find this ...
2
votes
3answers
63 views

Application access via AWS Load Balancer with autoscaling

I am configuring a test AWS architecture for a web application that I plan to migrate from a dedicated hosting service to AWS. What I have now is as follows : One MySql RDS, where my application ...
1
vote
3answers
102 views

Server incremental backup to AWS Glacier

I'm looking to backup various directories and files from a Linux server to AWS Glacier. I'm trying to work out the details on how to do manage this. Incremental Backups I want to upload files ...
0
votes
0answers
23 views

amazon beanstalk php suEXEC mechanism enabled

I'm not able to get my PHP Beanstalk setup working. After deploying, when I try to access my load balancer, I get a blank page. I saw in the error logs things start failing after the newrelic ...
-1
votes
1answer
85 views

Is it possible to use PHP on a website hosted on AWS S3 without using EC2 or Elastic Beanstalk?

I have a bit of PHP (a contact form to be exact) that isn't working right now on my website. I'd like to activate the PHP and I heard one of the ways is to use Elastic Beanstalk. However, Elastic ...
0
votes
0answers
242 views

How to install a newer version of php on AWS Opsworks?

Our code base is using PHP 5.5 and we are wanting to deploy on AWS Opsworks however when selecting the PHP App Server layer we are told it has PHP 5.3. What I was hoping is that I could just use the ...
1
vote
0answers
58 views

Web App login redirecting to homepage on AWS Elastic Beanstalk

I've hosted my application on AWS Elastic Beanstalk. The application behaves itself in a local environment and shared hosting environment, but when on AWS it refuses to login. Instead it redirects ...
0
votes
1answer
203 views

Installing ElastiCache Cluster Client on PHP AWS Elastic Beanstalk (without creating resource)

Elastic Beanstalk does not, by default, install the ElastiCache Cluster Client PHP module. This is needed to connect to an ElastiCache node cluster. Reading around, most of the instructions relate to ...
0
votes
1answer
401 views

Error when customising EC2 instance php.ini file on AWS

I'm using Elastic Beanstalk on AWS and I'm trying to override some settings from the php.ini file. I've made the directory /.ebextensions with project.config within it: files: ...
1
vote
1answer
536 views

Amazon Linux LAMP with php 5.5

I installed PHP 5.5 on my Amazon Linux VPS via the instructions here. The CLI is working fine. I also had apache already installed and running via the httpd package. It was running without any ...
0
votes
2answers
105 views

How to tell which script is slowing down the server the most?

As it happens often to coders, I had to take over someone else's code for this company, the server runs on Amazon Cloud (i2.xlarge) running ubuntu-saucy-13.10-amd64-server. (the guy left) The ...
1
vote
0answers
64 views

intermittent AWS Linux AMI server error “File does not exist: /var/www/html/var”

Intermittent error "File does not exist: /var/www/html/var" from all areas of a Zend MVC app resulting in pages occasionally failing to load - when normally they load perfectly. Our Set-up MVC app on ...
0
votes
4answers
549 views

AWS EC2 PHP session_start with permission denied

I have an strange issue related with PHP an the session save path. I have configured in my php.ini the session.save_path = "/tmp", and I know that is correctly configured since in the server I could ...
0
votes
1answer
52 views

How to configure my local host database configuration file to work with AWS EC2 distant database? [closed]

I would like to set up my localhost website to work on an AWS EC2 database. In my configuration file I have to set up the hostname, username, password, db and so on and I don't know what to put under ...
1
vote
1answer
1k views

How to add directives to php.ini on AWS Elastic Beanstalk?

I'd like to add these PHP settings to my Elastic Beanstalk environment: upload_max_filesize = 64M post_max_size = 64M These options cannot be set with option_settings in .ebextensions: Namespace ...
0
votes
0answers
45 views

AWS OpsWorks and pearMail for PHP

Can someone please tell me how to have the pearmail package automatically installed when a new instance is created through opsworks? Would this have to be done with custom chef JSON?
1
vote
0answers
707 views

Apache 2.4 not closing connections

I have an Apache 2.4 webserver that runs on a micro instance of AWS with CentOS. The apache is running PHP with a prefork MPM module. The server is accessed via an Amazon load balancer which has a ...
1
vote
0answers
77 views

Handling multiple server blocks in nginx configuration

I am working on setting up a proxy server for my application.The use case is I want a specific set of requests to be redirect to say abc.com and rest of the request to be redirected to xyz.com. Eg:If ...
0
votes
1answer
102 views

How to debug unresponsive web server

We have an Medium EC2 instance running Ubuntu 12.04, serving about a dozen small PHP web applications via Apache. Approximately every other day, the server becomes unresponsive and rebooting the ...
1
vote
1answer
152 views

Amazon EC2, S3, REST API, and how to correctly provide contents to users

I have deployed a REST server in an Amazon EC2 instance. I have also configured an Amazon S3 bucket to store all the data generated by users while interacting with the API. The main information stored ...
1
vote
0answers
45 views

maintaining session in elastic Bean

As the number of instances changes from time to time in EBS amazon. If an application is built in PHP how the session will be mantained among several instances? How can we make sure not to delete the ...
2
votes
3answers
179 views

How to host a Wordpress site on multiple servers due to geographical siteload issues?

Wordpress website is currently hosted in the US, this is where 40% of our target audience is. The rest of visitors are coming form Middle east, Australia, Russia, China, Singapore, UK, Switzerland, ...
0
votes
1answer
392 views

Can't “git pull” with PHP on AWS EC2

I'm trying to setup this EC2 instance to listen for a webhook from Github and then run a git pull. The web runs this under the user 'apache'. I was following: ...
0
votes
2answers
62 views

Looking into AWS services. What services do I need to transfer my servers over (MySQL & PHP running on Windows 2008)?

I have two servers that I am thinking of moving to AWS (or is Azure a better option?) if it saves me money and helps reliability and scalability: Windows Server 2008 running IIS web server with PHP. ...
1
vote
2answers
408 views

No such file or directory

I'm building an EC2 LAMP server for the first time, and so far so good. Except I can't seem to get the require 'vendor/autoload.php'; working right I get this error message whenever I write that ...
1
vote
1answer
470 views

Installing mongo on AWS Elastic Beanstalk

I am running elastic beanstalk on AWs. using 64bit unix php 5.3. I am wanting to install mongo driver so php will talk to mongo. the usual command is: sudo pecl install mongo According to AWS ...
-2
votes
1answer
47 views

AWS Ubuntu Server Causes Download PHP file [closed]

While development i have uploaded index.php.bak and tried to access the index.php from browser it was downloading the complete PHP file from server. I immediately deleted index.php.bak , but still ...
0
votes
2answers
150 views

Turn Off httpd service on MySQL Server? (AWS)

I started with one server running Apache, PHP, MySQL. Now I have split off my web server so I am running all the PHP files on one server and my MySQL is still on the original server. Are there ...
2
votes
1answer
86 views

Merely installing PHP5 causes my AWS Ubuntu server to die minutes later from a massive CPU spike

I have an AWS server with Ubuntu 11.04 as the OS that is running an Apache2 webserver (incidentally Python-based and using Django). We recently needed to add support for php5 to let us use a third ...
2
votes
0answers
332 views

AWS amazon SES stopped working suddenly

I am not able to send the mail from aws.amazon SES since from Monday (30-10-2012) previously it is working fine suddenly it stopped working. I got following is the errors A PHP Error was encountered ...
0
votes
1answer
458 views

AWS PHP Curl with SSL

I'm trying to install the Amazon Web Services PHP SDK on my Ubuntu LAMP server. Whenever I run the compatibly check everything but cURL comes back okay. The issue I'm having is that it's reporting I ...
1
vote
1answer
195 views

Amazon Linux AMI EC2 PHP Function Recognition

I've recently set up the title instance (64bit) on AWS. I have that being said, I've installed httpd and php, both of which are running. The series of installs executed are as follows: yum install ...
1
vote
1answer
746 views

MySQL Server hitting 100% unexpectedly (Amazon AWS RDS)

Please help! We've been struggling with this one for months. This week we upped our RDS instance to the highest performing instance and although the occurrences have reduced, we're still having ...
1
vote
2answers
166 views

Reverse Proxy Wordpress with Lighttpd

I am deploying an application and a Wordpress installation on AWS. I have Wordpress set up under Apache on an EC2, and my application under Lighttpd, and I want to reverse-proxy Wordpress through the ...
0
votes
1answer
155 views

Load balancing for PHP script on AWS [duplicate]

Possible Duplicate: How do you do Load Testing and Capacity Planning for Web Sites I hope this is the proper place to ask this. I put it up in webapps and it was closed without a ...
6
votes
2answers
5k views

AWS RDS connection count

I am using AWS RDS with MySQL for a project and have a "large" instance. The documentation is clear on what this means as far as compute resources and RAM goes, but I can't find anything that ...
0
votes
1answer
327 views

Connect to memcached using PHP on Windows

I have a memcached server (on AWS ElastiCache) and need to connect to it using PHP on Windows (IIS not WAMP). Is this possible? I have found php_memcache.dll but this doesn't appear to work with ...
0
votes
1answer
326 views

PHP's FTP isn't working on Amazon linux EC2 instance?

I set up a m1.large EC2 instance and want to use it to download logs off a cdn's server. I had the code working just fine on my ubuntu laptop but once uploaded to the server the ftp_rawlist() function ...
1
vote
2answers
491 views

CPU Utilization LAMP stack

We've got an ec2 m2.4xlarge running Magento (centos 5.6, httpd 2.2, php 5.2.17 with eaccelerator 0.9.5.3, mysql 5.1.52). Right now we're getting a large traffic spike, and our top looks like this: ...
-3
votes
1answer
106 views

Optimizing requests that requires several request

I have a request that requires my server to establish like 3 external requests before it returns to the user. This makes this request takes like 0.8s to execute per user. What tips should one follow ...
3
votes
2answers
2k views

Amazon AWS Micro Instance Performance - Apache2 and PHP

I have started doing some work for a mate running Apache2 and PHP on Ubuntu and the CPU is topping out. What I am really after is advice around whether using a Micro instance is a good idea for a ...
1
vote
2answers
843 views

Why is my php script not running on boot? Running from command line works fine

I have placed the following information into my crontab file by entering "crontab -e" (in both root and "ubuntu" users, on a 32 bit Canonical Ubuntu AWS instance): @reboot /usr/bin/php ...
-1
votes
2answers
2k views

Remote Server can't access RDS Database

I'm having problems accessing my Amazon RDS MySQL Database from my server. I get this:- [Thu Sep 22 13:45:33 2011] [error] [client xx.xx.xx.xx] PHP Warning: mysqli::mysqli() [<a ...
0
votes
1answer
310 views

Should I use amazon EC2 or S3? [closed]

I am new to Amazon Web Services, and I have read the documentation about the AWS products. The closest products to meet my needs is EC2 and S3. What I want to do is, I need to host some php files and ...
1
vote
2answers
1k views

How to use SSL on AWS EC2

I have an AWS EC2 account and I am running an instance that serves as a web host for my PHP website. This is a private website that has no UI but only URLs to be requested by my other software to get ...