GhostBSD with Apache and php-admin for MySQL
Posted: Sun Feb 19, 2017 1:56 pm
Hi Eric, ASX and others
I m ashamed I have to at least try and ask but:
I don t have success getting Apache with PHP and mywebSQL running smoothly on my GhostBSD 10.3!
I thought I could almost copy the steps 1:1 from my Suse installation (except for compl. different pathes of course ) and add some stuff from well known forums, but:
- I have a running Webserver (´It works` ) and can access the login-page from mywebSQL so far, but not via Alias, via call of the index.php file from it.
- I gave user group access to cups, mysql, www and wheel
- root directory has read,write,execute for owner root, read, write, execute for group ´wheel´ (right now) and read for ´others´!
- the output of my httpd.conf-additions is:
.AddType application/x-httpd-php .php
.AddType application/x-httpd-php-source .phps
.Alias /mywebsql /usr/local/www/mywebsql
.AcceptPathInfo On
.<Directory "/usr/local/www/mywebsql/">
. Options FollowSymlinks
. Order Deny,Allow
. Allow from all
.</Directory>
Strange thing is:
when I start the URL request with "http://localhost/mywebsql/" I get the usual "forbidden" error I found so often in forums
when I start with "http://localhost/mywebsql/index.php" I get the login form, but the default user ´mysql´ without password, as works on commandline, gets another "forbidden... (403)" error when trying to login, THEN when restarting this URL (....index.php) I don t get an error but the database window I usually get on Linux after login and then selecting a database gets me the next 403 error...???
maybe I tried too much from too many forums but I am completely confused now and would really appreciate some fresh ideas where I m too stupid for the right configuration!
strange too: when reloading the index.php page I get THE following page that was rejected in the first place, same with the next page, after login the "database overview page" is rejected and with next index.php loading it gets on instead of a login etc., what am I doin wrong?
Let me know what output to add as well...
Thanks in advance - til then I ll do MySQL administration on Linux...
best
Achim
I m ashamed I have to at least try and ask but:
I don t have success getting Apache with PHP and mywebSQL running smoothly on my GhostBSD 10.3!
I thought I could almost copy the steps 1:1 from my Suse installation (except for compl. different pathes of course ) and add some stuff from well known forums, but:
- I have a running Webserver (´It works` ) and can access the login-page from mywebSQL so far, but not via Alias, via call of the index.php file from it.
- I gave user group access to cups, mysql, www and wheel
- root directory has read,write,execute for owner root, read, write, execute for group ´wheel´ (right now) and read for ´others´!
- the output of my httpd.conf-additions is:
.AddType application/x-httpd-php .php
.AddType application/x-httpd-php-source .phps
.Alias /mywebsql /usr/local/www/mywebsql
.AcceptPathInfo On
.<Directory "/usr/local/www/mywebsql/">
. Options FollowSymlinks
. Order Deny,Allow
. Allow from all
.</Directory>
Strange thing is:
when I start the URL request with "http://localhost/mywebsql/" I get the usual "forbidden" error I found so often in forums
when I start with "http://localhost/mywebsql/index.php" I get the login form, but the default user ´mysql´ without password, as works on commandline, gets another "forbidden... (403)" error when trying to login, THEN when restarting this URL (....index.php) I don t get an error but the database window I usually get on Linux after login and then selecting a database gets me the next 403 error...???
maybe I tried too much from too many forums but I am completely confused now and would really appreciate some fresh ideas where I m too stupid for the right configuration!
strange too: when reloading the index.php page I get THE following page that was rejected in the first place, same with the next page, after login the "database overview page" is rejected and with next index.php loading it gets on instead of a login etc., what am I doin wrong?
Let me know what output to add as well...
Thanks in advance - til then I ll do MySQL administration on Linux...
best
Achim