From: junkmail <jun...@2z...> - 2009-11-05 20:34:35
|
Unfortunately windows has been my platform of choice for many years and I've battled this issue across many versions of php and apache. Your problem is that you are following Apache 1 instructions for apache 2. You need to be concerned with the apache2 DLL files. Try adding these lines to your apache.conf file: ----------------------------------------------- # For PHP 5 do something like this: LoadModule php5_module "c:/php/php5apache2_2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/php" ----------------------------------------------- FYI, go to your start menu > All Programs > Apache HTTP Server 2.2 > Configure Apache Server > Test Configuration This will give you a more detailed error message about why apache will not start, which might point you in the right direction If you can't get it, keep posting, I'll get you up and runing Roderick D. Thomas 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 > > |