problems while beginning with PHP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paulie

    problems while beginning with PHP

    hello, everybody

    i'm pretty new with linux & php, i have some problems:

    1- can't make flash work on PHP, i downloaded the files libshw.a and
    shw.h, i've copied them in /usr/local/lib & /usr/local/include
    the fact is that the command "./configure --with-usf=/usr/local" is
    not working, bash says that it's an "unknown command"
    why?

    2- can't understand why \t and \n from html aren't working with ECHO
    in Php.

    thanx

    Paulie
  • Justin Koivisto

    #2
    Re: problems while beginning with PHP

    Paulie wrote:[color=blue]
    > hello, everybody
    >
    > i'm pretty new with linux & php, i have some problems:
    >
    > 1- can't make flash work on PHP, i downloaded the files libshw.a and
    > shw.h, i've copied them in /usr/local/lib & /usr/local/include
    > the fact is that the command "./configure --with-usf=/usr/local" is
    > not working, bash says that it's an "unknown command"
    > why?[/color]

    1. The configure script must be executable
    2. --with-usf must be a valid option
    [color=blue]
    > 2- can't understand why \t and \n from html aren't working with ECHO[/color]

    1. They need to be enclosed in double quotes, not single
    2. They won't change the browser display, only the source code.

    --
    Justin Koivisto - spam@koivi.com
    PHP POSTERS: Please use comp.lang.php for PHP related questions,
    alt.php* groups are not recommended.

    Comment

    • Paulie

      #3
      Re: problems while beginning with PHP

      > 1. The configure script must be executable

      ...ehm... caugh, caugh....
      ...well, how do i make the configure script executable??
      is it written somewhere? i'm drawing inside the help guide and can't
      find anything...


      thanks

      Paulie

      Comment

      • Justin Koivisto

        #4
        Re: problems while beginning with PHP

        Paulie wrote:[color=blue][color=green]
        >>1. The configure script must be executable[/color]
        >
        > ..ehm... caugh, caugh....
        > ..well, how do i make the configure script executable??
        > is it written somewhere? i'm drawing inside the help guide and can't
        > find anything...[/color]

        do `ls -l`
        you should see something like:
        -rwxr--r-- 1 root root (size) (date) configure

        If it is -rw-r--r--, then do a `chmod 744 configure` to fix it. However,
        most packages that I have dealt with will make the configure script
        executable by default. If the file is not there, then you are either in
        the wrong directory, or that particular package doesn't use the
        configure script to make the binary. In that case, you will have to use
        the Makefile provided by using `make`, or do it manually with gcc. There
        is almost certainly a file describing the build process for the package.
        Most will have a file called 'INSTALL'

        --
        Justin Koivisto - spam@koivi.com
        PHP POSTERS: Please use comp.lang.php for PHP related questions,
        alt.php* groups are not recommended.

        Comment

        Working...