MRaburn
Mon 11th Feb '02, 3:06pm
Hey fellas.
We are configuring our new server and have some strange php issues.
I did the normal Redhat Installation with the Apache and PHP modules isntalled during main installation.
Apache seems to be OK, even PERL and CGI.
Here is the entry in httpd.conf beside this is a bunch of load modules of mod_php and so on.
#AddType: allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
#
# The following is for PHP4 (conficts with PHP/FI, below):
AddType application/x-httpd-php .php4 .php3 .phtml .php
AddType application/x-httpd-php-source .phps
# The following is for PHP3:
#<IfModule mod_php3.c>
# AddType application/x-httpd-php3 .php3
# AddType application/x-httpd-php3-source .phps
#</IfModule>
# The following is for PHP/FI (PHP2):
<IfModule mod_php.c>
AddType application/x-httpd-php .php .php3 .phtml
</IfModule>
I have commented and un commented out several lines trying to see a change. But no matter what I do this is the same Browser view error I get:
Warning: Failed opening '/var/www/html/phpinfo.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0
The user is apache and apache when surfing the page.
I have even updated PHP and reinstalled in onto the system, I am sure I am missing something simple here.
Help!
Mike
We are configuring our new server and have some strange php issues.
I did the normal Redhat Installation with the Apache and PHP modules isntalled during main installation.
Apache seems to be OK, even PERL and CGI.
Here is the entry in httpd.conf beside this is a bunch of load modules of mod_php and so on.
#AddType: allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
#
# The following is for PHP4 (conficts with PHP/FI, below):
AddType application/x-httpd-php .php4 .php3 .phtml .php
AddType application/x-httpd-php-source .phps
# The following is for PHP3:
#<IfModule mod_php3.c>
# AddType application/x-httpd-php3 .php3
# AddType application/x-httpd-php3-source .phps
#</IfModule>
# The following is for PHP/FI (PHP2):
<IfModule mod_php.c>
AddType application/x-httpd-php .php .php3 .phtml
</IfModule>
I have commented and un commented out several lines trying to see a change. But no matter what I do this is the same Browser view error I get:
Warning: Failed opening '/var/www/html/phpinfo.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0
The user is apache and apache when surfing the page.
I have even updated PHP and reinstalled in onto the system, I am sure I am missing something simple here.
Help!
Mike