Page 1 of 1

Newbie Confession: Can't even get phpinfo() to work - Help

Posted: Wed Aug 06, 2003 8:18 pm
by c2497
Hello:

I installed the following on Win2k; php-4-3-2 and Apache 2.0.47.

I made the following additions to http.conf in the right sections:

LoadModule php4_module c:/php-4.3.2-Win32/sapi/php4apache2.dll

AddType application/x-http-php .php .phtml .html
AddType application/x-http-php-source .phps

When I try to open my phpinfo.php page (located in htdocs), all I get is:
The page cannot be displayed
The page you are looking for is currently unavailable.

I renamed/moved my php.ini.dist to php.ini.

I also moved php4ts.dll to the system directory.

I didn't have any new messages in the apache error log but trying to stop apache via

I also checked to make sure that Apache2 is running as a service.

I know this isn't alot of detail (or maybe it's too much) but does anybody recognize the nature of my problem?

Are my php and apache versions compatible?

Help is appreciated.

Thanks,
Jerie

Posted: Wed Aug 06, 2003 10:05 pm
by c2497
Perhaps some progress to report. I restarted my apache server and now I get the <? phpinfo(); ?> command displayed in a browser but not the results of the <? phpinfo(); ?> command.

php.ini

Posted: Wed Aug 06, 2003 10:05 pm
by rterrar
do you have short_open_tag = On in your php.ini file and is the php.ini in your windows directory or somewhere in your PATH variable?

Posted: Thu Aug 07, 2003 5:59 am
by c2497
I checked and I do have short_open_tag= on.

Posted: Thu Aug 07, 2003 10:48 am
by m3rajk
ok. then you can use that. what about the second??? if it's not in the path nor that dir then it can't find th e ini file