Page not found error 404 message customize in php.
1) if you have the local server "http://localhost" and you site root folder is "/test/myht/" then your url will be as:
create a file "404.html" or any other name. and paste the message as :
<h1> My custome error message for file not found.. file not found </h1>
2)Create ".htaccess" file and make the listed below entry
ErrorDocument 404 /test/myht/404.html
if WAMP or LAMP is alreay "ON" the restart it.
open browser and try to url as:
you will found your customization message as:
"My custome error message for file not found.. file not found".