Title: Impossible installation
Last modified: November 24, 2017

---

# Impossible installation

 *  [lisalew](https://wordpress.org/support/users/lisalew/)
 * (@lisalew)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/impossible-installation-2/)
 * Hi,
 * I try to install WordPress on debian 9.
    When I go to [http://localhost/wp-admin/setup-config.php](http://localhost/wp-admin/setup-config.php)
   I don’t get a GUI where I can install wordpress but a page filled with php code.
   I have followed many tutorials and I don’t understand why it doesn’t work. How
   can I fix this problem?
 * Kind regards,
 * Lisa
    -  This topic was modified 8 years, 5 months ago by [lisalew](https://wordpress.org/support/users/lisalew/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [dyrer](https://wordpress.org/support/users/dyrer/)
 * (@dyrer)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/impossible-installation-2/#post-9718811)
 * Have you installed server and PHP?
    Apache or Nginx and PHP
 *  Thread Starter [lisalew](https://wordpress.org/support/users/lisalew/)
 * (@lisalew)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/impossible-installation-2/#post-9718876)
 * I installed Apache2, PHP and mariadb and I configured a lamp server.
    I have 
   also configured Apache2 and mariadb. After I downloaded the last version of wordpress
   that I place in /var/www/html and I modified the permissions of Apache webroot.
 *  [Gyanendra Giri](https://wordpress.org/support/users/gyan/)
 * (@gyan)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/impossible-installation-2/#post-9720847)
 * > where I can install wordpress but a page filled with php code.
 * Just PHP code or some kind of error message?
 * Please provide more info.
 *  [Keith](https://wordpress.org/support/users/keithdriscoll/)
 * (@keithdriscoll)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/impossible-installation-2/#post-9727733)
 * Have you tested that PHP is working? A page filled with PHP code is due to PHP
   not being installed correctly, therefore not being interpreted by the server.
 * This is how to test PHP on Debian: [https://wiki.debian.org/LaMp#Test_PHP](https://wiki.debian.org/LaMp#Test_PHP)
 *  [dtlevin](https://wordpress.org/support/users/dtlevin/)
 * (@dtlevin)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/impossible-installation-2/#post-9744406)
 * You should create a php.info page to get the information about your system and
   if it doesn’t run then you probably have a problem with php running. Create a
   page called “pageinfo.php” in it paste this code
 *     ```
       <?php
   
       // Show all information, defaults to INFO_ALL
       phpinfo();
   
       ?>
       ```
   
 * upload it to the home directory and then go to that page in your browser and 
   you will see everything you need about php on your system.
    Here is a link to
   more information
 * [https://mediatemple.net/community/products/dv/204643880/how-can-i-create-a-phpinfo.php-page](https://mediatemple.net/community/products/dv/204643880/how-can-i-create-a-phpinfo.php-page)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Impossible installation’ is closed to new replies.

## Tags

 * [installation](https://wordpress.org/support/topic-tag/installation/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 5 participants
 * Last reply from: [dtlevin](https://wordpress.org/support/users/dtlevin/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/impossible-installation-2/#post-9744406)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
