> >> Do you need to a2enmod mod_php or similar? > > no such file found in this distro. From browsing I gather this is similar to > mod_rewrite (am I correct?) which is apparently built in and is not in > httpd.conf
a2enmod is a command (script). You'd use it to enable / disable modules in apache2.* i.e.: “# a2enmod php5” mod_rewrite is a module for apache… Do you have a mods-available and mods-enabled folder in /etc/apache2 (or /etc/httpd of wherever it is on that distro) ? >> >> + you shouldn't be using the short tags ( <? not <?php ) these days. > > short_open_tag = On - tested both If you’re just messing about at home and not putting stuff online or taking part in a multi-dev project short tags are fine, but best practice is full tags... > >> >> That should wok if php support is enabled in apache. > > Please see notes above. > I have a spare 12G ptn. I think I will do a clean install on it and see what > happens > Something seems to be very wrong in php land with your box Barry, so this would be a good idea given how much trouble it seems to be giving you. I’ve not played with magia but apart from doing hardening / tuning of a LAMP server it really shouldn’t be very difficult at all on a linux box to get a test/dev environment running at all.. 10 minutes see’s it all done on most distros... Cheers, Chris H. _______________________________________________ Linux-users mailing list [email protected] http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
