Bug #18001: Errors during install as an Apache Module
| From: | cindy dot hall at baycare dot org | Date: | Wed, 26 Jun 2002 18:50:53 +0000 |
| Subject: | Bug #18001: Errors during install as an Apache Module | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-12151@lists.php.net to get a copy of this message | ||
From: cindy.hall@baycare.org
Operating system: AIX 4.3.3
PHP version: 4.2.1
PHP Bug Type: *Configuration Issues
Bug description: Errors during install as an Apache Module
I am trying to install PHP as an Apache module. I am following the
instructions from the PHP on-line manual, "Example 2-4. Quick
Installation Instructions for PHP 4 (Apache Module Version)". I have
Bison and Flex installed, along with the gcc compiler, which I've already
tested. The steps for the PHP install are as follows:
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. ./configure --activate-module=src/modules/php4/libphp4.a
13. make
14. make install
15. cd ../php-x.x.x
16. cp php.ini-dist /usr/local/lib/php.ini
17. Edit your httpd.conf or srm.conf file and add:
AddType application/x-httpd-php .php
18. Use your normal procedure for restarting the Apache server. (You must
stop and restart the server, not just cause the server to reload by use a
HUP or USR1 signal.)
------
I got as far as step 13. The "make" command produces these errors:
/usr/include/sys/proc.h:203: parse error before "crid_t"
/usr/include/sys/proc.h:212: parse error before "p_class"
/usr/include/sys/proc.h:355: parse error before '}' token
make: 1254-004 The error code from the last command is 1.
------
Any help would be greatly appreciated. Thank you.
Cindy Hall
--
Edit bug report at http://bugs.php.net/?id=18001&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18001&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18001&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18001&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18001&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18001&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18001&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18001&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18001&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18001&r=globals