PHP installation checklist

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
deterius
Forum Newbie
Posts: 1
Joined: Wed May 14, 2008 6:42 pm

PHP installation checklist

Post 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()?>
User avatar
EverLearning
Forum Contributor
Posts: 282
Joined: Sat Feb 23, 2008 3:49 am
Location: Niš, Serbia

Re: PHP installation checklist

Post 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.
Post Reply