Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: php5apache2.2.dll / apache2.2 / windows 2003 php not parsing |
|
Author |
|
useless81
Joined: 07 Feb 2007 Posts: 6
|
Posted: Wed 07 Feb '07 21:09 Post subject: php5apache2.2.dll / apache2.2 / windows 2003 php not parsing |
|
|
Hi all,
Ive got a smll problem and was hoping someone could point me in the correct direction.
I have moved install to a different drive than the os called e:/
I have:
LoadModule php5_module "E:/Program Files/PHP/php5apache2.2.dll"
AddType application/x-httpd-php .php
PHPIniDir "E:/Program Files/PHP
All paths are correct, apache is running. There are no errors in error.log.
I have mod_dir.so,
so I have
<IfModule dir_module>
DirectoryIndex index.php
</IfModule>
I have mime.so running, so the AddType line is there twice.
I have a .php with no php in it, it works fine.
When I have a php file, it tries to open and or displays the code.
(so if you view source you see the <? phpinfo(); ?>
I have no php extensions loading.
Any ideas? |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Thu 08 Feb '07 11:07 Post subject: |
|
|
I think you have to enable short tags in php.ini
try
Code: |
<?php
phpinfo();
?>
|
|
|
Back to top |
|
useless81
Joined: 07 Feb 2007 Posts: 6
|
Posted: Thu 08 Feb '07 18:34 Post subject: |
|
|
Short tags it was! You are the man. Do i need to put resolved or anything in the title?
I have a few *nix based servers running apache and i think that is on by default? I never knew it existed.
Thanks! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Fri 09 Feb '07 11:40 Post subject: |
|
|
That short tags are not parsed by default came up with newer PHP 5 .
You don't have to change the title. |
|
Back to top |
|
|
|
|
|
|