aleezah
asked on
PHP installation
hi!
i have installed php 4.3.1 using installer on windows 98...i have pws running...
i still cant view my php file in browser
i get the error
404 file not found!
plz guide me wat has gone wrong..
i really want my php code running...
plz answer me at ur earliest
regards
i have installed php 4.3.1 using installer on windows 98...i have pws running...
i still cant view my php file in browser
i get the error
404 file not found!
plz guide me wat has gone wrong..
i really want my php code running...
plz answer me at ur earliest
regards
The file isn't at the URL you are typing in to your browser.
if you haven't installed PHP correctly an error, or an obvious result would occur.
As you are recieveing a 404 error I presume you have not got the correct file path; or location of the file. Are you sure you are browsing to the correct file?(you may find it may help temporarily to turn directory browsing on and browse to the file through that).
Can you see HTML pages you have created on the server ior is it a new installation?
Good Luck
Joel
As you are recieveing a 404 error I presume you have not got the correct file path; or location of the file. Are you sure you are browsing to the correct file?(you may find it may help temporarily to turn directory browsing on and browse to the file through that).
Can you see HTML pages you have created on the server ior is it a new installation?
Good Luck
Joel
* Check if you have set Apache to support PHP.
* Check if you have set virtual host properly.
Error 404: wrong URL or file not found. Create a index.html in your root and point the URL to that file and check if this file can be loaded
* Check if you have set virtual host properly.
Error 404: wrong URL or file not found. Create a index.html in your root and point the URL to that file and check if this file can be loaded
ASKER
hi!
well pws is working fine..i can view all my html and asp pages...
and i am giving the right path...
still its not working
need help!!!
well pws is working fine..i can view all my html and asp pages...
and i am giving the right path...
still its not working
need help!!!
Well, even if you are giving the right path in the browser, the file has to be placed in the right directory.
Are you getting the default page of Apache?????
First of all, check you default DocumentRoot in the httpd.conf file. Place the php file in that directory, and then in the URL your address should contain only the path from the DocumentRoot.
If you have done all this right, then i dont see why you should get this error.
Are you getting the default page of Apache?????
First of all, check you default DocumentRoot in the httpd.conf file. Place the php file in that directory, and then in the URL your address should contain only the path from the DocumentRoot.
If you have done all this right, then i dont see why you should get this error.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanx for the help...but now i get another error...
Warning CGI !
cgi_redirect_status....ask ed me to disable it..
i did now i get
500 internal web server error
plz guide me wat to do now!
waiting
aleezah
Warning CGI !
cgi_redirect_status....ask
i did now i get
500 internal web server error
plz guide me wat to do now!
waiting
aleezah
1) could you tell me the name of the installer you used (with version and type (ISAPI or CGI). If you don't know this; just the name of the file is fine.
2)Could you turn logging on "check the Save Website Activity Log" in the advanced tab of the PWS manager. If possible could you browse to a page and then post the results of the error here?
Then we can try some diagnosis.
Thanks
Joel.
2)Could you turn logging on "check the Save Website Activity Log" in the advanced tab of the PWS manager. If possible could you browse to a page and then post the results of the error here?
Then we can try some diagnosis.
Thanks
Joel.
ASKER
hi!
well i used php 4.3.1 installer
when i try to execute php code ..it gives this error
error 500
internal web server error
need some help..
i have so work to do and my php is not even running
regards
well i used php 4.3.1 installer
when i try to execute php code ..it gives this error
error 500
internal web server error
need some help..
i have so work to do and my php is not even running
regards
What error does it put in the web servers error log?
What happens if you try the simplist PHP script:
<?php phpinfo(); ?> (and nothing else)
What happens if you try the simplist PHP script:
<?php phpinfo(); ?> (and nothing else)
ASKER
hi!
when i try this code i still get the same error...
500 internal web server error..
i dont know how to check web server error log...coz i have installed pws for 95...there is no manager for it,,,,
but when i execute the simplest code i get this error
always same..
need help...
when i try this code i still get the same error...
500 internal web server error..
i dont know how to check web server error log...coz i have installed pws for 95...there is no manager for it,,,,
but when i execute the simplest code i get this error
always same..
need help...
Can u just tell the directory where u have placed the program
And the path to it. What is the program name???
anything at all??
And the path to it. What is the program name???
anything at all??
ASKER
hi!
well i have stored my php file in the root directory...webshare/wwwro
then i acess it by this path in my web browser
http://localhost/h.php
but i get that error...500 web server internal error
i can acess asp page ..but not the php
wat have i done wrong!!!
Check the DocumentRoot in httpd.conf file and see what is the correct path.
This question has been classified abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
Unless it is clear to me that the question has been answered I will recommend delete. It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.
</note>
If the user does not know how to close the question, the options are here:
https://www.experts-exchange.com/help/closing.jsp
Cd&
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
Unless it is clear to me that the question has been answered I will recommend delete. It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.
</note>
If the user does not know how to close the question, the options are here:
https://www.experts-exchange.com/help/closing.jsp
Cd&
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Split between joelstobart and prady_21
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Programming_Gal
EE Cleanup Volunteer
I will leave a recommendation in the Cleanup topic area that this question is:
Split between joelstobart and prady_21
Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
Programming_Gal
EE Cleanup Volunteer