Re: Fwd: [PHP-INSTALL] Re: PHP and httpd.conf
| From: | sara kolster | Date: | Fri, 12 Dec 2003 00:42:23 +0000 |
| Subject: | Re: Fwd: [PHP-INSTALL] Re: PHP and httpd.conf | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-12362@lists.php.net to get a copy of this message | ||
Hi Michael,
First of all thanks for your help.
#AddType application/x-httpd-php .php #AddType application/x-httpd-php-source .phps which i have to uncomment are NOT there. ??Then add these lines (copy and paste to avoid typos) and remove the "#". I did this in the AddType-section of the httpd.conf file.
I read at http://nl2.php.net/manual/en/install.macosx.php you had to configure httpd (apache) --enable-shared=max \ . Would that be it? saraMaybe i have to configure my apache again?You only have to rebuild your Apache if you can't use --with-apxs on PHP's configure command line. If you have an "apxs" program (from your current Apache install), you don't have to re-install Apache. Just use --with-apxs, and if you get an error saying that the apxs program could not be found, use --with-apxs=/path/to/your/apxs. I did ./configure --with-apxs ; no error messages, so i suppose everything went well. But php isn't running after restarting gracefully apache..