Page 1 of 1

PHP installation checklist

Posted: Wed May 14, 2008 8:49 pm
by deterius
Hi, I've been recently installing and configuring a new server.
And I can't figure out why but my PHP is not working.

I have a windows xp server
i've just installed an apache server 2.2 on it

I've used the standard automatic installation for windows- and Im not sure what to do whats next.

Ive added "AddType application/x-httpd-php .php" to the httpd.conf

and

<IfModule !mpm_netware_module>
<IfModule !mpm_winnt_module>PHP5apache2_2.dll

is already in the config file?

but i get nothing when I try to run <?phpinfo()?>

Re: PHP installation checklist

Posted: Thu May 15, 2008 3:49 am
by EverLearning
Try running

Code: Select all

<?php
phpinfo();
?>
Notice the <?php ?> tags in contrast to the <? ?> you used.
PHP5 comes with short_open_tag = off directive so your example won't work.