PHP and httpd.conf

From: Date: Thu, 11 Dec 2003 21:07:06 +0000
Subject: PHP and httpd.conf
Groups: php.install 
Request: Send a blank email to php-install+get-12357@lists.php.net to get a copy of this message
Hi, I've some problems getting php running. I would like to install php together with MySQL. Php is installed, but haven't configured it yet with MySQL. For so far i entered the folowing problems; 1) First problem is that when i want to edit my httpd.config file, the lines: #AddType application/x-httpd-php .php #AddType application/x-httpd-php-source .phps which i have to uncomment are NOT there. ?? The other instructions:| Uncomment "Load Module php4_module" line. Uncomment "AddModule mod_php4.c" line I could do. | 2) Second problem is that in my httpd directory are more httpd.conf files: [okaras:/etc/httpd] sara# ls
httpd.conf           httpd.conf.default   magic.default        mime.types.default
httpd.conf.bak       magic                mime.types           users
[this is because i installed apache without knowing that OSX2.8 has already the apache server installed) Php-4.3.4/ is in the following directory: /Users/sara/php-4.3.4/ [okaras:php-4.3.4/sapi/apache] sara# ls
CREDITS              libphp4.module.in    mod_php4.lo          php_apache.c         sapi_apache.c
apMakefile.libdir    mod_php4.c           mod_php4.o           php_apache.lo        sapi_apache.lo
apMakefile.tmpl      mod_php4.exp         php.sym              php_apache.o         sapi_apache.o
config.m4            mod_php4.h           php4apache.dsp       php_apache_http.h
------- Maybe i have to configure my apache again? And in which directory should I be to do that? Sara

« previous php.install (#12357) next »