note 89208 added to install.windows.apache2
| From: | Anonymous at osu1 dot php dot net | Date: | Thu, 26 Feb 2009 14:32:07 +0000 |
| Subject: | note 89208 added to install.windows.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-151167@lists.php.net to get a copy of this message | ||
i followed henke37's way to for the httpd.conf
I added all this at the very end of httpd.conf
# For PHP 5
#load the php main library to avoid dll hell
Loadfile "C:\php-5.2.8-Win32\php5ts.dll"
#load the sapi so that apache can use php
LoadModule php5_module "C:\php-5.2.8-Win32\php5apache2_2.dll"
#set the php.ini location so that you don't have to waste time guessing where it is
PHPIniDir "C:\php-5.2.8-Win32"
#Hook the php file extensions
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps
Also i didn't use short open tags as they are disabled in
"php.ini-recommended" if you don't change anything
So use this to test
<?php
phpinfo();
?>
NOT
<? phpinfo(); ?> short open tags
added my php directory to the PATH system variable and i start apache manually not as a service
It works for me hope it helps you!
----
Server IP: 202.79.181.100
Probable Submitter: 219.74.158.80
----
Manual Page -- http://www.php.net/manual/en/install.windows.apache2.php
Edit -- https://master.php.net/note/edit/89208
Del: integrated -- https://master.php.net/note/delete/89208/integrated
Del: useless -- https://master.php.net/note/delete/89208/useless
Del: bad code -- https://master.php.net/note/delete/89208/bad+code
Del: spam -- https://master.php.net/note/delete/89208/spam
Del: non-english -- https://master.php.net/note/delete/89208/non-english
Del: in docs -- https://master.php.net/note/delete/89208/in+docs
Del: other reasons-- https://master.php.net/note/delete/89208
Reject -- https://master.php.net/note/reject/89208
Search -- https://master.php.net/manage/user-notes.php