Quantcast
Channel: Why is php not running? - Stack Overflow
Browsing all 7 articles
Browse latest View live

Answer by Dan for Why is php not running?

To answer the original question "Why is php not running?"The file your browser is asking for must have the .php extension.If the file has the .html extension, php will not be executed.

View Article



Answer by Dipankar Biswas for Why is php not running?

Type in browser localhost:80//test5.php[where 80 is your port and test.php is your file name] instead of c://xampp/htdocs/test.php.

View Article

Answer by MagicLAMP for Why is php not running?

One big gotcha is that PHP is disabled in user home directories by default, so if you are testing from ~/public_html it doesn't work.Check /etc/apache2/mods-enabled/php5.conf# Running PHP scripts in...

View Article

Answer by davidgo for Why is php not running?

When installing Apache and PHP under Ubuntu 14.04, I needed to specifically enable php configs by issuing a2enmod php5-cgi

View Article

Answer by tinybluerobot for Why is php not running?

Check out the apache config files. For Debian/Ubuntu theyre in /etc/apache2/sites-available/ for RedHat/CentOS/etc they're in /etc/httpd/conf.d/. If you've just installed it, the file in there is...

View Article


Answer by Mic1780 for Why is php not running?

You need to add the semicolon to the end of all php things like echo, functions, etc.change <?php phpinfo() ?> to <?php phpinfo(); ?>If that does not work, use php's function ini_set to...

View Article

Why is php not running?

I've seen this question answered many times, but most end either unanswered or by telling the asker to put this:<?php phpinfo() ?>in a test file. Obviously, if that produced what was expected, I...

View Article
Browsing all 7 articles
Browse latest View live




Latest Images