installing wordpress locally on ispconfig 3 server with NGINX

Discussion in 'Installation/Configuration' started by Mikeal Wolfe, Sep 29, 2024.

  1. Mikeal Wolfe

    Mikeal Wolfe New Member HowtoForge Supporter

    everytime i try to run https://wp-site.com/wp-admin/setup-config.php, input the DB name and user for the the website i end up at the below error. Plus, i cannot seem to find the instructions on how or where to install the plugin or even how to install the plugin for wordpress with NGINX as ISPConfig3's webserver NOT APACHE2. any help would gre


    ERROR 500 - Internal Server Error!
    The following error occurred:

    The requested URL caused an internal server error.
    If you get this message repeatedly please contact the webmaster.
     
    Last edited: Sep 29, 2024
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a look at the error.log of the website, there you will find details why this error happens.

    About which plugin are you talking? WordPress is a CMS (Content management system); it's not a plugin. Also, there is no plugin needed to install WordPress in ISPConfig with Nginx, all you do is unpack WordPress in the web folder of the site as SSH user of that site (or upload it with FTP) and then open a browser with the web domain and follow the instructions on the screen. In case you downloaded the WordPress files as root user, then you must take care to chown the to the web user and client group of the site. Finally, you might want to put the necessary Nginx directive in Nginx directives field to get nice URL's, there are many posts about that here in the forum. I moved your post to the general installation forum installing WordPress is not plugin-related.
     
    Last edited: Sep 29, 2024
    Mikeal Wolfe likes this.
  3. Strontium

    Strontium New Member

  4. Mikeal Wolfe

    Mikeal Wolfe New Member HowtoForge Supporter

    Hi @till , i have a working ISPConfig 3 CMS up and need to have some WordPress features for some customers, so I have done both download the plugin, FTP'd to the web folder using the customer's FTP username and PW. Then opened the site with /wp-admin/setup-config.php. It starts the config, select the language, plugin the customers DB, the DB username and PW, DB host is 'localhost', press submit and get the Error 500. I also put the NGINX directives in. I could not figure out if there is something i am missing if the DB is the customer DB for the site or another DB. It looks so simple so why the issue?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you get the error when you install WordPress, or do you get the error when you install that WordPress plugin? You must install WordPress first before installing a plugin for WordPress. Also, there is no need to put in the Nginx directive in that step, so better do things step-by-step to find out where the issue is.

    As I mentioned above, you can find the reason for your problem listed in the error.log of the website. To find out what the exact issue is, you must look into the error.log file of the website, which you find in the log folder of the site, and post that error message here.
     
    ahrasis likes this.

Share This Page