Re: installation prob.
| From: | Richard Lynch | Date: | Fri, 05 Oct 2001 05:15:52 +0000 |
| Subject: | Re: installation prob. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70028@lists.php.net to get a copy of this message | ||
Did you spell apx like that or apxs like you should?...
You should have ended up with a libphp.so to throw into Apache's modules
directory, not a binary for /usr/local/bin...
You needed that binary for cron scripts anyway, though :-)
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Max <max@demoproject.com>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Thursday, October 04, 2001 11:43 AM
Subject: installation prob.
> hi,
> I've done my first php installation on a *nix box ...
> after unzipping the tar, I've done:
>
> /configure --with-mysql --with-apx
> make
> make install
> (and I've put the php.ini in the right location)
>
> Now I have a binary php interpreter (and it works fine) in /usr/local/bin
and
> so I've tried to configure apache to parse all php file
> using /usr/local/bin/php
>
> on the apache's httpd.conf I've set:
>
> ScriptAlias /php/ "/usr/local/bin/"
> Action application/x-httpd-php "/php/php"
> AddType application/x-httpd-php .php .phtml
>
> but this doens't work ... :(
> (I've restarted my apache server)
>
> Can anyone help me, please?
>
> many thanks in advance
> max
>