41 thoughts on “Amazon EC2 Free Hosting Setup for PHP and MySQL

  1. Hlo, i have a doubt regarding connecting the ip address with the domain.my ip address is redirecting to the xampp page , when i am connecting to the domain

  2. Hello, this is a great explanation! Help please!
    I have my index file in a folder in the htdocs folder. Although I can see that xampp is working through my IP address, it won't pull through to my godaddy domain name. Can anyone help me fix this?

  3. If you are getting an error like:
    "/opt/lampp/etc/extra/httpd-xampp.conf" E212: Can't open file for writing
    (this is because you don't have necessary permission to modify this file)
    to resolve this issue, do this:

    sudo su –
    vi /opt/lampp/etc/extra/httpd-xampp.conf

    [do required changes -> press Esc key -> :wq! (including colon sign)]
    sudo /opt/lampp/lampp restart

    VOILA! You got this. 😉

  4. Host your website and applications with JachOOs Cloud Hosting on AWS platform with unlimited SSD space, 30 days 2 times daily backup, unlimited email accounts, one click WordPress and other applications installer and much more protected with Imunify360 and ModSecurity powered by cPanel control panel. Highly reliable hosting on Amazon Web Services platform. See packages: https://jachoos.net/client/cart.php?gid=14
    [email protected] ■ WWW.JACHOOS.NET

  5. im getting an error at the vi /opt/lampp/etc/extra/httpd-xampp.conf file edit and rewriting step. can someone or admin can help me?

  6. im getting an error at the vi /opt/lampp/etc/extra/httpd-xampp.conf file edit and rewriting step. can someone or admin can help me?

  7. Hello,
    Great video and a wonderful guide. It seems that my httpd-xampp.conf looks different and I do not have the LocationMatch. When I try to add this to my code I still get error when trying to access to phpmyadmin, any clues what should I do?

  8. Thank you for an excellent tutorial. Every time i restart i get the following message.
    Restarting XAMPP for Linux 7.2.30-0…

    XAMPP: Stopping Apache…ok.

    XAMPP: Stopping MySQL…ok.

    XAMPP: Stopping ProFTPD…ok.

    XAMPP: Starting Apache…/opt/lampp/share/xampp/xampplib: line 22: netstat: command not found

    /opt/lampp/share/xampp/xampplib: line 22: netstat: command not found

    ok.

    XAMPP: Starting MySQL…/opt/lampp/share/xampp/xampplib: line 22: netstat: command not found

    ok.

    XAMPP: Starting ProFTPD…/opt/lampp/share/xampp/xampplib: line 22: netstat: command not found

    ok.

    can anyone guide, what is the issue?
    Thanks

  9. first, you have to

    <Directory "/opt/lampp/phpmyadmin">

    AllowOverride AuthConfig Limit

    Require all granted

    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var

    </Directory>

    To replace with this

    <Directory "/opt/lampp/phpmyadmin">

    AllowOverride AuthConfig Limit

    Require all granted

    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var

    </Directory>

  10. i have changed "Require local" to "Require all granted" and then save but still got ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var plz help

  11. Goodafternoon, when i run this command Run Installation
    sudo ./xampp-linux-x64-7.0.23-0-installer.run, in terminal i faced Syntax error: Unterminated quoted string so, kindly please guide me to resolve us

  12. When editing the conf file you need to add Require all granted before the ErrorDocument line. Thanks for the wonderful tutorial
    <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">

    Order deny,allow

    Allow from all

    Allow from ::1 127.0.0.0/8

    fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16

    fe80::/10 169.254.0.0/16

    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var

    </LocationMatch>

  13. Hi, am having problems with access phpmyadmin even after editing my httpd-xampp-help.md file, please i need some help

  14. Thanks for the tutorial.. It helped me a lot.. Can I get how to upload existing localhost project to this instance?? Plz plz

Leave a Reply

Your email address will not be published. Required fields are marked *