[PHP] Enabling PHP in Apache when PHP is linked INTO the server?
I have an Apache server built with mod_php4.c linked into the executable. e.g. bash-2.03$ httpd -l Compiled-in modules: http_core.c mod_env.c mod_php4.c mod_perl.c What changes do i need to make to http.conf before I can use php in web pages which will work please? -- Thanks lots -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Enabling PHP in Apache when PHP is linked INTO the server?
Is that all? Probably something like: AddType application/x-httpd-php .php4 .php3 .phtml .php .inc AddType application/x-httpd-php-source .phps On Thursday 28 March 2002 23:40, Max Wilson wrote: I have an Apache server built with mod_php4.c linked into the executable. e.g. bash-2.03$ httpd -l Compiled-in modules: http_core.c mod_env.c mod_php4.c mod_perl.c What changes do i need to make to http.conf before I can use php in web pages which will work please? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP and APACHE VirtualDomains
We have PHP and APACHE (1.3.19) installed and an instance of apache is running with php support enabled. I need to set up another instance of httpd using a seperate config file. However I cannot get PHP support enabled. I cannot find where the PHP modules are. I called a phpinfo() on the instance which is already running and it returned: It said the config file was in /usr/local/lib/php.ini I think i am looking for the module mod_php4 but I cannot see where it is. Any ideas? ALSO I'm having lots of trouble with VirtualDomains. I have an instance second httpd running (without php) on a port other than 80 and it runs fine. But whenever I add VirtualDomain to the httpd.conf the main page gets replaced by the main page of the VirtualDomain. This is really anoying me is there anything I should check for? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php