Re: Fwd: [PHP-INSTALL] Re: PHP and httpd.conf

From: Date: Fri, 12 Dec 2003 18:45:42 +0000
Subject: Re: Fwd: [PHP-INSTALL] Re: PHP and httpd.conf
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-12364@lists.php.net to get a copy of this message
sara kolster wrote: > >>#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. Good. > I did ./configure --with-apxs ; no error messages, so i suppose > everything went well. But php isn't running after restarting gracefully > apache.. Restarting gracefully won't work, even "apachectl restart" won't pick up the new PHP module IIRC. Just to be sure: you did "make" and "make install" in the PHP source directory after "configure ..."? > 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? I'm not sure, but I don't think that you have to use "--enable-shared=max". If you have the "apxs" of your current Apache, you should be fine (you can compare the timestamps of "apxs" and the "httpd" or "apache" program). Regards... Michael

« previous php.install (#12364) next »