robik
New member
php and curl probems ( problem solved )
Ive just installed the DA all is more or less ok but i have some problems with php and curl. The first thing that apache refused to start till the moment i commented out this in http.conf
###<IfDefine HAVE_PHP4>
#AddModule mod_php4.c
And then apache started but no php :-( . So i went to faq and done this
#cd /usr/local/directadmin/customapache
#./build update
#./build all
and got this
#In file included from /usr/include/sys/select.h:40,
from select.c:27:
/usr/include/sys/event.h:53: syntax error before `uintptr_t'
/usr/include/sys/event.h:55: syntax error before `u_short'
In file included from select.c:27:
/usr/include/sys/select.h:47: syntax error before `pid_t'
*** Error code 1
Stop in /usr/local/directadmin/customapache/curl-7.12.3/lib.
*** Error code 1
Stop in /usr/local/directadmin/customapache/curl-7.12.3/lib.
*** Error code 1
Stop in /usr/local/directadmin/customapache/curl-7.12.3.
Could somebody help me with this issue.
My system is:
FreeBSD 4.10-RELEASE-p5
Ive just installed the DA all is more or less ok but i have some problems with php and curl. The first thing that apache refused to start till the moment i commented out this in http.conf
###<IfDefine HAVE_PHP4>
#AddModule mod_php4.c
And then apache started but no php :-( . So i went to faq and done this
#cd /usr/local/directadmin/customapache
#./build update
#./build all
and got this
#In file included from /usr/include/sys/select.h:40,
from select.c:27:
/usr/include/sys/event.h:53: syntax error before `uintptr_t'
/usr/include/sys/event.h:55: syntax error before `u_short'
In file included from select.c:27:
/usr/include/sys/select.h:47: syntax error before `pid_t'
*** Error code 1
Stop in /usr/local/directadmin/customapache/curl-7.12.3/lib.
*** Error code 1
Stop in /usr/local/directadmin/customapache/curl-7.12.3/lib.
*** Error code 1
Stop in /usr/local/directadmin/customapache/curl-7.12.3.
Could somebody help me with this issue.
My system is:
FreeBSD 4.10-RELEASE-p5
Last edited: