Find the answer to your Linux question:
Results 1 to 4 of 4
I'm currently on LinuxMint. I'd like to start PHP scripting, but the browser doesn't want to open the file, only to download. I've red the description on Ubuntu's site how ...
  1. #1
    Linux Enthusiast minthaka's Avatar
    Join Date
    May 2006
    Location
    Mol, Vojvodina
    Posts
    556

    PHP, how to hell to start

    I'm currently on LinuxMint. I'd like to start PHP scripting, but the browser doesn't want to open the file, only to download. I've red the description on Ubuntu's site how to bring apache2 and PHP together, but it simply cannot find php module. How on earth can I force Linux to act as a normal OS?
    If you need a CD/DVD catalogizer, give a try to my program:
    http://www.kde-apps.org/content/show...content=100682
    Linux Usert#430188

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    616
    so you installed the modules:
    Code:
    sudo apt-get install php5 libapache2-mod-php5
    check to see if the apache module is actually loading. should be a php.conf that loads the module (try checking the Includes directories stated inside your .conf file for apache).
    linux user # 503963

  3. #3
    Linux Enthusiast minthaka's Avatar
    Join Date
    May 2006
    Location
    Mol, Vojvodina
    Posts
    556
    I have php5.conf and php5.load in both of /etc/apache2/mods-enabled , /etc/apache2/mods-available yet it still not possible to view the file Test.php in any of the web browsers.
    If you need a CD/DVD catalogizer, give a try to my program:
    http://www.kde-apps.org/content/show...content=100682
    Linux Usert#430188

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    did you restart apache after enabling it? did you make sure php script has executable bit set?

    i looked at ubuntu guide, not sure if they missed steps or some of those get done automagically on ubuntu, but check out the arch wiki and see if it helps
    LAMP - ArchWiki

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...