Hi Barry… When you say that it shows tagged entries correctly, accept the <?php one… Do you mean it’s showing your PHP source code after the <?php tag?
Cheers, Chris H. > On 13/06/2015, at 22:48, Barry <[email protected]> wrote: > > Hi All, can you please help me to get php code recognized on localhost. > The install is Mageia 4, 64bit > > Localhost is set up and recognized by apache > > Apache 2.4.7-5.6 installed > > apache-mod_php 5.5.25-1 installed > > PHP 5.5.25 is installed > > After a stop/start the errors.log file shows '[pid 12632] AH00163: > Apache/2.4.7 (Unix) PHP/5.5.25 mod_perl/2.0.8-dev Perl/v5.18.1 configured -- > resuming normal operations' > > httpd -M lists 'php_module (shared)' as the last loaded module > > index.html and index.php (in /var/www/http/) are both recognised. Without > them all directory entries are listed. Testphp.php lists tagged entries > except <?php correctly > > php -r "phpinfo();" and 'php -i' on the command line both work. > > Alterations I have made to httpd.conf are as follows.............. > Listen 127.0.0.1:80 > Include conf/modules.d/*.conf (includes modules.d/70_mod_php.conf) > Options All > AddHandler php5-script .php .html .htm > AddHandler php .php > AddType text/html .php > AddOutputFilter INCLUDES .shtml .html .php .php5 > > I have goggled at google for many days now so any help will be appreciated. > > Barry > > _______________________________________________ > Linux-users mailing list > [email protected] > http://lists.canterbury.ac.nz/mailman/listinfo/linux-users _______________________________________________ Linux-users mailing list [email protected] http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
