On Wednesday 12 September 2007 08:56, Raffaele Morelli wrote: > 2007/9/12, Randy Patterson <[EMAIL PROTECTED]>: > > Hey, > > > > I installed apache like; > > > > aptitude install apache2 php5 libapache2-mod-php5 > > > > As returned by apache2ctl, I am running; > > > > Apache/2.2.4 (Debian) PHP/5.2.3-1+b1 > > > > I point my browser to; > > > > http://localhost/apache2-default/test.php > > > > The file test.php contains this code; > > > > <html><body> > > <h1>PHP Test</h1> > > <br /> > > <?php print "Hello World!"; ?> > > </body></html> > > > > The browser outputs only; > > > > PHP Test > > > > The script doesn't get executed. > > Is your php5-mod loaded by apache2? I think no. > Look in /etc/apache2/mods-enabled > > You must have 2 symlinks to php5.conf and php5.load in > /etc/apache2/mods-available, if not you must create them in order to have > php5_module listed in the output of apache2 -t -D DUMP_MODULES
Yes, those two symlinks are there. > Of course you can run: apache2 -t -D DUMP_MODULES to ensure in php5 module > is loaded. When I run this command it states that the php5_module is loaded. Thanks, Randy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]