NEXT HOUR
  • Introduction
    • Introduction
    • Key Features
    • Next Hour Addons
  • Installation
    • Server Requirements
    • Shared Hosting Install
    • Installation Steps
    • Installation on Apache
  • Setting up NextHour
    • Getting Started
    • General Settings
    • SEO Settings
      • Google Analytics
      • Google Adsense Setting
      • Facebook pixel
    • PWA Setup
    • Affiliate
    • Mail Settings
    • Google Drive Link
    • Import Demo Content
    • Chat Setting
    • Player Setting
    • OTP Login
    • Social Login Setting
      • Facebook Login Setting
      • Google Login Setting
      • GitLab Login Setting
      • Amazon Login Setting
    • AWS Setting
    • ReCaptcha Setting
    • Wallet settings
    • App UI Shorting
    • App Setting
      • App Secret Key
      • API setting
      • App Slider Setting
    • Media Manager
    • Push Notifications
    • Setting up Multicurrency
    • Multi-Screen Setting
    • Cookie Setting
    • Ai Tool
    • Open AI API Keys
    • TMDB API Key
    • YouTube API Key
    • URL insert Features
    • Payment Gateway Setup
    • Payment Gateways
      • Stripe Payment Gateway
      • PayPal Payment Gateway
      • Razorpay Payment Gateway
      • PayU Payment Gateway
      • Braintree Payment Gateway
      • Coinpay Payment Gateway
      • Pay Stack Payment Gateway
      • Paytm Payment Gateway
      • INSTA MOJO Payment Gateway
      • MOLLIE Payment Gateway
      • CASHFREE Payment Gateway
      • OMISE Payment Gateway
      • FLUTTER RAVE Payment Gateway
      • PAYHERE Payment Gateway
      • WORLDPAY Payment Gateway
      • SQUAREPAY Payment Gateway
      • PhonePe Payment Gateway
    • Bunny storage
    • Wasabi Storage
    • Twilio Setting
    • Encrypt URL
  • Front Setting
    • Landing Page
    • Sign In / Sign Up Settings
    • Slider Setting
    • Custom Page
  • Geolocation
  • Translations
  • Database backup
  • faq
    • Installation FAQ's
    • General Faq's
    • Access Denied
    • Disclaimer
    • Regular & Extended Licenses
    • Privacy Policy
  • Update Details
    • Changelogs
    • Update Process
  • Support
    • Support
    • Source and Credits
  • Conclusion
    • Conclusion
  • OUR Products
    • Our Products
Powered by GitBook
On this page

Was this helpful?

  1. Installation

Installation on Apache

PreviousInstallation StepsNextGetting Started

Last updated 6 months ago

Was this helpful?

Apache is a popular and widely-used web server software. It is open-source software. It is known for its reliability, flexibility, and security, and is used by many websites and web applications to serve their content to users.

Apache can be used to serve a wide variety of content, including HTML pages, images, videos, and dynamic web applications. It can also be used to handle secure connections using the HTTPS protocol, and it supports a wide variety of programming languages and technologies, such as PHP, Perl, and Python.

It can be run on a variety of operating systems, including Windows, Linux, and macOS.

One of the most popular features of Apache is the ability to use modules to add additional functionality. There are many modules available, such as mod_rewrite, mod_security, and mod_ssl, which can be used to implement features such as URL rewriting, security enhancements, and SSL/TLS support.

Overall, Apache is a robust, reliable, and widely-used web server software that is well suited for serving a wide variety of content. It is also easy to configure and customize to suit the needs of different websites and web applications.

First check all server requirements is OK. Read More:

For VPS use Ubuntu 20.0 OR 22.10 OS, Also install Apache 2, PHP 8.2 , MySQL 5.7, Phpmyadmin, Zip, Unzip and all above mentioned extensions. You can also use Cloud Linux, Centos OS.

in apache server root folder: /var/www/html OR /home/user/nexthour Before installing, make sure mod_rewrite is enabled.

Unzip the source file

cd /var/www/html OR /home/user/nexthour
unzip nexthour.zip

you can configure Apache virtual host as follows (remember to point the Document Root to the public folder of the source)

<VirtualHost *:80>
ServerName yoursite.com
DocumentRoot "/home/user/nexthour/public"
Options Indexes FollowSymLinks
<Directory "/home/user/nexthour/public">
AllowOverride All Require all granted
</Directory>
</VirtualHost>

Change the directory/file’s owner to Apache’s running user (www-data for example), to make sure it has proper permission on your source files

sudo chown www-data:www-data -R /var/www/html OR /home/user/nexthour
sudo chmod 775 -R /var/www/html OR /home/user/nexthour

File and folder permissions for VPS

/bootstrap         777 
/public            777 
/storage           777 
/public/images     777 
/public/config.txt 777 
.env               777

Then restart Apache.

After that follow Installation Steps :

https://mediacitydocs.gitbook.io/next-hour/installation-1/server-requirements
https://mediacitydocs.gitbook.io/next-hour/installation-1/installation-steps