On Jan 29, 2008, at 1:20 PM, Squall Leonhart wrote:
>
>
> tm...@ph... wrote:
> Quoting Falko Menge :
>
> > Hi Li Tam Hoan,
> >
> > Squall Leonhart wrote:
> >> Hi guys, I've just got aquainted with QT and PHP-QT. I tried to
> install
> >> PHP-QT 0.9 on my Fedora core 7. I first installed Apache 2.2.4
> and Php
> >> 5.2.4, then Cmake and QT 0.9.
> >> Everything go smoothly until I add the line "extension =
> php_qt.so" to
> >> my php.ini. After that when i tried to run the command "php -i|
> grep -i
> >> qt" to check my installation as in the INSTALL GUIDE, I got no
> message
> >> at all, and when I attemped to test a php file with my Internet
> browser,
> >> i just got blank page (my apache was already working)
> >> Then i try "php -v" i got this error : "Segmentation fault", If i
> remove
> >> "extension = php_qt.so" in php.ini, i can get my result from "php
> -v"
> >> but "php -i| grep -i qt" still didnt give the expected result (i
> only
> >> got some PATH information).
> >> I've check the location of php_qt.so and change chmod of it to
> 755 but
> >> cant get the thing work properly.
> >> I plan to use php_qt for my graduate project but what can i do
> when i
> >> cant even make it working ? Do anyone have the same problem ??? I
> >> appriciate every help, thanks in advance :D
> > I guess, it could be of help if you send the output of 'php -i'
> > while not having
> > the php_qt extension enabled in php.ini.
>
> Yes, please. That would be helpful.
>
> Squall, did you install the command line version of PHP, php-cli? It
> is necessary to run it with the cli version, an apache server is not
> needed for running Qt applications, but you might want to use your php
> for some web development too, so it cannot hurt to install it.
>
> Best regards,
> Thomas
>
> > Best regards,
> > Falko
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Php-qt-users mailing list
> > Php...@li...
> > https://lists.sourceforge.net/lists/listinfo/php-qt-users
> >
>
>
>
> sorry for this late reply.
don't worry about it. I'm the number one in answering late.
> It take me awhile to firgure things out since im new to LInux:D yes,
> i've install php cli packet but the segfault is still there. Since i
> want to use php-qt i think it need apache to act as a webserver. I
> dont know what the php cli can do ? i want to run the php-qt
> application with the browser, and ofcourse, im not that familiar
> with php cli. Can u give me some tip ??? :D thanks for looking into
> my problems, i really appreciate your help!!!
please run it on the command line or embed your command into a desktop
shortcut. If you type 'php' in a console it usually automatically runs
php-cli, the command line interpreter of php. This works without
apache and without a web browser. Your PHP-Qt application comes up
like any other normal desktop application.
Thomas
>
>
> Li Tam Hoan
>
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.
> Try it now.
|