• pb52

    (@paulbarrett1952)


    Rookie issue – need help please

    I have previously installed the WordPress package on my Synology NAS and have created content. Everything is working fine there.

    I decided to install a second wordpress site as a sandbox area so that I can play with themes etc.

    I downloaded 4.6.1 and unzipped it into the folder web\wordpress461test

    The instructions say that next you should ‘open wp-admin/install.php in your browser. It will take you through the process…..’

    But when I click on the file in Chrome all I get is the plain html source displayed, it doesn’t run.

    I am clearly missing something obvious. Help please? !

    I am not hugely technical, so an idiot’s guide would be helpful and I won’t get at all upset if your treat me like one! ??

    – Paul

Viewing 10 replies - 1 through 10 (of 10 total)
  • Stefano

    (@madking-web-design)

    Hi there,
    Did you follow the complete steps to make a new installation? (make a new DB etc)?

    https://codex.www.ads-software.com/Installing_WordPress

    It simply means PHP isn’t running.

    Thread Starter pb52

    (@paulbarrett1952)

    Hi Stefan

    Did I follow the complete steps? I wish!

    I got as far as unzipping the file into a dedicated folder alongside my existing WordPress installation and clicking on install.php.

    Hi staartmees – No, it’s not that. PHP 5.6 is running and supporting my existing WordPress 4.5.3 installation.

    Any other suggestions please?

    – Paul

    open wp-admin/install.php in your browser

    “open” in this case means browse to the file using your browser. Enter https://yoursite.com/wp-admin/install.php in the browser address bar to run the file.

    Stefano

    (@madking-web-design)

    Can you describe me your subfolders hierarchy?
    Let’s say you have the public_html folder where your live website lives:

    public_html/yourlivesite.com

    You made a folder, mysecondsite so now you got:

    public_html/
    folder: yourlivesite.com
    folder: mysecondsite.com

    When you unzip WordPress zip, it gives you a folder named wordpress

    Then your folders hierarchy becomes:

    public_html/
    folder:  yourlivesite.com
    folder:  mysecondsite.com/wordpress/hereareallmywordpressfiles

    What I really try to explain here is, to try to follow your folders hierarchy so we can check it out that you’re entering the right Url of your subfolders path.

    Can you enter in your browser:

    https://yoursite.com/yoursecondsitefolder/wordpress/install.php

    Let’s try this one, so we can be sure that you’re in the right path!

    Thread Starter pb52

    (@paulbarrett1952)

    Thanks for your help everyone! ??

    Following bdbrown’s advice I was able to run the installation process. So I now have 2 installations of WordPress

    The folder structure looks like this (and please bear in mind that I am hosting this on a Synology NAS)

    NAS02
    web
    wordpress (my live site)
    wordpress461test (my new sandbox site)

    I thought I’d start by copying over the content from the live site so I could experiment with themes etc. Lacking any knowledge of ways to do this I chose what I though would be the simple option. I exported the content from the live site into an XML file so that I could import it to the test site. But before I could do that I obviously needed to download the import plugin.

    I tried to do that but hit a problem:

    “Connection Information

    Failed to connect to FTP Server barrettnas2.synology.me:21”

    I tried various credentials but none worked so I am wondering if it’s a port forwarding issue. I had that problem with the live system and had to set up a router port forwarding rule for Port 80. Could that be the issue here? (But why, if Port 80 is already open and pointed to the NAS?)

    Stefano

    (@madking-web-design)

    +1
    1. Try to create an ftp account for your installation, or contact your hosting provider to do that for.

    2. If WordPress asks you to provide FTP details, you can provide these ftp details in your wp-config.php file: WordPress Upgrade Constants

    define('FS_METHOD', 'ftpext');
    define('FTP_BASE', '/var/www/vhosts/yourftpbasepath/');
    define('FTP_USER', 'username');
    define('FTP_PASS', 'password');
    define('FTP_HOST', 'host');
    define('FTP_SSL', false);

    Also, your login credentials should be the right ones!

    Let me know if this worked for you.

    • This reply was modified 7 years, 11 months ago by Stefano.
    Stefano

    (@madking-web-design)

    Also, you can upload your plugin through Cpanel, and upload it in:

    ./yourinstallation/wp-content/plugins folder

    Thread Starter pb52

    (@paulbarrett1952)

    Hi Stefano

    Thanks for your replies.

    I must have an ftp account running already, to support the existing WP 4.5.3 installation that I created using the specific Synology WP Package. But I did not get asked any of this information as part of that installation process. I guess the installer must have done it silently. So how do I discover the ftp credentials? I’ll repost that question on the Synology forum too but if you happen to know that’d be great.

    And now for the newbie question. Cpanel? What’s that please?

    Regards

    Hi,
    cPanel?is a Linux-based web hosting control panel that provides a graphical interface of hosting a web site.
    You can login to your cpanel by your hosting account or by going to https://yourdomain.com/cpanel

    thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Install.php just displays the HTML’ is closed to new replies.