Okay, the problems I was having before was because the version of php didn't want to play with appache 2.2. But, I downloaded every up to date and when I restart, I am no longer getting the syntax error codes. The problem seems to be when told to put http://localhost/phpinfo.php into my web browser, I don't get anything but a 404 error code on the web page. I get the "It works" when trying the appache http://localhost.
What should I do now?
Mary
3 Replies - 1046 Views - Last Post: 10 October 2009 - 06:28 PM
#1
php, and appache are loading, but no info php dir coming up.
Posted 09 October 2009 - 03:18 PM
Replies To: php, and appache are loading, but no info php dir coming up.
#2
Re: php, and appache are loading, but no info php dir coming up.
Posted 10 October 2009 - 06:29 AM
Open the "root" of your web hosting directory & create a page named phpinfo.php.
Assuming that you probably want to put the following code in there.
Since you are getting a 404, it's because the page doesn't exist. If it should exist, then explorer your webservers file system. You may just have your paths wrong.
Assuming that you probably want to put the following code in there.
<?php phpinfo(); ?>
Since you are getting a 404, it's because the page doesn't exist. If it should exist, then explorer your webservers file system. You may just have your paths wrong.
#3
Re: php, and appache are loading, but no info php dir coming up.
Posted 10 October 2009 - 01:10 PM
no2pencil, on 10 Oct, 2009 - 05:29 AM, said:
Open the "root" of your web hosting directory & create a page named phpinfo.php.
Assuming that you probably want to put the following code in there.
Since you are getting a 404, it's because the page doesn't exist. If it should exist, then explorer your webservers file system. You may just have your paths wrong.
Assuming that you probably want to put the following code in there.
<?php phpinfo(); ?>
Since you are getting a 404, it's because the page doesn't exist. If it should exist, then explorer your webservers file system. You may just have your paths wrong.
Okay, I assume that by "root" you mean my server root or directory root? (of the configuration file or the php.ini file)...or someplace else? Sorry to sound so dumb.
Mary
#4
Re: php, and appache are loading, but no info php dir coming up.
Posted 10 October 2009 - 06:28 PM
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote



|