Results 1 to 5 of 5

Thread: LAMP error under Debian

  1. #1
    Join Date
    Mar 2010
    Posts
    182

    LAMP error under Debian

    Hello,
    I'm trying to create a new forum phpBB3, until my hoster do what is necessary, I wish to run locally under Lamp. I'm on Debian Lenny. I have installed the following packages: apache2, mysql-server, php5, php5-mysql phpmyadmin. I think that Apache2 works, I am entitled to a "it works" if I type localhost in my browser. I therefore refer to the documentation page on this site phpBB3 on the installation under Wamp, which I adapted to my case. I tried to open with Iceweasel in case. Then tried to restart Apache2 and MySQL, always the same result. How you guys will help me. Thanks in advance.

  2. #2
    Join Date
    Mar 2010
    Posts
    202

    Re: LAMP error under Debian

    Hello,
    I personally doubt that the mod php is not enabled by default after a fresh install apache2 php5 and mysql. But it is nevertheless a trail to follow. By cons in your suppose url http://www.example.foo/phpBB3/install it points to the folder install / php script that contains the install. I rather think it is a problem with the Directory Index directive which must not be present in the conf lamp. Try It instead of typing directly: http://www.example.foo/phpBB3/install/index.php.

  3. #3
    Join Date
    Nov 2009
    Posts
    330

    Re: LAMP error under Debian

    Hello,
    I think lamp that does not take into account the config apache2 modules which are now in / etc/apache2/mods-available / or in / etc / apache2/apache2.conf. Lamp may still be trying to read the file / etc/apache2/mods-available/dav_svn.conf no longer used by apache2 today but still present by worries of compatibility (look in httpd.conf there is nothing) Maybe a solution would be to paste the conf directory of the module in the httpd.conf as it can read the conf Lamp. We must put the following lines in the file / etc/apache2/mods-available/dav_svn.conf:
    Code:
    <IfModule dir_mon.c>
    
              DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
    
    </IfModule>
    Then you type the magic command that allows Apache to reload the conf without restart the server:
    Code:
    # Apache2ctl-k graceful

  4. #4
    Join Date
    Nov 2009
    Posts
    356

    Re: LAMP error under Debian

    Hello,
    Yes I think the following is correct
    Code:
    <IfModule dir_m.c>
    
              DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
    
    </IfModule>
    By cons that is still weird that I have been bothered, I'm not the only one yet to use lamp. Any additional information on this is appreciated. Thanks in advance.

  5. #5
    Join Date
    Nov 2009
    Posts
    335

    Re: LAMP error under Debian

    Hello,
    But it's true that generally a Linux user who wants to set up a basic web server rather happen one:
    Code:
    aptitude install apache2 mysql-server-5.0 php5 phpmyadmin
    Then it made its personal conf. Lamp is supposed to do exactly the same thing but I guess not. The principle is really practical Lamp for windows, and it's called Wamp, but in debian ... much install everything by hand.

Similar Threads

  1. Replacement Lamp for Sony Bravia XL-2400.
    By Pranvi in forum Portable Devices
    Replies: 5
    Last Post: 30-06-2011, 09:02 PM
  2. Genie lamp challenge in Petville
    By The EClipse in forum Video Games
    Replies: 4
    Last Post: 18-02-2011, 07:43 AM
  3. Best Operating system for a LAMP server
    By Degrader in forum Operating Systems
    Replies: 4
    Last Post: 25-01-2011, 07:46 PM
  4. Error on my Debian system saying eth0 error
    By Triple JJJ in forum Networking & Security
    Replies: 5
    Last Post: 23-11-2010, 12:03 AM
  5. Reset lamp hours
    By Flacos in forum Technology & Internet
    Replies: 5
    Last Post: 30-04-2010, 01:29 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,727,010,017.71691 seconds with 17 queries