Title: PHP confusion
Last modified: February 10, 2018

---

# PHP confusion

 *  Resolved [wayneg03](https://wordpress.org/support/users/wayneg03/)
 * (@wayneg03)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/)
 * I have a headless server (Ubuntu 16.04), it has PHP 7 installed but wordpress
   still refuses to install. I get some stupid messy page in black and whit that
   offers no help. This 5 minute install is a joke right?
    I open /var/www/html/
   wp-admin/install.php in firefox and get told php is not running, but it is.. 
   why would anyone use wordpress is beyond me. I coded a website faster than i 
   am unable to install WP.
    -  This topic was modified 8 years, 4 months ago by [wayneg03](https://wordpress.org/support/users/wayneg03/).

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/php-confusion-2/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/php-confusion-2/page/2/?output_format=md)

 *  [Simon Prosser](https://wordpress.org/support/users/pross/)
 * (@pross)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/#post-9948311)
 * Did you try a `phpinfo()` page? It’ll tell you if PHP is installed correctly.
 * Just create a `test.php` file in your `/var/www/html/` dir and just the following:
   `
   <?php phpinfo(); ?>`
 * Then open the url to site `<url>/test.php`.
 * You are not trying to open the installer using a path are you?
 * > I open /var/www/html/wp-admin/install.php in firefox and get told php is not
   > running, but it is..
 * You have to open a URL, whatever you used when you setup the webserver, be it
   localhost or whatever.
    -  This reply was modified 8 years, 4 months ago by [Simon Prosser](https://wordpress.org/support/users/pross/).
 *  Thread Starter [wayneg03](https://wordpress.org/support/users/wayneg03/)
 * (@wayneg03)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/#post-9948412)
 * Thanks for the response
    I get the php info page, i can also get the apache “
   it works” page, i cannot get the WP installer to work. i now have bigger issues.
   something called mir (never heard of or installed it) now refuses to work and
   wordpress has officially broken my server. There goes all my media and animation
   work, thank you WP. Without a fresh install i wont get this working and i have
   had enough. 5 minutes, LMFAO.
    -  This reply was modified 8 years, 4 months ago by [wayneg03](https://wordpress.org/support/users/wayneg03/).
 *  [Simon Prosser](https://wordpress.org/support/users/pross/)
 * (@pross)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/#post-9948696)
 * From searching `mir` seems to be some sort of desktop library. Ive never heard
   of it either.
 * WordPress wouldn’t just install *any* system package, its impossible. Neither
   would it break anything.
 * If you are setting this up on a ubuntu desktop machine there are plenty of howtos
   on the web for that [https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-16-04](https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-16-04)
 *  Thread Starter [wayneg03](https://wordpress.org/support/users/wayneg03/)
 * (@wayneg03)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/#post-9948727)
 * I am aware it did not install mir, but something in the tutorial i followed broke
   something.
    Server may be possibly repaired( for now) I dont understand why i
   can see the test.php i created as well as the apache page but not the WP installer.
   would providing the text of the php page help? I can also confirm the database
   is set up. Looks like a period of trial of every possible solution i find online.
    -  This reply was modified 8 years, 4 months ago by [wayneg03](https://wordpress.org/support/users/wayneg03/).
 *  [Simon Prosser](https://wordpress.org/support/users/pross/)
 * (@pross)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/#post-9948757)
 * Sure if it’ll help.
 *  Thread Starter [wayneg03](https://wordpress.org/support/users/wayneg03/)
 * (@wayneg03)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/#post-9948769)
 * i just copied the bits with enabled/disabled etc.
 * Server API Apache 2.0 Handler
    Virtual Directory Support disabled Configuration
   File (php.ini) Path /etc/php/7.0/apache2 Loaded Configuration File /etc/php/7.0/
   apache2/php.ini Scan this dir for additional .ini files /etc/php/7.0/apache2/
   conf.d Debug Build no Thread Safety disabled Zend Signal Handling disabled Zend
   Memory Manager enabled Zend Multibyte Support provided by mbstring IPv6 Support
   enabled DTrace Support available, disabled
 *  Thread Starter [wayneg03](https://wordpress.org/support/users/wayneg03/)
 * (@wayneg03)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/#post-9948956)
 * All i get is what looks like php thrown at me, the worst error message in history.
   
   I have php installed, it works, mysql works, frickin firefox works, why does 
   wordpress refuse to? It makes no frickin’ sense. i jumped through all the stupid
   hoops.
 *  [Simon Prosser](https://wordpress.org/support/users/pross/)
 * (@pross)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/#post-9949021)
 * What php is thrown at you? An error/warning?
 *  Thread Starter [wayneg03](https://wordpress.org/support/users/wayneg03/)
 * (@wayneg03)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/#post-9949072)
 * i get what looks like a cross between an error and the install page written in
   what looks like php.
 *  [Simon Prosser](https://wordpress.org/support/users/pross/)
 * (@pross)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/#post-9949081)
 * Any chance of a screenshot?
 *  Thread Starter [wayneg03](https://wordpress.org/support/users/wayneg03/)
 * (@wayneg03)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/#post-9949097)
 * can you at least give me the exact format for the url i need to type.
    I have
   a suspicion the tutorial i followed missed out some important config stuff.
 *  [Simon Prosser](https://wordpress.org/support/users/pross/)
 * (@pross)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/#post-9949110)
 * What localhost url did you setup as the webserver virtualhost?
 * If you chose `my-local-wordpress` then it would be `http://my-local-wordpress/`.
   The installer should run from there.
 *  Thread Starter [wayneg03](https://wordpress.org/support/users/wayneg03/)
 * (@wayneg03)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/#post-9949117)
 * how can i attach them.
 *  [Simon Prosser](https://wordpress.org/support/users/pross/)
 * (@pross)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/#post-9949129)
 * > how can i attach them.
 * You can use any free image host, imgur for example.
 *  Thread Starter [wayneg03](https://wordpress.org/support/users/wayneg03/)
 * (@wayneg03)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/#post-9949156)
 * Good question. the tutorial didnt cover that.
 * [https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-16-04](https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-with-lamp-on-ubuntu-16-04)
 * proceeded to look anyway and when i opened up the /etc/apache2/sites-available/
   wordpress.conf it was blank so left it.

Viewing 15 replies - 1 through 15 (of 27 total)

1 [2](https://wordpress.org/support/topic/php-confusion-2/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/php-confusion-2/page/2/?output_format=md)

The topic ‘PHP confusion’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 27 replies
 * 2 participants
 * Last reply from: [wayneg03](https://wordpress.org/support/users/wayneg03/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/php-confusion-2/page/2/#post-9958036)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
