Orangescrum not installing in Centos 7?

  • Thread starter Thread starter Brief-Wishbone
  • Start date Start date
  • Tags Tags
    apache installation
AI Thread Summary
The discussion centers around issues faced during the automated installation of CentOS 7 and the subsequent setup of the Orangescrum application. The user successfully installed Apache 2.4, PHP 7.2, and MySQL 5.7, but encountered problems when trying to access the application via a web browser. Initial troubleshooting revealed that Apache may not be configured to serve PHP files correctly. Suggestions included checking the DirectoryIndex directive to ensure that index.php is set as the default file to load. The user expressed frustration with existing tutorials, indicating that previous attempts to resolve the issue had been unsuccessful. The conversation highlights the need for proper Apache configuration to successfully run PHP applications on CentOS 7.
Brief-Wishbone
Messages
12
Reaction score
0
TL;DR Summary
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
Views
14K
Back
Top