• Resolved wayneg03

    (@wayneg03)


    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 6 years, 8 months ago by wayneg03.
Viewing 15 replies - 1 through 15 (of 27 total)
  • 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 6 years, 8 months ago by Simon Prosser.
    Thread Starter wayneg03

    (@wayneg03)

    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 6 years, 8 months ago by wayneg03.

    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

    Thread Starter wayneg03

    (@wayneg03)

    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 6 years, 8 months ago by wayneg03.

    Sure if it’ll help.

    Thread Starter wayneg03

    (@wayneg03)

    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

    (@wayneg03)

    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.

    What php is thrown at you? An error/warning?

    Thread Starter wayneg03

    (@wayneg03)

    i get what looks like a cross between an error and the install page written in what looks like php.

    Any chance of a screenshot?

    Thread Starter wayneg03

    (@wayneg03)

    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.

    What localhost url did you setup as the webserver virtualhost?

    If you chose my-local-wordpress then it would be https://my-local-wordpress/. The installer should run from there.

    Thread Starter wayneg03

    (@wayneg03)

    how can i attach them.

    how can i attach them.

    You can use any free image host, imgur for example.

    Thread Starter wayneg03

    (@wayneg03)

    Good question. the tutorial didnt cover that.

    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)
  • The topic ‘PHP confusion’ is closed to new replies.