From: Adam L. <apl...@gm...> - 2009-11-05 20:32:23
|
I'm trying to understand the config snippet you posted. Do you have the file path enclosed in quotes? I've not installed PHP on Windows in a long time, but it seems that a file path with a space in it might cause trouble. Just a quick thought. Adam P. Larsen apl...@gm... On Thu, Nov 5, 2009 at 2:15 PM, Roderick D. Thomas <tho...@ms...> wrote: > I'm trying to install Apache/PHP/MySql on my computer (Windows XP) strictly for development purposes. I installed Apache 2.2.14 and it appears to be working fine. I get the "it's working" page at http://localhost/ > > I then installed PHP 5.3.0 but .php pages aren't being recognized. I've been reading through support Apache and PHP support pages with no luck. I tried follow instructions below from the PHP install.txt file: > > Installing as an Apache module > > You should add the following lines to your Apache httpd.conf file: > > Example 2-3. PHP as an Apache 1.3.x module > > This assumes PHP is installed to c:\php. Adjust the path if this is not > the case. > > For PHP 5: > # Add to the end of the LoadModule section > LoadModule php5_module "C:/php/php5apache.dll" > ------------------------------------------------------------------------------------------------------------------------ > I inserted the following line but Apache didn't like it. Apache won't restart when it's there. > LoadModule php5_module C:\Program Files\PHP\php5apache.dll > > And I can't make sense of the rest of the instructions. > ------------------------------------------------------------------------------------------------------------------------ > > # Add to the end of the AddModule section > AddModule mod_php5.c > > For both: > # Add this line inside the <IfModule mod_mime.c> conditional brace > AddType application/x-httpd-php .php > > # For syntax highlighted .phps files, also add > AddType application/x-httpd-php-source .phps > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > |