---
title: "Error Make"
type: "forum-thread"
url: "https://www.webforum.nu/amne/webbservrar/70276-error-make"
topic: "Webbservrar"
topic_url: "https://www.webforum.nu/amne/webbservrar"
author: "nordan"
published: "2003-03-06T20:44:45.000Z"
updated: "2003-03-07T10:11:45.000Z"
replies: 2
views: 373
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/webbservrar/70276-error-make"
---

# Error Make

## #1 — nordan, 2003-03-06T20:44Z

Hejsan!
Detta medelande får jag när jag kör make i apache katalogen efter att ha följt instrutionerna på denna sida
<http://support.linux.se/?main=docs/php-doc1.php&org=docs> 
Jag kommer tillpunkt nr 11 sen skiter det sig. Någon som vet vad det kan röra sig om?

```
_NEEDED `../../apaci` mod_alias.c
gcc -c  -I../../os/unix -I../../include   -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` mod_access.c
gcc -c  -I../../os/unix -I../../include   -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` mod_auth.c
gcc -c  -I../../os/unix -I../../include   -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` mod_setenvif.c
rm -f libstandard.a
ar cr libstandard.a mod_env.o mod_log_config.o mod_mime.o mod_negotiation.o mod_status.o mod_include.o mod_autoindex.o mod_dir.o mod_cgi.o mod_asis.o mod_imap.o mod_actions.o mod_userdir.o mod_alias.o mod_access.o mod_auth.o mod_setenvif.o 
ranlib libstandard.a
<=== src/modules/standard
===> src/modules/php4
gcc -c  -I../../os/unix -I../../include   -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci`    mod_php4.c
mod_php4.c:22:29: php_apache_http.h: Filen eller katalogen finns inte
make[4]: *** [mod_php4.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/root/apache_1.3.27/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/root/apache_1.3.27'
make: *** [build] Error 2
```

Permalänk: https://www.webforum.nu/p/70276

## #2 — GunnarD, 2003-03-07T06:23Z

När jag installerar mysql, php och apache brukar ja göra så här (fungerar med apache 1.3.\*):

```
# Kompilera och Installerar MySQL
cd mysql
./configure --prefix=/usr/local/mysal
make
make install
cd ..
# Kompilera och Installerar Apache
cd apache
./configure --prefix=/usr/local/apache --enable-module=so
make
make install
cd ..
# Kompilera och Installerar PHP
cd php
./configure --with-apxs=/usr/local/apache/bin/axps --with-mysql=/usr/local/mysql
make
make install
cd ..
# Done
```

Kontrollera sedan att följande rader finns i httpd.conf (ligger i /usr/local/apache/conf)

```
AddType application/x-httpd-php .php
AddType application/x-httpd-source .phps
```

/red: Ändrade så att php använder den nya MySQL'en

Permalänk: https://www.webforum.nu/p/969668

## #3 — psykolog, 2003-03-07T10:11Z

<http://www.php.net/manual/en/install.apache.php>
<http://www.php.net/manual/en/install.apache2.php>

Permalänk: https://www.webforum.nu/p/969787

---

Tråden på webben: https://www.webforum.nu/amne/webbservrar/70276-error-make
