Orangescrum not installing in Centos 7?

  • Thread starter Thread starter Brief-Wishbone
  • Start date Start date
  • Tags Tags
    apache installation
Click For Summary
SUMMARY

The installation of Orangescrum on CentOS 7 requires specific configurations for Apache, PHP, and MySQL. The user successfully installed Apache 2.4, PHP 7.2, and MySQL 5.7, and followed the necessary steps to set permissions and create a MySQL database. However, the issue arises from Apache not being configured to serve PHP files, which prevents the application from functioning correctly. Proper configuration of the DirectoryIndex directive in Apache is essential for resolving this issue.

PREREQUISITES
  • Apache 2.4 configuration
  • PHP 7.2 installation and setup
  • MySQL 5.7 database management
  • Understanding of virtual hosts in Apache
NEXT STEPS
  • Learn how to configure Apache to serve PHP files, focusing on the DirectoryIndex directive.
  • Research troubleshooting techniques for common PHP and Apache integration issues.
  • Explore the Orangescrum documentation for specific installation and configuration guidelines.
  • Investigate permissions and ownership settings for web applications on CentOS 7.
USEFUL FOR

Web developers, system administrators, and anyone involved in deploying PHP applications on CentOS 7, particularly those working with Orangescrum.

Brief-Wishbone
Messages
12
Reaction score
0
TL;DR
Orangescrum not installing in Centos 7?
The official tutorial for automated installation of centos 7 doesn't work. So, I had to refer to online tutorials.

I installed apache 2.4,php 7.2, mysql 5.7.
Then I downloaded .zip source code from here

https://github.com/Orangescrum/orangescrum.
Then, I setup some permissions and ownership as per documentation.
Code:
    $ sudo mv ~/orangescrum-main /var/www/html && sudo chown root:root -R /var/www/html
    $ sudo chmod -R 0777 /var/www/html/orangescrum-main/{app/Config,app/tmp,app/webroot}

Then I setup a virtual host orangescrum.conf in /etc/httpd/conf.d.
Code:
  <VirtualHost *:80>
    ServerName orangescrum.example.com
    DocumentRoot /var/www/html/orangescrum-main
    <Directory /var/www/html/orangescrum-main>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    </Directory>
    </VirtualHost>

Then I created mysql database
Code:
  CREATE DATABASE orangescrum;
    CREATE USER 'orangescrumuser'@'localhost' IDENTIFIED BY 'yourpassword';
    GRANT ALL PRIVILEGES ON orangescrum.* TO 'orangescrumuser'@'localhost' IDENTIFIED BY 'yourpassword' WITH GRANT OPTION;
    FLUSH PRIVILEGES;
    EXIT;
Then I imported the database.

Code:
    $ mysql -u root -p orangescrum < /var/www/html/orangescrum-main/database.sql
Then I updated orangescrum credentials inside `/var/www/html/orangescrum-1.6.1/app/Config/database.php`

Code:
 'login' => 'orangescrumuser',
    'password' => 'yourpassword',
    'database' => 'orangescrum',

But it's not working and I'm getting the below output when I enter my ip address in browser.How do I fix this issue? Is there a way?

http://i.stack.imgur.com/7FQg1.png
 
Technology news on Phys.org
Brief-Wishbone said:
How do I fix this issue? Is there a way?
I wouldn't call this as an "issue", you just haven't configured Apache to serve PHP files. There are better places to learn how to do this stuff than PhysicsForums.
 
pbuk said:
I wouldn't call this as an "issue", you just haven't configured Apache to serve PHP files. There are better places to learn how to do this stuff than PhysicsForums.
Any suggestions for places?
 
I've tried all tutorials at least five times. None of them work.
 
pbuk said:
you just haven't configured Apache to serve PHP files
Have you fixed this?

If so, how do you know?
If not, how much progress do you think you are going to make?
 
Is your Apache server configured to load index.php file by default? (I'm assuming this is the file you have in your /app/webroot/ folder.)

See the DirectoryIndex directive for more info.

Just adding this filename to your request should also work.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
14K