Announcement

Collapse
No announcement yet.

[solved] Apache2 and PHP5 problem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [solved] Apache2 and PHP5 problem

    Ok, I'm running Kubuntu 10.04 32 bit only os on box
    Pentium 4 mobile
    1.25GB RAM
    on a Dell inspiron 600m Laptop

    i wanted to mock up a idea for a web site, so i wanted to put in a lamp stack on this laptop.

    I tried a seltask instation of a lamp stack it wouldn't work. so i tried from synaptic, Apache2 works, it wont do/parse .php files.

    i have added the following to the httpd.conf file
    AddType application/x-httpd-php .php

    i made sure apache2-mod-php is installed.

    any other hints?


    Edit - The problem was I was cut and pasting the .php file from a .pdf copy of a for dummies book, when i type it in fresh it works.
    Thanks

    #2
    Re: Apache2 and PHP5 problem

    My server is also my desktop, and it runs Kubuntu, and for the server software on that I installed apache2, php5-mysql, libapache2-mod-php5, mysql-server. It all works together well, and PHP and everything works fully too. Btw, I used apt-get (sudo apt-get install apache2 php5-mysql libapache2-mod-php5 mysql-server).
    Acer Aspire 5810TZ - Debian Sid (KDE 4.5.3)/Mac OS X 10.6.3<br />*Intel Pentium SU2700 @ 1.3GHz, 3 gig DDR3 RAM, Intel GMA x4500*<br /><br />Custom Desktop - Kubuntu 10.10 (KDE 4.6.1)<br />*2x Dual-Core Intel Xeon @3.2GHz, 3 gig RAM, NVIDIA GeForce 9500 GT*<br /><br />iPod Touch 4th Gen - iOS 4.1 (Greenpois0n Jailbreak)<br />*

    Comment

    Working...
    X