From: Roderick D. T. <tho...@ms...> - 2009-11-05 23:27:26
|
Never mind. I didn't realize my extension was .php.txt XAMPP is working swell! Sorry about the confusion. Quoting "Roderick D. Thomas" <tho...@ms...>: > I uninstalled Apache and PHP. And then did a full basic install of > XAMPP 1.7.2. Localhost is working fine for index.html but .php files > aren't loading. I created test.php in C:\xampp\htdocs. Nothing > happened. The script was <?php echo 'Hello world'; ?> > > Quoting "Neil Young" <ny...@as...>: > >> I don't have a direct answer to your issue, but I just wanted to say >> that I personally find it much easier to setup PHP and Apache on Windows >> using a packaged setup, like XAMPP or WAMP. >> >> >> >> >> >> 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 >>> >> >> >> ------------------------------------------------------------------------------ >> 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 >> >> |