You are not logged in.
I have installed PHP Web Toolkit (phpwebtk) - a web application framework and toolkit for rapid development in PHP 5.
http://phpwebtk.sourceforge.net/
Install document says: "You must compile PHP with support for your web server, libmcrypt, libmhash, libxml and mysql at a bare minimum".
To add in /var/abs/daemons/php PKGBUILD, is this correct way to configure (not sure if --with or --enable or shared):
--enable-libmcrypt=shared
--enable-libmhash=shared
--enable-libxml=shared
Is "--with-apxs2 --prefix=/usr" for apache or does it require to add "--with-apache"?
Markku
Offline
try adding the following to the php pkgbuild:
--with-mcrypt --with-mhash --with-libxml-dir=/usr/include/libxml2/libxml
You will need to add mcrypt (which pulls in libmcrypt and mhash), and libxml2 to the depends section.
If mcrypt and mhash error out during the phpbuild, then you might need to specify the directories they get installed to.
--with-mcrypt=/usr/something --with-mhash=/usr/something --with-libxml-dir=/usr/include/libxml2/libxml
Good luck.
PS. There is a note on the php docs site (http://us4.php.net/mcrypt) that you need to recompile libmcrypt with an additional flag. --disable-posix-threads
Not sure if it is truly needed, but I have never built it, so I don't know.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline
try adding the following to the php pkgbuild:
--with-mcrypt --with-mhash --with-libxml-dir=/usr/include/libxml2/libxml
Thanks, it works. Requires to have libmcrypt and mhash packages installed.
Markku
Offline
You will need to add mcrypt (which pulls in libmcrypt and mhash), and libxml2 to the depends section.
"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍
Offline