Description
This article will detail installing, testing, and configuring PHP on the Windows Server 2012. This article will use the Microsoft Web Platform Installer (Web PI) method of installation. It will not cover the use case...
Default Time Zone
The default time zone in Rackspace Cloud sites is Central Time Zone (North America) and we do honour daylight savings time. The UTC offsets are:
Central Standard Time UTC−6:00Central Daylight Time UTC−5:...
NOTE: Please note that the following workarounds will not work until we remove the hybrid feature on August 31st, 2012
FURTHER NOTE: This article is written for our Classic Cloud Control Panel. You can access this interface from...
When serving content from your Cloud Sites, you may occasionally receive the "Connection timed out - please try again" error. We're here to shed a little light on this issue, and tell you about the steps we have taken to...
When serving content from your Cloud Sites, you may occasionally receive the "Connection timed out - please try again" error. We're here to shed a little light on this issue, and tell you about the steps we have taken to...
By default some scripts will attempt to retrieve the IP address of a visitor using the REMOTE_ADDR HTTP header. Due to the nature of our environment your script may receive the IP of one of our load balancers, rather than the IP...
In this article we're going to take a look at the .htaccess file and the web.config file. We'll discuss what they are, and how they're used with Cloud Sites.
If you are using Windowa IIS, ASP/.NET then please click the web.config...
NOTE: This article is written for our Classic Cloud Control Panel. You can access this interface from the New Cloud Control Panel by clicking your username in the upper-right of the control panel and selecting "Classic Cloud...
To be able to view server configuration information for your sites using PHP, insert the following code into a file named phpinfo.php:
<?php phpinfo(); ?>
Save the file to your site and then use your browser to call on the...
To be able to view server configuration information for your sites using PHP, insert the following code into a file named phpinfo.php:
<?php phpinfo(); ?>
Save the file to your site and then use your browser to call on the...
Below are two samples of what you can use in a .htaccess to force SSL on your PHP site:
#Force SSL on entire site
RewriteEngine On
RewriteBase /
RewriteCond %{ENV:HTTPS} !on [NC]
RewriteRule ^(.*)$ https://(YOURDOMAIN)/$1 [R,L...
You can cause PHP to be processed on HTM and HTML pages by setting those extensions to be served by the PHP handler. You can enable PHP processing on .htm and .html in your .htaccess with the following directives:
You can cause PHP to be processed on HTM and HTML pages by setting those extensions to be served by the PHP handler. You can enable PHP processing on .htm and .html in your .htaccess with the following directives:
You can test PHP SMTP functions with the following two examples. The first one is standard SMTP while the second one is SMTP with SSL.
We strongly recommend using an SMTP relay that requires authentication. Sending mail through...
NOTE: This article is written for our Classic Cloud Control Panel. You can access this interface from the New Cloud Control Panel by clicking your username in the upper-right of the control panel and selecting "Classic Control...
Session state servers are being implemented for PHP applications. This will improve the performance of most sites by setting the default session handler to the state servers. Session data will be accessible from all PHP web nodes...
NOTE: Please note that the following workarounds will not work until we remove the hybrid feature on August 31st, 2012
FURTHER NOTE: This article is written for our Classic Cloud Control Panel. You can access this interface from...
By default some scripts will attempt to retrieve the IP address of a visitor using the REMOTE_ADDR HTTP header. Due to the nature of our environment your script may receive the IP of one of our load balancers, rather than the IP...
In this article we're going to take a look at the .htaccess file and the web.config file. We'll discuss what they are, and how they're used with Cloud Sites.
If you are using Windowa IIS, ASP/.NET then please click the web.config...
When serving content from your Cloud Sites, you may occasionally receive the "Connection timed out - please try again" error. We're here to shed a little light on this issue, and tell you about the steps we have taken to...
When serving content from your Cloud Sites, you may occasionally receive the "Connection timed out - please try again" error. We're here to shed a little light on this issue, and tell you about the steps we have taken to...
When serving content from your Cloud Sites, you may occasionally receive the "Connection timed out - please try again" error. We're here to shed a little light on this issue, and tell you about the steps we have taken to...
We will be introducing an op-code cache on our PHP based web nodes. Normally, PHP files have to be read and parsed for each request before they are executed. This processing time gets longer the more complex your site is. The...
The End…
Now that you have gone through the whole guide and you have installed and created all of the files needed for your installation, you will need to restart NGINX and PHP-FPM. After you restart both services it will be up...
Here you are going to simply add some POOL information to the PHP-FPM setup that you have already done. Unknowingly when you entered the command to install PHP-FPM, the system setup a default configuration for PHP-FPM. So most of...
Well now that we have installing NGINX out of the way, we can proceed to setting up NGINX and PHP-FPM to work on your system.
If you are coming from the world of Apache, NGINX will look like Chinese to you. Though you will see...
You've gotten your system ready to install PHP-FPM.
Now this is the most complicated and quite possibly the hardest piece to the setup.
Here is the overwhelming and complicated command set that you will need to enter in order to...
Now that you've read the preface and know what you're getting yourself into, It is time to get your system ready to install NGINX and PHP-FPM.
You can get the source from NGINX and/or add the NGINX repositories to your system....
Preface
To preface this article, let me say that this is the exact stack that I have set up and am running on a Rackspace Cloud Server, so I know that it is portable and will work on a multitude of different environments. I have...
In The Beginning
This is a guide on Installing NGINX and PHP-FPM, while running on UNIX File Sockets for your Debian based system.
If this statement is making you wonder why you are here, you are either:
A- Intrigued
B- Google...
The End…
Now that you have gone through the whole guide and you have installed and created all of the files needed for your installation, you will need to restart NGINX and PHP-FPM. After you restart both services it will be up...
Here you are going to simply add some POOL information to the PHP-FPM setup that you have already done. Unknowingly when you entered the command to install PHP-FPM, the system setup a default configuration for PHP-FPM. So most of...
Well now that we have installing NGINX out of the way, we can proceed to setting up NGINX and PHP-FPM to work on your system.
If you are coming from the world of Apache, NGINX will look like Chinese to you. Though you will see...
You've gotten your system ready to install PHP-FPM.
Now this is the most complicated and quite possibly the hardest piece to the setup.
Here is the overwhelming and complicated command set that you will need to enter in order to...
Now that you've read the preface and know what you're getting yourself into, It is time to get your system ready to install NGINX and PHP-FPM.
You can get the source from NGINX and/or add the NGINX repositories to your system....
Preface
To preface this article, let me say that this is the exact stack that I have set up and am running on a Rackspace Cloud Server, so I know that it is portable and will work on a multitude of different environments. I have...
In The Beginning
This is a guide on Installing NGINX and PHP-FPM, while running on UNIX File Sockets for your Debian based system.
If this statement is making you wonder why you are here, you are either:
A- Intrigued
B- Google...
The following article will guide you through installing PHP 5.3 on your CentOS 5.x-based system using the third party webtatic and EPEL package repositories. These package repositories are not officially supported by CentOS, but...
The End…
Now that you have gone through the whole guide and you have installed and created all of the files needed for your installation, you will need to restart NGINX and PHP-FPM. After you restart both services it will be up...
Here you are going to simply add some POOL information to the PHP-FPM setup that you have already done. Unknowingly when you entered the command to install PHP-FPM, the system setup a default configuration for PHP-FPM. So most of...
Well now that we have installing NGINX out of the way, we can proceed to setting up NGINX and PHP-FPM to work on your system.
If you are coming from the world of Apache, NGINX will look like Chinese to you. Though you will see...
You've gotten your system ready to install PHP-FPM.
Now this is the most complicated and quite possibly the hardest piece to the setup.
Here is the overwhelming and complicated command set that you will need to enter in order to...
Now that you've read the preface and know what you're getting yourself into, It is time to get your system ready to install NGINX and PHP-FPM.
You can get the source from NGINX and/or add the NGINX repositories to your system....
Preface
To preface this article, let me say that this is the exact stack that I have set up and am running on a Rackspace Cloud Server, so I know that it is portable and will work on a multitude of different environments. I have...
In The Beginning
This is a guide on Installing NGINX and PHP-FPM, while running on UNIX File Sockets for your Debian based system.
If this statement is making you wonder why you are here, you are either:
A- Intrigued
B- Google...
By default some scripts will attempt to retrieve the IP address of a visitor using the REMOTE_ADDR HTTP header. Due to the nature of our environment your script may receive the IP of one of our load balancers, rather than the IP...
Below are two samples of what you can use in a .htaccess to force SSL on your PHP site:
#Force SSL on entire site
RewriteEngine On
RewriteBase /
RewriteCond %{ENV:HTTPS} !on [NC]
RewriteRule ^(.*)$ https://(YOURDOMAIN)/$1 [R,L...
You can use the following code saved into a file with a .php extension to test PHP mail functionality:
<?
$headers = 'From: webmaster@example.com';
mail('nobody@example.com', 'Test email using PHP', 'This is a test email...
You can use the following PHP script to test the session_id() function in PHP.
<?php
session_start();
$old_sessionid = session_id();
session_regenerate_id();
$new_sessionid = session_id();
echo "Old Session: $old_sessionid<...
NOTE: This article is written for our Classic Cloud Control Panel. You can access this interface from the New Cloud Control Panel by clicking your username in the upper-right of the control panel and selecting "Classic Cloud...
You can use the following in a .htaccess file to change the default document on your PHP based sites:
DirectoryIndex filename.htmlThis would cause filename.html to be treated as your default page, or default directory page. You...
If your PHP script is not working, check the following:
1. Did you save it as a file with the ".php" extension?
2. Did you upload it to the correct folder on the server?
3. Did you upload it in ASCII?
If you check all of these...
Note: We've had reports of problems using Magento with Cloud Sites. We cannot provide support for Magento on Cloud Sites so we do not recommend using it at this time. This article is made available for archival purposes only....
Note: We've had reports of problems using Magento with Cloud Sites. We cannot provide support for Magento on Cloud Sites so we do not recommend using it at this time. This article is made available for archival purposes only....