Fedora Linux Support Community & Resources Center
  #1  
Old 1st July 2012, 09:20 AM
pligdas Offline
Registered User
 
Join Date: Apr 2012
Location: Greece
Posts: 19
linuxfirefox
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
Reply With Quote
  #2  
Old 1st July 2012, 09:40 AM
Fenrin Offline
Registered User
 
Join Date: Apr 2010
Location: Earth
Posts: 895
linuxopera
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.
Reply With Quote
  #3  
Old 1st July 2012, 11:08 AM
pligdas Offline
Registered User
 
Join Date: Apr 2012
Location: Greece
Posts: 19
linuxfirefox
Re: Help needed installing FrontAccounting server

Quote:
Originally Posted by Fenrin View Post
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
Reply With Quote
  #4  
Old 1st July 2012, 01:04 PM
Fenrin Offline
Registered User
 
Join Date: Apr 2010
Location: Earth
Posts: 895
linuxopera
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:
Quote:
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.
Reply With Quote
  #5  
Old 2nd July 2012, 04:31 PM
pligdas Offline
Registered User
 
Join Date: Apr 2012
Location: Greece
Posts: 19
linuxfirefox
Re: Help needed installing FrontAccounting server

Quote:
Originally Posted by Fenrin View Post
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
Reply With Quote
  #6  
Old 4th July 2012, 04:25 PM
pligdas Offline
Registered User
 
Join Date: Apr 2012
Location: Greece
Posts: 19
linuxfirefox
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.
Reply With Quote
  #7  
Old 4th July 2012, 05:56 PM
flyingfsck Offline
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,870
linuxfirefox
Re: Help needed installing FrontAccounting server

Just a thought: Try turning SELinux off.
Reply With Quote
  #8  
Old 4th July 2012, 08:23 PM
pligdas Offline
Registered User
 
Join Date: Apr 2012
Location: Greece
Posts: 19
linuxfirefox
Re: Help needed installing FrontAccounting server

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

Many thanks!

Pascal
Reply With Quote
  #9  
Old 5th July 2012, 10:56 AM
flyingfsck Offline
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,870
linuxfirefox
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.
Reply With Quote
Reply

Tags
frontaccounting, installing, needed, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help needed on installing software! lkatkinsmith Using Fedora 1 27th January 2010 01:40 AM
help needed with dhcp3-server petee1979 Servers & Networking 0 12th March 2009 09:38 AM
SSH Server Help Needed mtant621 Servers & Networking 0 31st January 2009 02:38 PM
ms server setup help needed panamszr12 Using Fedora 0 27th October 2005 04:23 PM


Current GMT-time: 02:03 (Sunday, 21-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat