Re: [Php-qt-users] ..if PHP is not compiled ..?
Status: Beta
Brought to you by:
tm243
From: Katrina N. <kn...@il...> - 2007-07-11 11:03:33
|
Le Tuesday 10 July 2007 09:16:42 pm James Ellis, vous avez =C3=A9crit=C2=A0: > I noticed php_qt.so turned up in my extensions directory > (/usr/lib/php5/20060613+lfs) with execute permissions whereas all the > others had rw permission only. Is that right? It shouldn't make any difference to my knowledge. > I tried the svn version but that failed to build (probably me > doing something wrong) Most of these problems (if not all) have been corrected in the SVN version,= to=20 install from SVN do the following (note this is very different than with=20 older versions): 1) download from the svn link on the PHP-Qt homepage (it changed recently=20 because it's now in the KDE SVN) 2) change into the PHP-Qt directory and run ./prepare_svn.sh this will=20 download the latest versions of several libraries 3) in the PHP-Qt directory create a directory named "build" and change to t= hat=20 directory 4) run cmake, normally "cmake .." will work, but if you have more than one= =20 version of Qt installed you way need to run cmake=20 like: "cmake -DQT_QMAKE_EXECUTABLE=3D/usr/lib/qt4/bin/qmake .."=20 replacing /usr/lib/qt4/bin/qmake if your qt4 qmake is in a different=20 directory 5) run make 6) run make install 7) edit your php.ini file to add 'extension=3Dphp_qt.so' and you should have a working copy of the latest version :-) =2D Katrina Niolet |