note 22707 added to install.apache
| From: | admin at castrum dot ro | Date: | Thu, 27 Jun 2002 07:25:54 +0000 |
| Subject: | note 22707 added to install.apache | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32261@lists.php.net to get a copy of this message | ||
I tried to install Apache 2.0.39 and PHP 4.2.1 on a SuSe Linux and it didn't work. First the
Apache would say that the previous PHP4.2.0 module was not compatible with the server, then the PHP
4.2.1 would result in error when using make.
Finally I did it. The solution:
1. install apache 2.0.39 as explained in the INSTALL file.
2. change the <PHP4.2.1source>/sapi/apache2filter/php_functions.c (line 93) as instructed in a
previous post (You must change MODULE_MAGIC_AT_LEAST with AP_MODULE_MAGIC_AT_LEAST)
3. ./configure --with-mysql --with-apxs2=<path to the apxs script in the apache2 install>
4. make clean
5. make (watch out for errors. my errors appeared here. After solving the issue this make would work
with no error)
6. make install -i (-i for ignoring the errors. It gave me an error in the install-sapi: part and
stopped. After ignoring it I see it works)
Hope I helped some poor other not miss uselessly a day of his life.
Siderite
--
http://www.php.net/manual/en/install.apache.php
http://master.php.net/manage/user-notes.php?action=edit+22707
http://master.php.net/manage/user-notes.php?action=delete+22707
http://master.php.net/manage/user-notes.php?action=reject+22707