Re: Blank screen problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Roel Dillen wrote:
I ran a basic php script (php_info) but appearantly it doesn't do anything.
In viewsource the php code doesn't show up. I have Apache 2 and PHP 5 I have
adapted my httpd.conf so it should be able parse the php through the CLI
method. I have added these lines to achieve this
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"

I have added c:/php to my Path variable in windows

Just a question... did you put the PHP code within start and end tags? For example:


<?php

phpinfo();

?>

--
Teach a person to fish...

Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html
PHP Manual: http://php.net/manual/
php-general archives: http://marc.theaimsgroup.com/?l=php-general&w=2

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux