Re: PHP4 add module to apache problem.
| From: | Kevin Haughton | Date: | Tue, 16 Oct 2001 23:35:21 +0000 |
| Subject: | Re: PHP4 add module to apache problem. | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4638@lists.php.net to get a copy of this message | ||
Eek those instructions look hard to follow... I (literally today) just got
my PHP/MySQL/Apache server with RH7.1 running.
- followed these instructions :
http://hotwired.lycos.com/webmonkey/00/44/index4a_page4.html?tw=programming
had a couple of errors where I hadn't installed all the libraries and some
of my directories weren't where I expected but its smooth as silk now ;)
At 15:49 16/10/01 -0500, you wrote:
>Hey everyone,
>
>I am contemplating pulling out my remaining hairs on my head over this
>one. It i just driving me nuts. I am kinda new to this, so please bear
>with me. I have successfully installed mysql and apache on my linux box,
>red hat 7.1. I am using the instructions at e-gineer.com, and when i
>"add the php module to apache" i run into all sorts of trouble. I used
>these instructions as follows:
>
>
>
>1.Now we have to setup Apache to include the PHP module:
>
> cd ../httpd
>
> 2.Re-configure Apache to use the PHP module. You should use your
>previous Apache configure command along with the PHP activate module
>directive. You can see your previous Apache configure command by doing:
>
> cat config.status
>
> You can configure Apache using the previous command with the
>added PHP module by doing:
>
> ./config.status --activate-module=src/modules/php4/libphp4.a
>
> If you used the simple Apache install from my instructions this
>will effectively perform this:
>
> ./configure --prefix=/usr/local/etc/httpd
>--sysconfdir=/www/conf \
> --activate-module=src/modules/php4/libphp4.a
>--enable-module=status \
> --enable-module=rewrite --enable-module=status
>
> 3.Make Apache with PHP enabled:
>
> make
>
>
>When i get to the make, the following error is issued:
>
>make[4]: Nothing to be done for `all'.
><=== src/lib/expat-lite
><=== src/lib
>===> src/modules
>===> src/modules/standard
>make[4]: Nothing to be done for `all'.
><=== src/modules/standard
>===> src/modules/php4
>make[4]: *** No rule to make target `all'. Stop.
>make[3]: *** [all] Error 1
>make[2]: *** [subdirs] Error 1
>make[2]: Leaving directory `/usr/local/etc/apache_1.3.20/src'
>make[1]: *** [build-std] Error 2
>make[1]: Leaving directory `/usr/local/etc/apache_1.3.20'
>make: *** [build] Error 2
>
>
>What does this mean? How can i fix it? Thanks for any help
>
>
>--
>PHP Install Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-install-unsubscribe@lists.php.net
>For additional commands, e-mail: php-install-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>