0
Having an issue when compiling php code :(
"The webpage cannot be found Http 404 " how I can solve this ? thanks :)
7 Antworten
+ 2
If you are dealing with PHP you allways need a webserver with PHP installed. You can not open a php-file directly in a browser, instead of HTML/JavaScript files.
PHP will be executed on the webserver and will deliver HTML/JS to the browser.
+ 1
that didn't sounds like a php compiling issue...
Did you get the right URL?
What about other ressources in the webserver, e.g. images or simple HTML are the accessable?
+ 1
but not your PHP file?
try to upload the simplest phpfile in the world:
<?PHP phpinfo(); ?>
and try to reach it.
if you get the same error your webserver did not have PHP installed.
0
hi jmey
yes all images and stuff are accessible.
0
same error :(
0
what kind of webserver did you use?
Maybe you could install xamp on your system and try it local to test your code.
0
wow thanks a lot jmey. installed xampp and problem gone.