suejoh
09-04-2011, 06:30 PM
I have just loaded apache and php on my new laptop.
Apache is working and if I can run a Hello World php file but if I run phpinfo I just get a blank html page.
Any ideas on what could be wrong?
Thanks Sue
dolrichfortich
09-05-2011, 02:14 PM
Did you print the return value of phpinfo?
echo phpinfo();
Spookster
09-06-2011, 01:33 AM
Did you print the return value of phpinfo?
echo phpinfo();
You don't need to print it. The function outputs text by itself. Unless you mean to echo out the return value of true/false if it was successful or not? But then again if it is not outputting the info then I don't think finding out it returns false will be very helpful
suejoh
09-06-2011, 02:22 PM
Thanks for replying.
This is a new laptop and the phpinfo prog works on the other PC.
I am trying to set up everything with the latest versions of Apache, PHP etc and I think it is the setup or the config changes - something.
Need to find what to download from PHP - not that obvious - for Windows 7 64 bit. Just for development.
Using Apache 2.2 and MySql
Do I really have to build it myself??
Sue
djm0219
09-06-2011, 02:38 PM
http://windows.php.net/downloads/releases/php-5.3.8-nts-Win32-VC9-x86.zip
Inigoesdr
09-06-2011, 10:31 PM
Do I really have to build it myself??
If you've never installed Apache & PHP before it's far easier to use something like WAMP (http://www.wampserver.com/en/), XAMPP (http://www.apachefriends.org/en/xampp-windows.html), etc.