Installation woes..
| From: | Johnny Thompson | Date: | Sat, 07 Oct 2000 01:38:37 +0000 |
| Subject: | Installation woes.. | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-181@lists.php.net to get a copy of this message | ||
on Redhat 6.1
- using the instructions from the bigmanual, I get stuck on
#9 ('make')..
when I type that in and hit enter I get the following error...
XML_BYTE_ORDER=12 -g -O2 -c zend_API.c
gcc: Internal compiler error: program cc1 got fatal signal 4
make[1]: *** [zend_API.lo] Error 1
I admit I'm not very good at this compiling business...
Please help!
-----------
bigmanual.html instructions
1. gunzip apache_1.3.x.tar.gz
2. tar xvf apache_1.3.x.tar
3. gunzip php-x.x.x.tar.gz
4. tar xvf php-x.x.x.tar
5. cd apache_1.3.x
6. ./configure --prefix=/www
7. cd ../php-x.x.x
8. ./configure --with-mysql --with-apache=../apache_1.3.x
--enable-track-vars
9. make
10. make install
11. cd ../apache_1.3.x
12. for PHP 3: ./configure --activate-module=src/modules/php3/libphp3.a
for PHP 4: ./configure --activate-module=src/modules/php4/libphp4.a
13. make
14. make install
Instead of this step you may prefer to simply copy the httpd binary
overtop of your existing binary. Make sure you shut down your
server first though.
15. cd ../php-x.x.x
16. for PHP 3: cp php3.ini-dist /usr/local/lib/php3.ini
for PHP 4: cp php.ini-dist /usr/local/lib/php.ini
You can edit your .ini file to set PHP options. If
you prefer this file in another location, use
--with-config-file-path=/path in step 8.
17. Edit your httpd.conf or srm.conf file and add:
For PHP 3: AddType application/x-httpd-php3 .php3
For PHP 4: AddType application/x-httpd-php .php
You can choose any extension you wish here. .php is simply the one
we suggest.
18. Use your normal procedure for starting the Apache server. (You must
stop and restart the server, not just cause the server to reload by
use a HUP or USR1 signal.)
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/