[solved] php.ini weird behaviour

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
benyboi
Forum Commoner
Posts: 80
Joined: Sat Feb 24, 2007 5:37 am

[solved] php.ini weird behaviour

Post by benyboi »

I have now solved the problem. I gave up on IIS and went to apache and followed this excellent quide: http://www.ricocheting.com/server/apache.html

Original Post:
I just installed PHP with the windows installer file. I selected the IIS ISAPI Module during install. There were no errors during install.

I then created the phpinfo(); page and that worked fine. Then i checked out my site, not as good: Fatal error: Call to undefined function mysql_connect() in...

Looking back at the phpinfo() page it says the php.ini file shoud be in C:\WINDOWS, so i moved php.ini-recomended there and renamed it to php.ini. I then restarted my server, refreshed the phpinfo() page but it came up blank. I then checked my site, no errors, but nothing related to php would work? Nothing from the database would show, no include()'s would work?

Anyone have any ideas?

Thanks in advance for your help!
Ben


P.S. If you need to see my phpinfo() page or php.in then please ask.
Post Reply