Anon
06-28-2000, 04:36 PM
Hello,
Basically, I've done the install, and everything looks fine to my untrained eye, yet .php files are not passed to the interpreter, and I receive plain text rather than satisfaction. If anyone can give me some clues, I'd appreciate it.
Here are the details of my install:
This is obviously a newbie problem, but I'm glad I've gotten this far in 24 hours of linux/apache/php experience. I've compiled the mod_php4.c module into Apache 1.3.12, following the Static module install instructions included in the INSTALL file in the php-4.0.0 distribution.
My httpd.conf file contains the necessary references to php as indicated:
LoadModule php4_module lib/apache/libphp4.so
AddModule modphp4.c
AddType application/x-httpd-php .php .php4
AddType application/x-httpd-php-source .phps
the referenced libphp4.so file is in the appropriate directory, and the php.ini file has been copied to the /usr/local/lib directory, and viewing it, I could find nothing that implicitly looked like it needed altering *yet*, so it is currently unmodified.
Apache has been restarted after modifications were made to the httpd.conf file.
Anyway, upon attempting to execute a test file containing phpinfo(), all I get is the plain text of my file.
I found a similar article describing this problem under netscape server, and checked the directory and file permissions to ensure that they were executable, to no further success.
TIA-
J!M
Basically, I've done the install, and everything looks fine to my untrained eye, yet .php files are not passed to the interpreter, and I receive plain text rather than satisfaction. If anyone can give me some clues, I'd appreciate it.
Here are the details of my install:
This is obviously a newbie problem, but I'm glad I've gotten this far in 24 hours of linux/apache/php experience. I've compiled the mod_php4.c module into Apache 1.3.12, following the Static module install instructions included in the INSTALL file in the php-4.0.0 distribution.
My httpd.conf file contains the necessary references to php as indicated:
LoadModule php4_module lib/apache/libphp4.so
AddModule modphp4.c
AddType application/x-httpd-php .php .php4
AddType application/x-httpd-php-source .phps
the referenced libphp4.so file is in the appropriate directory, and the php.ini file has been copied to the /usr/local/lib directory, and viewing it, I could find nothing that implicitly looked like it needed altering *yet*, so it is currently unmodified.
Apache has been restarted after modifications were made to the httpd.conf file.
Anyway, upon attempting to execute a test file containing phpinfo(), all I get is the plain text of my file.
I found a similar article describing this problem under netscape server, and checked the directory and file permissions to ensure that they were executable, to no further success.
TIA-
J!M