For web development training and php learning purposes, I have just installed OS xampp vm on my MacBook Pro, I have cross check the system and hardware requirement and I am OK on that side, it has the right processor architecture and other features necessary to run xampp-vm. All seems to be OK however I am getting an issue accessing phppmyadmin, as I am constantly getting a error 403. I have managed to access it the first time when I did the setup by now it is impossible. Here are the steps I have already taken until now:
Improved security with
- Code: Select all
/opt/lampp/lampp security
Set and change initial passwords for phpmyadmin, as 127.0.0.1, localhost and pm.
Same for ProFTP
Changed the permissions of config.inc.php to 777, as I could not access it, to then add the root password
Activated the eAccelerator by the changed on the php.ini file
Activated the OCI8 Oracle extension
Changed the httpd-xampp.conf to:
Alias /phpmyadmin "/opt/lampp/phpmyadmin/"
- Code: Select all
<Directory "/opt/lampp/phpMyAdmin">
AllowOverride AuthConfig
Require all granted
Changed the http.conf to:
- Code: Select all
<Directory "/opt/lampp/apache2/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
When trying to access phpmyadmin with or from:
localhost dashboard link
http://localhost:8080/phpmyadmin
http://127.0.0.1:8080/phpmyadmin
http://xxx.xxx.xx.x:8080/phpmyadmin
I am always getting the following:
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
xxx.xxx.xx.x
Apache/2.4.29 (Unix) OpenSSL/1.0.2n PHP/7.2.3 mod_perl/2.0.8-dev Perl/v5.16.3
I have changed the permissions from the root folder to 777 restarted it, but same issue...
Well, have tried to find further information on this forum or on internet, but I am always getting the httpd-xampp.conf modification solution and it does not work...
That's it I have reached to the limit of meager knowledge and really stuck... a solution would be highly appreciated...
Thanks...