Cannot compile PHP with APXS
| From: | Andrey Hristov | Date: | Sat, 02 Mar 2002 23:29:55 +0000 |
| Subject: | Cannot compile PHP with APXS | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-86926@lists.php.net to get a copy of this message | ||
Untared php 4.1.1 into /usr/local/src/php4.1.1
Untared apache 1.3.22 into /usr/local/src/apache-1.3.22
ran ./configure in apache
there is /var/www/bin/apxs
When configuring php : ./configure --with-mysql --with-apxs=/var/www/bin/apxs --with-xml
error occurs that says either perl is not installed(but it is) or Apache was not compiled with DSO
support(I built one with DSO) or
apxs is not in the path but an output from "apxs" is shown.
What to do?
BTW I don't know how but succeeded to compile Apache with mod_php4.c(static module). Added
AddType in /etc/httpd/conf/httpd.conf but
apache do not recognize .php files.
TIA
Andrey