From: matt d. <mm_...@ya...> - 2009-11-05 20:36:40
|
Use- LoadModule php5_module "C:/Program Files/PHP/php5apache2.dll" And you need to tell Apache which files it should send to the PHP processor. All files ending in .php will be parsed by the PHP dll before Apache sends to the client. AddType application/x-httpd-php .php ________________________________ From: Roderick D. Thomas <tho...@ms...> To: chi...@li... Sent: Thu, November 5, 2009 2:15:49 PM Subject: [chiPHPug-discuss] New PHP Installation 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 |