1. Create a server
Open the Simple Application Server Purchase page, make your selections for the listed options. For Image, select LAMP.
2. View application information
In the navigation pane of Simple Application Server console, select Servers > LAMP.
In the navigation pane, select Application > App Details.
View LAMP Information, click Copy, then click Connect.
Paste the command you copied into the command prompt, press Return.
You can see the information of the LAMP development environment.
3. View your settings of the LAMP server
Switch to a root user in the remote connection window.
sudo su root
Log on to the default site, and go to the root directory
webroot_dir
.cd /home/www/htdocs
Open a new file phpinfo.php.
vim phpinfo.php
- Enter the following command in the vim interface.
<?php
phpinfo();
?>
Press ESC to save and close the file.
:wq!
You can visit http:// domain name/phpinfo.php or http:// server IP address/phpinfo.php to view your PHP settings.
See Domain & DNS to have your domain name resolved.