I have installed Apache and PHP in my localhost and when I test my installation with the traditonal phpinfo.php (only one line: <?php phpinfo(); ?>) I get: "The page can not be found". :glare:
The PHP script is put in the catalogue: D:\Program Files\Apache Group\Apache2\htdocs\ and I also tried to move it to D:\Program Files\Apache Group\Apache2.
(The PHP is located at my C-partition of the harddisc and Apache at the D-partition.)
It seems to be some problem with the interaction between PHP and APACHE. 😕
In the Apache file http.conf this is changed:
1) Load module new line: LoadModule php5_module c:/php5/php5apache2.dll
2) Server name set to local host: ServerName 127.0.0.1:80
3) Link to php application added: AddType application/x-httpd-hp .php .phtml .html
4) Server status changed to:
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
5) Server info changed to:
<Location /server-info>
SetHandler server-info
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
I've renamed the recommended ini file to php.ini (no changes) and copied it to c:/windows/This code exist in the ini-file - should the smtp_port be changed= to 80? Standard setting:
; For Win32 only.
SMTP = localhost
smtp_port = 25
The file php5ts is copied to c:/windows/system32/ in my XP environment.
My APACHE service is running ok and I'm an administrator user and yes I have restarted my Window XP computer.
Do anyone have an idea about what i've missed?