For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > August 2007 > RE: [PHP-INSTALL] Install(Auto) PHP 5.2.3 on Apache2.2.4 (WinXP)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE: [PHP-INSTALL] Install(Auto) PHP 5.2.3 on Apache2.2.4 (WinXP)
Paul Blondé

2007-08-10, 7:01 pm

Yes, you need to install into something like C:\php or C:\php5, and you =
also
need to configure php.ini *and* httpd.conf (the apache configuration =
file).
All of this is documented in the PHP installation package. Start reading =
at
line 854 of c:\php5\install.txt (or your equivalent), the line that =
reads
"Apache 2.0.x on Microsoft Windows".



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Paul Blond=E9
Web Programmer
enTel Communications Inc
jpb@entel.ca
250.633.5151
866.633.2644


-----Original Message-----
From: RodgerW [mailto:rodger.wills@gmail.com]=20
Sent: Friday, August 10, 2007 2:33 AM
To: php-install@lists.php.net
Subject: [PHP-INSTALL] Install(Auto) PHP 5.2.3 on Apache2.2.4 (WinXP)


Can an auto install be done of PHP 5.2.3 on apache 2.2.4 on WinXP=20
platform or must it be a manual install? I have attempted this. Tried=20
the Hello World PHP page. Looks like the PHP bit does not go through PHP =

because it does not display the message in the web page. That is, the=20
PHP bit is not rendered to HTML. I viewed the apache httpd.conf file and =

saw that the install did put some PHP settings in it:


#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:\\Program Files\\PHP\\"
LoadModule php5_module "C:\\Program Files\\PHP\\php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

I used the PHP installer from the PHP web site. I installed it to the=20
default as can be seen. Although I read somewhere that one should not=20
install to the "Program Files" directory due to the space character in=20
the folder name of "Program Files", I would thing that the double quotes =

around it would take care of that problem.

So what am I doing wrong? Am I missing some directories which I need to=20
add to the class path? Are there some DLL's which I need to register? Or =

do I need to uninstall and rather extract the PHP Zip package to a=20
folder like "C:\PHP" with no space characters in file path? If an auto=20
install on apache 2.2.4 is not possible, why would there be a=20
downloadable install file?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com