PHP -i did'nt get php info when running php file on apache
Posted: Sun Jul 12, 2009 3:06 am
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
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