Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all,
Vanilla are planning an update to the site on April 24th (next Wednesday). It is a major PHP8 update which is expected to boost performance across the site. The site will be down from 7pm and it is expected to take about an hour to complete. We appreciate your patience during the update.
Thanks all.

php not working on linode

Options
  • 19-05-2015 12:54pm
    #1
    Closed Accounts Posts: 431 ✭✭


    So i setup LAMP and php is installed but not working, it just shows the scripts rather than executing them anyone know how i might troubleshoot this issue?

    Check for your self:


Comments

  • Registered Users Posts: 2,030 ✭✭✭colm_c


    Looks like you need to update your apache config - vhost & the PHP module

    You can learn about apache here:
    http://httpd.apache.org/docs/2.4/

    If it's for a production site and you're not familiar with apache/server setup, I'd advise getting someone to do it for you (or read up on LAMP hardening) as you want to ensure it's secure and not open to compromise.


  • Closed Accounts Posts: 431 ✭✭whats newxt


    colm_c wrote: »
    Looks like you need to update your apache config - vhost & the PHP module

    You can learn about apache here:
    http://httpd.apache.org/docs/2.4/

    If it's for a production site and you're not familiar with apache/server setup, I'd advise getting someone to do it for you (or read up on LAMP hardening) as you want to ensure it's secure and not open to compromise.

    Yea i don't know, It's a strange one.

    In /etc/apache2/mods-enabled it list the php5 module:

    LoadModule php5_module /usr/lib/apache2/modules/libphp5.so

    Have you any idea?

    The site is just for a personal blog for myself so nothing serious.

    Setting it up i followed this tutorial:https://www.linode.com/docs/websites/lamp/lamp-server-on-ubuntu-14-04
    so i don't know where i went wrong.


  • Closed Accounts Posts: 431 ✭✭whats newxt


    Ah, silly me. It just needed sudo apt-get install update


  • Closed Accounts Posts: 431 ✭✭whats newxt


    Ok so i have another problem now the url's are weird how do i make the directory http://sudozen.org/sudozen.org/public_html/anchor-cms-0.9.2/ my default page when i search/type sudozen.org?

    Anyone have any idea. Sorry for noobish questions but it's my first time installing on an actual server.


  • Moderators, Society & Culture Moderators Posts: 17,642 Mod ✭✭✭✭Graham


    I'd have a bit of a rethink how you're approaching this, cobbling together a LAMP server is a bad idea from a security perspective. Your machine could be compromised in seconds.

    Have you considered one of the control panel solutions?


  • Advertisement
  • Closed Accounts Posts: 431 ✭✭whats newxt


    Graham wrote: »
    I'd have a bit of a rethink how you're approaching this, cobbling together a LAMP server is a bad idea from a security perspective. Your machine could be compromised in seconds.

    Have you considered one of the control panel solutions?

    I haven't please tell me more? Where do i get a control panel are they open source? Easy to install?


  • Closed Accounts Posts: 431 ✭✭whats newxt


    Right i'll turn off the server and start reading.


  • Moderators, Society & Culture Moderators Posts: 17,642 Mod ✭✭✭✭Graham


    All will have fairly comprehensive setup instructions and you're better off starting from a clean build as per the specs of whichever you choose:

    cPanel (commercial)
    Plesk (commercial)
    VirtualMin
    WebMin
    VestaCP

    http://en.wikipedia.org/wiki/Comparison_of_web_hosting_control_panels


  • Moderators, Society & Culture Moderators Posts: 17,642 Mod ✭✭✭✭Graham


    FWIW I have some experience with Vesta but I don't use the built it DNS, I use Cloudflare instead.


  • Closed Accounts Posts: 431 ✭✭whats newxt


    Graham wrote: »
    All will have fairly comprehensive setup instructions and you're better off starting from a clean build as per the specs of whichever you choose:

    cPanel (commercial)
    Plesk (commercial)
    VirtualMin
    WebMin
    VestaCP

    http://en.wikipedia.org/wiki/Comparison_of_web_hosting_control_panels

    Sorry to bother you again but what would you recommend as a base distro for VirtualMin?


  • Advertisement
  • Moderators, Society & Culture Moderators Posts: 17,642 Mod ✭✭✭✭Graham


    Sorry, can't help you with virtualmin. I'm using Ubuntu/Vesta on a couple of my VMs, that's where my recent experience of the CPs ends.


  • Moderators, Society & Culture Moderators Posts: 17,642 Mod ✭✭✭✭Graham


    [url]Http://serverpilot.io[/url] is a hosted control panel. That would be an even easier option, they have a free plan too.


  • Closed Accounts Posts: 431 ✭✭whats newxt


    Thanks guys i got setup with serverpilot heres the site http://www.sudozen.org


  • Moderators, Society & Culture Moderators Posts: 17,642 Mod ✭✭✭✭Graham


    Excellent, delighted to see you got it all up and running in the end.

    Did you design the theme for your site?


  • Closed Accounts Posts: 431 ✭✭whats newxt


    Graham wrote: »
    Excellent, delighted to see you got it all up and running in the end.

    Did you design the theme for your site?

    No, used this bootstrap theme here:http://startbootstrap.com/template-overviews/clean-blog/

    Just tweaked it a small bit was all.

    Anyway thanks for all your help.


Advertisement