On Fri, 26 Jul 2002 12:24:31 -0500, Frank S. Kicenko wrote:

>Ugg.. been compiling and configuring for too many days..everything is
>just a fog..:-) I appreciate all the help here.. but I'm afraid I need a
>little more.. :-)
>
>I can't seem to get Apache to recognize PHP... The logs state:
>[notice] Apache/2.0.39 (Unix) PHP/4.2.2 configured -- resuming normal
>operations
>
>however I can't get the php's to display.
>
>I have the following in the httpd.conf file;
>
>AddType application/x-httpd-php .php
>LoadModule php4_module        modules/libphp4.so
>
>All other "html" pages view properly...Is there anything special I need
>in php.ini? There are no extensions stated in the ini..?? and PHP didn't
>build any other than the zlib stuff. Should I have extensions or are
>they in the libphp4.so library? I have set all the include paths in the
>ini properly..(i believe anyway)
>
>Is php suppose to run at all... I do a "ps -ef | grep php" and it is
>never running...

http://www.delouw.ch/linux/apache.phtml
http://www.delouw.ch/linux/Apache-Compile-HOWTO/html/php.html

uncomment (remove the # at begin of line) the following lines in 
/usr/local/apache/conf/httpd.conf

Apache 1.3.26 default httpd.conf does lack of this entries. You have to add them 
instead of uncommenting

AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps

Since PHP Version 4.2.1, »register_globals« are set OFF. This can bring you in 
problems running PHP-Code not using the $HTTP_GET_VARS methods. To enable 
register_globals edit the
following line in your /usr/local/lib/php.ini:

register_globals = On




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to