Thread: during install cant find test.php
hi all
have been installing apache, php , mysql on machine instructions:
https://help.ubuntu.com/community/apachemysqlphp
have setup apache , have installed php. instructions state that:
so created test.php in /var/www directory , chmod file:checking php 5 installation
in /var/www , create text file called "test.php", grant world (or, @ least, ubuntu user "apache") permission read it, write in line: "<?php phpinfo(); ?>" (without quotation marks) then, web browser, go uri "http://localhost/test.php": if can see description of php5 configuration, proves php 5 works apache.
but when goto http://localhost.test.php gives me 404 not found error.code:glenn@acer:/var/www$ ls -al total 16 drwxr-xr-x 2 root root 4096 may 19 21:14 . drwxr-xr-x 14 root root 4096 may 19 20:52 .. -rw-r--r-- 1 root root 177 may 19 20:52 index.html -rw-r--r-- 1 www-data www-data 20 may 19 21:14 test.php -rw-r--r-- 1 root root 0 may 19 21:14 test.php~ glenn@acer:/var/www$
suggestions?
you've typed wrong url. should be:
http://localhost/test.php
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [SOLVED] during install cant find test.php
Ubuntu
Comments
Post a Comment