Category:FAQs

From AMPPS Wiki
Jump to: navigation, search

How to use AMPPS

  1. Default MySQL root password is "mysql".
  2. To access localhost, visit url http://localhost. DocumentRoot is path/to/Ampps/www folder.
  3. To access AMPPS Enduser Panel, visit url http://localhost/ampps
  4. To access AMPPS Admin Panel, visit url, http://localhost/ampps-admin
  5. To access phpMyAdmin, visit url http://localhost/phpmyadmin
  6. To access SQLiteManager, visit url http://localhost/sqlite
  7. You can "Restore Default Configuration" files of Apache, PHP & MySQL from their respective Tabs in AMPPS Control Center. Note: Your previous configuration will be lost.
  8. You can change MySQL root password, visit url http://localhost/ampps/index.php?act=mysqlsettings. You can also refer this wiki.
  9. You can secure AMPPS Enduser/Admin Panel, visit url http://localhost/ampps/index.php?act=secure. You can also refer this wiki.
  10. Enable/Disable Python Environment (Right click on System Tray Icon of AMPPS Control Center -> Configuration -> AMPPS -> Python Environment)

Windows

On windows 10 IIS server is by default runs on port 80. You need to stop IIS server to Run Ampps Apache. To stop IIS server follow this:

  • Open Run Box by pressing windows key + R then type services
  • Search for World wide Web Publishing Service If it is not present then search for Web Deployment Agent Service.

World wide Web Publishing Service.png

  • Right click and select Properties option.

Www propertis.png

  • Click on Stop and set auto startup to manual.


If you are getting the message "Apache port is being used by other application", Follow below details for solution.

  • Open command prompt(start -> run -> cmd) and type the following command :

C:\> netstat -aon | findstr 0.0:80

  • Last column of the output is the PID of the application using port 80. Eg. 3420 is the PID of application using port 80.
  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       3420
  • You can find the application name in Task Manager. Go to Process Tab then in Menu Bar of Task Manager go to View -> Select Column -> Check "PID" and press Ok.
  • Search for the PID in the process list(Click Below "Show processes from all users" in case if you don't find the PID), corresponding process is the application which is using port 80. Stop or Uninstall it to make your AMPPS Apache work.
  • Apache crashes/Side by side configuration error(Generally in Windows Server). By downloading Microsoft VC++ Redistributable Package 2008(x86) this could be solved.
  • Incorrect httpd.conf. We can always find why Apache din't work by running the following command in command prompt(Start -> Run -> cmd):
"path/to/Ampps/apache/bin/httpd.exe"

The above commands starts Apache if everything is correct, else it will throw an error.

Mac OS X

  1. It could be due to a port conflict i.e some other application or web server must be using port 80. Make sure that no other Application is listening on port 80. You can use Port Scan Feature of Network Utility to check which Application is listening on port 80.
  2. Incorrect httpd.conf. We can always find why Apache din't work by running the following command in Terminal:
sudo /Applications/AMPPS/apache/bin/httpd

The above commands starts Apache if everything is correct, else it will throw an error.

How To Use Scripts on Local Network

Follow this Wiki for solution.

Accessing Admin/Enduser Panel gives a Blank Page

Your php.ini isn't loaded.

Restore Default Configuration from PHP Tab of AMPPS Control Center. Then follow the below steps.

Cron was not able to run after installing AMPPS for the first time.

For Windows:

If you have selected PHP-5.5 version then run following in command prompt.

"path\to\Ampps\php\php.exe" -c "path\to\Ampps\apache\php.ini" "path\to\Ampps\ampps\softaculous\enduser\install.php"

If you have selected other than PHP-5.5 version then run following in command prompt.

"path\to\Ampps\php-5.5\php.exe" -c "path\to\Ampps\php-5.5\php.ini" "path\to\Ampps\ampps\softaculous\enduser\install.php"

For Mac OS X, type this command in Terminal

"/Applications/AMPPS/php-5.3/bin/php" -c "/Applications/AMPPS/php-5.3/etc/php.ini" "/Applications/AMPPS/ampps/softaculous/enduser/install.php"

Restart Apache.

(Note: Please make sure your Internet Connection is working properly)

License not Found

Same as above FAQ. Or run the Cron Command specified below.

Cron Command

For Windows, type this command in command prompt

If you have selected PHP-5.5 version then run following CRON command.

"path/to/Ampps/php/php.exe" -c "path/to/Ampps/apache/php.ini" "path/to/Ampps/ampps/softaculous/cron.php"

If you have selected other than PHP-5.5 version then run following CRON command.

"path/to/Ampps/php-5.5/php.exe" -c "path/to/Ampps/php-5.5/php.ini" "path/to/Ampps/ampps/softaculous/cron.php"

For Linux and Mac OS X, type this command in Terminal

"/Applications/AMPPS/php-5.3/bin/php" -c "/Applications/AMPPS/php-5.3/etc/php.ini" "/Applications/AMPPS/ampps/softaculous/cron.php"

(Note: Please make sure your Internet Connection is working properly)

Is AMPPS and Softaculous AMPPS same ?

No, AMPPS is a Stack where as Softaculous AMPPS is an auto-installer. Softaculous AMPPS is a part of AMPPS. Consider Softaculous AMPPS as a PHP Script. The Enduser/Admin Page we access from browser is a part of Softaculous AMPPS where as AMPPS is a Stack which includes the Ampps Control Center, Packages like Apache, PHP, MySQL, etc. Since they are different, you should be able to notice different version of the Softaculous AMPPS(in the footer of enduser panel) and AMPPS(in control center)

How to update Softaculous AMPPS ?

It is automatically updated in cron, it is executed every 12 hours. You can also update manually from Admin Panel of Softaculous AMPPS.

How to update AMPPS/PHP/Apache/MySQL ?

If you haven't turned off the update notification from AMPPS Configuration then you will be getting a Update Notification when AMPPS is started. You can manually update it from AMPPS Control Center -> Help -> About

For Windows, We also provide Update Installer which can be downloaded from Download Page.

Note : Some versions are not update-able due to extreme changes in the configuration. You will have to download and install the new version for updated version of AMPPS.

FileZilla server doesn't start

It is due to UAC in Windows. Open the folder path\to\Ampps\FileZilla, Right Click on "FileZilla server.exe" and "Run as Administrator". Then Install the service. You should be able to Start/Stop from AMPPS Control Center then.

Installing Zend Framework

How to install Zend Framework 2

Installing Laravel Framework

How to install Laravel Framework

AMPPS Manual update

How to update Ampps Manually

Pages in category "FAQs"

This category contains only the following page.