php config

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
User avatar
C_Calav
Forum Contributor
Posts: 395
Joined: Wed Jun 02, 2004 10:55 pm
Location: New Zealand

php config

Post by C_Calav »

hey guys,

it has been a while since i last installed apache and php etc.

i have just installed it at work for a project.

now when i run phpinfo.php

http://localhost/phpMyAdmin/phpinfo.php

i get a blank white page. what does this mean?

sorry if in wrong section please move --

thanx :)
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

Most likely candidate is a missing/bad php4(or 5) LoadModule line in httpd.conf
User avatar
C_Calav
Forum Contributor
Posts: 395
Joined: Wed Jun 02, 2004 10:55 pm
Location: New Zealand

Post by C_Calav »

thanx will check it out
User avatar
C_Calav
Forum Contributor
Posts: 395
Joined: Wed Jun 02, 2004 10:55 pm
Location: New Zealand

Post by C_Calav »

this is what i have for it:
LoadModule php4_module "c:\php\php4apache2.dll"
and that file is in that directory just checked.

these are the versions i downloaded.

apache_2.0.52-win32-x86-no_ssl.msi
php-4.3.10-Win32.zip

and i followed this tutorial

http://crowdesigns.apachego.com/apache/

thanx
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

It might just be down to the extra stuff phpMyAdmin puts in it's phpinfo.php file (the require_once stuff).
Try putting a phpinfo.php file at http://localhost/phpinfo.php and in it just put:

Code: Select all

<?php phpinfo() ?>
User avatar
C_Calav
Forum Contributor
Posts: 395
Joined: Wed Jun 02, 2004 10:55 pm
Location: New Zealand

Post by C_Calav »

working now.

phpmyadmin phpinfo.php file had all this other crap in it.

i made my own php info file with just phpinfo(); in it and it worked. thanx
Post Reply