[ale] php & apache2 on debian
Kenneth Ratliff
lists at noctum.net
Mon Mar 9 09:07:20 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mar 9, 2009, at 7:11 AM, Jerald Sheets wrote:
> The crux of my concern with the issue is the fact that phpmyadmin
> (developed mostly in PHP) works just fine for you but a simple
> phpinfo and gallery2 does not. THat has me stumped a little.
That is sort of odd.
I notice he said the following -
and.. it still doesn't work. I created a test file:
?php
// Show all information, defaults to INFO_ALL
phpinfo();
// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);
?>
Paul, is that actually what it says? If so, it sort of makes sense,
because the first line is incorrect, it should be <?php
I usually just create a file called php.php in the document root of
the domain and add the following one liner to it:
<?php phpinfo(); ?>
And if it loads, it tells me right away whether or not php is working.
Now, if he does have the proper syntax for the php file he created
above and just missed a < on the copy/paste, that is sort of odd, if
it's just displaying code. Means something in the apache config is
causing the server to not parse php files properly. The double load
error message means that php is likely loading just fine, so he'll
also have to pay attention to things like Included files and .htaccess
files as well.
This is definitely weird, especially if this is a fresh install,
usually getting apache and php working together in debian is a fait
accompli. I don't usually see these kinds of problems until folks
start trying to compile either apache or php on their own.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (Darwin)
iEYEARECAAYFAkm1FIwACgkQXzanDlV0VY6csQCaArahhugcKazzP5E6edM6oCKL
7fgAnRLMieZ1ShwU3YlEeo77jFMaJIH4
=oYG3
-----END PGP SIGNATURE-----
More information about the Ale
mailing list