Code Comments
Programming Forum and web based access to our favorite programming groups.Terry Lowndes wrote: > software: > Windows XP > apache 2.2.4 > PHP 5.2.3 > > My Level: Biginner - non technical (UK Based) > I'm trting to setup on a standalone local PC so that I can learn about > PHP/MySQL/Apache > > I have apache up and running and I am trying to get PHP 5.2.3 working with > it. When I try loading the test.php file all I get is the code <? phpinfo( ); > ?>. > > I'm not really sure where to start to narrow down the problem. Can onyone > help please. Since you have got the test.php showing something we can assume apache is running. The next step is to modify the httpd.conf file ( in the conf directory of apache ) to load the php module LoadModule php5_module d:/Network/php5_2_3/php5apache2_2.dll And in the mime_module section I have AddType application/x-httpd-php .php So that apache uses the php5_module to run .php files. You need to restart apache to load any changes to httpd.conf, but currently thouse are the only additions you should need to get phpinfo(); showing the php setup. ( I don't use MySQL, but you will need to load MySQL, and the php module tha t goes with that in php.ini - which should be in your windows directory ) -- Lester Caine - G8HFL ----------------------------- Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact L.S.Caine Electronic Services - http://home.lsces.co.uk MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/ Firebird - http://www.firebirdsql.org/index.php
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.