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 that
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
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]