You are here: Re: .PHP code does not parse php5 Apache2 on windows « PHP Programming Language « IT news, forums, messages
Re: .PHP code does not parse php5 Apache2 on windows

Posted by David Haynes on 04/05/06 17:21

Massa Batheli wrote:
> onedbguru@firstdbasource.com wrote:
>> okay... from a previous post you said that the phpinfo(); page was
>> working.. I assumed you had named it xxx.php and it displayed correctly
>> - is that not the case?
>>
>> there should be an:
>>
>> AddType application/x-httpd-php .php .phtml
>> (or similar line in either a mod_php.conf file or in the httpd.conf
>> file. without this directive, .php files cannot be "parsed".
>>
>> Q: take a closer look at:
>>
>> LoadModule php5_module "C:/PHP/php5apache2.dll"
>>
>> shouldn't that be:
>> LoadModule php5_module "C:\PHP\php5apache2.dll"
>> maybe not - for real work, I don't do windows :)
>
> I appreciate your time but will like to share this with you. The
> phpinfo.php page works wether front or back slashes are applied but
> code is not still parsed.
> What could be messed up here ...............
> Massa bathe
>

Some questions:
1. what is in your apache2/logs/errors.log file? Anything relevant?
2. have you tried a really simple php file?
For example:
<?php
echo "<h1>Hi there</h1>";
?>

3. where are the pages that are not being served? In the same place as
the phpinfo?

-david-

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация