<---- template headericclude ----->
Help needed installing FrontAccounting server
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2012
    Location
    Greece
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help needed installing FrontAccounting server

    Hi all, I've been trying to set up a web server in order to install the php-based software FrontAccounting and I got stuck. I have setup an Apache web server, installed PHP and started the server. Still, when I'm using firefox to open php files it prompts me to use gedit. What am I doing wrong?

    Any help will be appreciated.

    Thanks,

    Pascal

  2. #2
    Join Date
    Apr 2010
    Location
    Earth
    Posts
    901
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help needed installing FrontAccounting server

    are the php files in the webserver directory? If you installed the Apache server via Fedoras httpd package it should be /var/www/html. You would open the file /var/www/html/index.php like that in your browsers: localhost/index.php

    Here is a Apache and php, mysql setup guide.

  3. #3
    Join Date
    Apr 2012
    Location
    Greece
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help needed installing FrontAccounting server

    Quote Originally Posted by Fenrin
    are the php files in the webserver directory? If you installed the Apache server via Fedoras httpd package it should be /var/www/html. You would open the file /var/www/html/index.php like that in your browsers: localhost/index.php

    Here is a Apache and php, mysql setup guide.
    Thanks for taking the time to answer my question. When I put 127.0.0..1 in firefox I get the Apache test page, so I know I have done at least that right. But then I try putting some content in /var/www/html/, like some index.php (the dir is empty initially) and the browser gives me a 404 error for 127.0.0.1/install/index.php.

    Two more questions if I'm not asking too much; 1. Shouldn't I be able to read any .php file with my browser? and 2. Should I have a ~/public_html directory?

    Pascal

  4. #4
    Join Date
    Apr 2010
    Location
    Earth
    Posts
    901
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help needed installing FrontAccounting server

    maybe my following post helps a bit:
    http://forums.fedoraforum.org/showpo...33&postcount=5

    setting up the /var/www/html folder up so that it works is a bit easier than the ~/public_html folder. I think it doesn't matter much what you use.

    but if you want to do it via the public_html folder, I also explained it in this linked post:
    instead of /var/www/html you can also use ~/public_html (~ is a abbreviated form of your user home directory).
    to do this:
    • setsebool -P httpd_enable_homedirs 1
    • edit the file /etc/httpd/conf/httpd.conf: UserDir enabled, uncomment UserDir public_html
    I'm not sure if this is all, maybe you also have to set permissions via chmod.
    Last edited by Fenrin; 1st July 2012 at 01:06 PM.

  5. #5
    Join Date
    Apr 2012
    Location
    Greece
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help needed installing FrontAccounting server

    Quote Originally Posted by Fenrin
    maybe my following post helps a bit:
    http://forums.fedoraforum.org/showpo...33&postcount=5

    setting up the /var/www/html folder up so that it works is a bit easier than the ~/public_html folder. I think it doesn't matter much what you use.

    but if you want to do it via the public_html folder, I also explained it in this linked post:

    I'm not sure if this is all, maybe you also have to set permissions via chmod.
    After some hours of meddling wth the information presented in your posts and elsewhere I declare my temporary defeat. My head aches and I just discovered the Apache installation is wrong. It worked yesterday...

    So I'm taking a break. Thanks for trying to help. I'll keep you posted.

    Pascal

  6. #6
    Join Date
    Apr 2012
    Location
    Greece
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help needed installing FrontAccounting server

    Hi, I'm back!

    I made some progress but there are still some problems. I re-installed the whole thing (Apache, PHP and mySQL) according to this page and your post and things are looking a lot better. I also moved my relevant files to /var/www/html and made myself member of the apache group but I seem to still have permissons pronlems according to the insallation procedure of FrontAccounting. I also do not have access to pascalinux/phpMyAdmin even though 127.0.0.1/phpMyAdmin does work. Both 127.0.0.1/FrontAccounting and pascalinux/FrontAccounting (my hostname) point to the same files (/var/www/html/FrontAccounting).

    I'm a bit confused and I would appreciate some help.

    Pascal

    ---------- Post added at 06:25 PM ---------- Previous post was at 06:15 PM ----------

    I forgot to mention that gives when I point my browser to http://pascalinux/phpmyadmin/ me the error
    Code:
    You don't have permission to access /phpmyadmin/ on this server.
    Last edited by pligdas; 4th July 2012 at 04:30 PM.

  7. #7
    Join Date
    Aug 2010
    Location
    Al Ain, UAE
    Posts
    2,028
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help needed installing FrontAccounting server

    Just a thought: Try turning SELinux off.

  8. #8
    Join Date
    Apr 2012
    Location
    Greece
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help needed installing FrontAccounting server

    Many thanks! I changed in /etc/selinux/config
    Code:
    SELINUX=permissive
    rebooted and bingo!

    Many thanks!

    Pascal

  9. #9
    Join Date
    Aug 2010
    Location
    Al Ain, UAE
    Posts
    2,028
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Help needed installing FrontAccounting server

    SELinux is a problem when you install schtuff not from a repo, since then you got to make your own rules for it.

Similar Threads

  1. Help needed on installing software!
    By lkatkinsmith in forum Using Fedora
    Replies: 1
    Last Post: 27th January 2010, 02:40 AM
  2. help needed with dhcp3-server
    By petee1979 in forum Servers & Networking
    Replies: 0
    Last Post: 12th March 2009, 09:38 AM
  3. SSH Server Help Needed
    By mtant621 in forum Servers & Networking
    Replies: 0
    Last Post: 31st January 2009, 03:38 PM
  4. ms server setup help needed
    By panamszr12 in forum Using Fedora
    Replies: 0
    Last Post: 27th October 2005, 04:23 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]