-
1st July 2012, 09:20 AM
#1
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
-
1st July 2012, 09:40 AM
#2
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.
-
1st July 2012, 11:08 AM
#3
Re: Help needed installing FrontAccounting server
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
-
1st July 2012, 01:04 PM
#4
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.
-
2nd July 2012, 04:31 PM
#5
Re: Help needed installing FrontAccounting server
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
-
4th July 2012, 04:25 PM
#6
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.
-
4th July 2012, 05:56 PM
#7
Re: Help needed installing FrontAccounting server
Just a thought: Try turning SELinux off.
-
4th July 2012, 08:23 PM
#8
Re: Help needed installing FrontAccounting server
Many thanks! I changed in /etc/selinux/config rebooted and bingo!
Many thanks!
Pascal
-
5th July 2012, 10:56 AM
#9
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
-
By lkatkinsmith in forum Using Fedora
Replies: 1
Last Post: 27th January 2010, 02:40 AM
-
By petee1979 in forum Servers & Networking
Replies: 0
Last Post: 12th March 2009, 09:38 AM
-
By mtant621 in forum Servers & Networking
Replies: 0
Last Post: 31st January 2009, 03:38 PM
-
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
-
Forum Rules
[[template footer(Guest)]]