Jump to content

PHP installation failed


Recommended Posts

Hello All!!

I'm kind of new on PHP stuff but I would like to know more about this.

So, this is the deal: I have a virtual machine with windows XP professional, SP2, IIS installed and I'm also trying to install PHP 5.2.5.

The main goal is to put PHP working with MYSQL.....but I'm having trouble just to put PHP working.

I have Installed PHP 5.2.5 manually and with the wizard.....and I can't make it work anyway. I made the phpinfo script to try it and nothing appears when i try to open it on browser......it only displays a whith page with the code line inside "<?phpinfo();?>".

Now, can anyone tell me what's going on?? How can I fix this??

Link to comment
https://forums.phpfreaks.com/topic/79426-php-installation-failed/
Share on other sites

If you used the installer with IIS then it should work. Also the code you put in your test php file should be:

 

<?php phpinfo(); ?>

 

Short open tags(<? or <?=)  will not work "out of the box". You have to configure the php.ini in order for short open tags to work.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.