problems while beginning with PHP

This is a discussion on problems while beginning with PHP within the PHP Language forums, part of the PHP Programming Forums category; hello, everybody i'm pretty new with linux & php, i have some problems: 1- can't make flash work ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-01-2003
Paulie
 
Posts: n/a
Default 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
Reply With Quote
  #2 (permalink)  
Old 10-01-2003
Justin Koivisto
 
Posts: n/a
Default Re: problems while beginning with PHP

Paulie wrote:
> 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?


1. The configure script must be executable
2. --with-usf must be a valid option

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


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.

Reply With Quote
  #3 (permalink)  
Old 10-02-2003
Paulie
 
Posts: n/a
Default 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
Reply With Quote
  #4 (permalink)  
Old 10-02-2003
Justin Koivisto
 
Posts: n/a
Default Re: problems while beginning with PHP

Paulie wrote:
>>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...


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.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:20 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0