Sir,
i installed mysql 5.0.83
then apache 2.2.11
then our php 5.0.x
php automatically configured the httpd.config file of Apache server.
i just included the following line too
#AddType application/x-httpd-php .phtml .php
as shown below in httpd.config file
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
#
#AddType application/x-gzip .tgz
#AddType application/x-httpd-php .phtml .php
then i create a file called phpinfo.php with the coding
<? phpinfo(); ?>
and i gave "http://127.0.0.1/phpinfo.php in addressline of the browser. but i didnt get anything.while "http://127.0.0.1/" was working with the result "It Works!"
what is the problem with my php and apache pls give me asolution
PHP -i did'nt get php info when running php file on apache
Moderator: General Moderators
-
renjith.resmi
- Forum Newbie
- Posts: 5
- Joined: Sun Jul 12, 2009 2:52 am
Re: PHP -i did'nt get php info when running php file on apache
1.
The # symbol comments out the line
2. Restart Apache.
must be:#AddType application/x-httpd-php .phtml .php
Code: Select all
AddType application/x-httpd-php .phtml .php2. Restart Apache.
There are 10 types of people in this world, those who understand binary and those who don't
-
renjith.resmi
- Forum Newbie
- Posts: 5
- Joined: Sun Jul 12, 2009 2:52 am
Re: PHP -i did'nt get php info when running php file on apache
thank you for your cooperation
i made that change and restarted apache i got the following screen and i run that php file - no change a white screen on the browser.
then i uninstalled php and then apache.
Again i installed apache
and i got this error screen while the installation i think this same screen showed on the previous installation.
-problem is apache or php i dont know pls help me
i made that change and restarted apache i got the following screen and i run that php file - no change a white screen on the browser.
then i uninstalled php and then apache.
Again i installed apache
and i got this error screen while the installation i think this same screen showed on the previous installation.
-problem is apache or php i dont know pls help me
Re: PHP -i did'nt get php info when running php file on apache
Look at your error log files, located at C:\Program Files\Apache ...\logs\
The "error" message you get is just a warning - Apache and PHP should work even it is displayed.
The "error" message you get is just a warning - Apache and PHP should work even it is displayed.
There are 10 types of people in this world, those who understand binary and those who don't
Re: PHP -i did'nt get php info when running php file on apache
You may find XAMPP a more appropriate solution to your needs.