-1
votes
1answer
18 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
38 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
31 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
45 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
143 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
225 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
61 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
41 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
248 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
38 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
495 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
40 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
367 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
60 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
73 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
112 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
41 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
129 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
234 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
58 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. ...
0
votes
2answers
227 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
289 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
43 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
138 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
80 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
279 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
345 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
154 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
593 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
147 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
142 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 ...
3
votes
2answers
3k 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
271 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
248 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
454 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
103 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
747 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
1k 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
307 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 ...