Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-29 Thread Greg Wooledge
On Fri, Mar 29, 2024 at 11:49:06AM +0100, Bernard wrote:
> Hi to Everyone,
> 
> The text quoted below has already been sent to the list, 2-3 days ago,
> someone had replied to it (but the message has been lost, I no longer see it
> on the list. I had replied again, which reply disappeared too.)
> So, I want to say again that the errors shown in the text below (S instead
> of $, ` inst of ') are not errors that I made in the php script, which
> scripts I write using old vi (vim). This was due to the fact that some parts
> of my messages here were typed using LibreOffice and parts were copy/pasted
> here.

That was something you wrote in a private reply to me, not to the list.



Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-29 Thread Bernard

Hi to Everyone,

The text quoted below has already been sent to the list, 2-3 days ago, 
someone had replied to it (but the message has been lost, I no longer 
see it on the list. I had replied again, which reply disappeared too.)
So, I want to say again that the errors shown in the text below (S 
instead of $, ` inst of ') are not errors that I made in the php script, 
which scripts I write using old vi (vim). This was due to the fact that 
some parts of my messages here were typed using LibreOffice and parts 
were copy/pasted here.


So, my actual concern still is that I can't get a php 7.4 script to call 
for a value entry, as I did years ago with older version.

 $nom = S_GET [‘nom’] ;
>
> no longer operates with php 7.4. This code is simply ignored. S_REQUEST,
> $_POST do not work either.
I spent hours searching for a way to get php to ask for an entry, but I 
didn't find anything.


On 28/03/2024 10:33, Bernard wrote:
Yes, this list (exactly the same here) shows that mysqli.so is loaded. 
In any case, as said before, this function does operate as I have checked.


But I've found more problems, concerning $_REQUEST, $_GET...

The old way that I used 11 yrs ago no longer works :

$nom = S_GET [‘nom’] ;

no longer operates with php 7.4. This code is simply ignored. S_REQUEST, 
$_POST do not work either.


Could someone show me how I should write these few lines dating 2010… 
(worked at least till 2013), which code is now ignored by php 7.4 with 
no explanations since I don’t have debugging function active. This 
example code comes from Kevin Yanks' s book dating 2010 :




These lines are now ignored by php 7.4

In any case, I’ve checked my php.ini (which I sent here a few days ago), 
and it seems to say that cookies are activated as well as $_REQUEST and 
other concerned functions.


On 26/03/2024 10:38, Bernard wrote:

ls -Al /usr/lib/php/20190902




Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-28 Thread Greg Wooledge
On Thu, Mar 28, 2024 at 10:36:01AM +0100, Bernard wrote:
> But I've found more problems, concerning $_REQUEST, $_GET...
> 
> The old way that I used 11 yrs ago no longer works :
> 
> $nom = S_GET [‘nom’] ;
> 
> no longer operates with php 7.4. This code is simply ignored. S_REQUEST,
> $_POST do not work either.

You mentioned $_GET and then you wrote S_GET.

You also have Unicode curly quote marks there, not ASCII apostrophes.

It's impossible for us to tell whether your PHP code is actually broken,
or whether you *retyped* it with errors for your email.



Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-28 Thread Bernard
Yes, this list (exactly the same here) shows that mysqli.so is loaded. 
In any case, as said before, this function does operate as I have checked.


But I've found more problems, concerning $_REQUEST, $_GET...

The old way that I used 11 yrs ago no longer works :

$nom = S_GET [‘nom’] ;

no longer operates with php 7.4. This code is simply ignored. S_REQUEST, 
$_POST do not work either.


Could someone show me how I should write these few lines dating 2010… 
(worked at least till 2013), which code is now ignored by php 7.4 with 
no explanations since I don’t have debugging function active. This 
example code comes from Kevin Yanks' s book dating 2010 :




These lines are now ignored by php 7.4

In any case, I’ve checked my php.ini (which I sent here a few days ago), 
and it seems to say that cookies are activated as well as $_REQUEST and 
other concerned functions.


On 26/03/2024 10:38, Bernard wrote:

ls -Al /usr/lib/php/20190902

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Jeffrey Walton
On Tue, Mar 26, 2024 at 1:17 PM Marco Moock  wrote:
>
> Am 26.03.2024 um 10:33:59 Uhr schrieb Bernard:
>
> > I have the two // in the displayed error messages. However the file
> > is where it should be, without double //
>
> The this seems to be a bug because if it searches for //file it will
> definitely not find it.
> Can you use strace to verify that?

Also see .

Jeff



Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread David Wright
On Tue 26 Mar 2024 at 09:43:37 (-0400), Cindy Sue Causey wrote:
> On Tue, Mar 26, 2024 at 6:04 AM Bernard  wrote:
[ … ]
> > $ php -m | grep mysqli
> >
> > "If the MySQLi extension is enabled, we’ll see mysqli in the output. 
> > Otherwise, the output will be empty."
> >
> > php -m grep mysqli
> >
> > PHP Warning:  PHP Startup: Unable to load dynamic library 
> > '//usr/lib/php/20190902/mysqli.so' (tried: //usr/lib/php/20190902/mysqli.so 
> > (//usr/lib/php/20190902/mysqli.so: undefined symbol: mysqlnd_global_stats), 
> > /usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so 
> > (/usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so: cannot open 
> > shared object file: No such file or directory)) in Unknown on line 0
> > PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqli' (tried: 
> > /usr/lib/php/20190902/mysqli (/usr/lib/php/20190902/mysqli: cannot open 
> > shared object file: No such file or directory), 
> > /usr/lib/php/20190902/mysqli.so (/usr/lib/php/20190902/mysqli.so: undefined 
> > symbol: mysqlnd_global_stats)) in Unknown on line 0
> > mysqli
> 
> Just observing out loud: What's generating that double slash, i.e. "//usr,"
> in the start of the message? That seems like a possible show stopper.

At a glance, the first warning looks like it might be the
unsophisticated concatenation and substitution of paths,
without regard for either leading and trailing delimiters
or filename extensions:

  null plus /usr/lib/php/20190902/mysqli.so

  /usr/lib/php/20190902/ plus /usr/lib/php/20190902/mysqli.so plus .so
  ---
substitution ↗

The second warning looks more significant, but mysqli is outside my
area of knowledge. Nonetheless, "mysqli" was seen in the last line,
though without any context: grep might be helped along by -A and -B.

Cheers,
David.



Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Marco Moock
Am 26.03.2024 um 10:33:59 Uhr schrieb Bernard:

> I have the two // in the displayed error messages. However the file
> is where it should be, without double //

The this seems to be a bug because if it searches for //file it will
definitely not find it.
Can you use strace to verify that?

-- 
Gruß
Marco

Send unsolicited bulk mail to 1711445639mu...@cartoonies.org



Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Cindy Sue Causey
On Tue, Mar 26, 2024 at 6:04 AM Bernard  wrote:
>
> I have progressed a little in my trials.
>
> mysqli.so still shows the previously described problems, and I thought that 
> this was responsible of the fact that mysqli functions were apparently 
> discarded in the test programs I wrote.
>
> I discovered that this was due to errors I made in the php program. The 
> errors in the script being corrected, mysqli_connect, mysqli_select_db, 
> mysqli_query... now do operate... despite the errors concerning mysqli.so 
> that I discovered when running the tests which are proposed by 'baeldung.com'
>
> "
>
> $ php -m | grep mysqli
>
> "If the MySQLi extension is enabled, we’ll see mysqli in the output. 
> Otherwise, the output will be empty."
>
> php -m grep mysqli
>
> PHP Warning:  PHP Startup: Unable to load dynamic library 
> '//usr/lib/php/20190902/mysqli.so' (tried: //usr/lib/php/20190902/mysqli.so 
> (//usr/lib/php/20190902/mysqli.so: undefined symbol: mysqlnd_global_stats), 
> /usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so 
> (/usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so: cannot open 
> shared object file: No such file or directory)) in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqli' (tried: 
> /usr/lib/php/20190902/mysqli (/usr/lib/php/20190902/mysqli: cannot open 
> shared object file: No such file or directory), 
> /usr/lib/php/20190902/mysqli.so (/usr/lib/php/20190902/mysqli.so: undefined 
> symbol: mysqlnd_global_stats)) in Unknown on line 0
> mysqli

Just observing out loud: What's generating that double slash, i.e. "//usr,"
in the start of the message? That seems like a possible show stopper.

Cindy :)

-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA
* runs with birdseed *



Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Bernard

I have progressed a little in my trials.

mysqli.so still shows the previously described problems, and I thought 
that this was responsible of the fact that mysqli functions were 
apparently discarded in the test programs I wrote.


I discovered that this was due to errors I made in the php program. The 
errors in the script being corrected, mysqli_connect, mysqli_select_db, 
mysqli_query... now do operate... despite the errors concerning 
mysqli.so that I discovered when running the tests which are proposed by 
'baeldung.com'


"

|$ php -m | grep mysqli|

"If the MySQLi extension is enabled, we’ll see /mysqli/ in the output. 
Otherwise, the output will be empty."


php -m grep mysqli

PHP Warning:  PHP Startup: Unable to load dynamic library 
'//usr/lib/php/20190902/mysqli.so' (tried: 
//usr/lib/php/20190902/mysqli.so (//usr/lib/php/20190902/mysqli.so: 
undefined symbol: mysqlnd_global_stats), 
/usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so 
(/usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so: cannot open 
shared object file: No such file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqli' 
(tried: /usr/lib/php/20190902/mysqli (/usr/lib/php/20190902/mysqli: 
cannot open shared object file: No such file or directory), 
/usr/lib/php/20190902/mysqli.so (/usr/lib/php/20190902/mysqli.so: 
undefined symbol: mysqlnd_global_stats)) in Unknown on line 0

mysqli

"

On 24/03/2024 19:51, Bernard wrote:


Hi to Everyone !

*PHP Warning: PHP Startup: Unable to load dynamic library 
'//usr/lib/php/20190902/mysqli.so' * *However, the file is there... 
not human readable as expected* *and mysqli_connect doesn't operate.*


*Thanks in advance for your help*
*Bernard*


Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Bernard

ls -Al /usr/lib/php/20190902
total 7732
-rw-r--r-- 1 root root   34920  9 juin   2023 calendar.so
-rw-r--r-- 1 root root   14440  9 juin   2023 ctype.so
-rw-r--r-- 1 root root   92264  9 juin   2023 exif.so
-rw-r--r-- 1 root root  161896  9 juin   2023 ffi.so
-rw-r--r-- 1 root root 5744752  9 juin   2023 fileinfo.so
-rw-r--r-- 1 root root   67688  9 juin   2023 ftp.so
-rw-r--r-- 1 root root   14440  9 juin   2023 gettext.so
-rw-r--r-- 1 root root   51304  9 juin   2023 iconv.so
-rw-r--r-- 1 root root   47208  9 juin   2023 json.so
-rw-r--r-- 1 root root  145512  9 juin   2023 mysqli.so
-rw-r--r-- 1 root root  255832  9 juin   2023 mysqlnd.so
-rw-r--r-- 1 root root  551440  9 juin   2023 opcache.so
-rw-r--r-- 1 root root   34920  9 juin   2023 pdo_mysql.so
-rw-r--r-- 1 root root  112744  9 juin   2023 pdo.so
-rw-r--r-- 1 root root  280680  9 juin   2023 phar.so
-rw-r--r-- 1 root root   39016  9 juin   2023 posix.so
-rw-r--r-- 1 root root   34920  9 juin   2023 readline.so
-rw-r--r-- 1 root root   14440  9 juin   2023 shmop.so
-rw-r--r-- 1 root root   96360  9 juin   2023 sockets.so
-rw-r--r-- 1 root root   22632  9 juin   2023 sysvmsg.so
-rw-r--r-- 1 root root   14440  9 juin   2023 sysvsem.so
-rw-r--r-- 1 root root   14440  9 juin   2023 sysvshm.so
-rw-r--r-- 1 root root   26728  9 juin   2023 tokenizer.so

On 24/03/2024 23:04, Jeffrey Walton wrote:

ls -Al
/usr/lib/php/20190902

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Bernard



On 24/03/2024 20:02, Marco Moock wrote:

Am Sun, 24 Mar 2024 19:51:05 +0100
schrieb Bernard :


'//usr/lib/php/20190902/mysqli.so'

Is that really the path in the message?
The 2 // must not be there.


I have the two // in the displayed error messages. However the file is 
where it should be, without double //





Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-24 Thread Jeffrey Walton
On Sun, Mar 24, 2024 at 5:57 PM Bernard  wrote:
>
> Hi to Everyone !
>
> PHP Warning: PHP Startup: Unable to load dynamic library 
> '//usr/lib/php/20190902/mysqli.so' However, the file is there... not human 
> readable as expected and mysqli_connect doesn't operate.

Please provide the output of `ls -Al /usr/lib/php` and `ls -Al
/usr/lib/php/20190902`. If you are running SeLinux, then use `ls -AlZ`
instead.

Also state what user your web server runs under.

You may need to show your php.ini.

Jeff



Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-24 Thread Geert Stappers
On Sun, Mar 24, 2024 at 07:51:05PM +0100, Bernard wrote:
> *PHP Warning: PHP Startup: Unable to load dynamic library
> '//usr/lib/php/20190902/mysqli.so'

|$ apt-file search mysqli.so
|php8.2-mysql: /usr/lib/php/20220829/mysqli.so
|$


So on my system, trixie, I would do `sudo apt install php8.2-mysql`
and try again.


Groeten
Geert Stappers
-- 
Silence is hard to parse



Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-24 Thread Marco Moock
Am Sun, 24 Mar 2024 19:51:05 +0100
schrieb Bernard :

> '//usr/lib/php/20190902/mysqli.so'

Is that really the path in the message?
The 2 // must not be there.



Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-24 Thread Bernard

Hi to Everyone !

*PHP Warning: PHP Startup: Unable to load dynamic library 
'//usr/lib/php/20190902/mysqli.so' * *However, the file is there... not 
human readable as expected* *and mysqli_connect doesn't operate.*


*Thanks in advance for your help*
*Bernard*



Re: Apache, php,python mysql.. ayuda

2017-06-10 Thread Miguel de Dios Matias
El 10/6/2017 20:09, "Hector"  escribió:

Hola Amigos del opensource Debian,

bueno hace unos meses instale php la 5.6 aun no actualize a la 7, e instale
apache 2.4, y mysql 5, bueno ahora me da la curiosidad de instalar python
para servicios web tipo CGI, instale python, y segui este manual
http://librosweb.es/libro/python/capitulo_13/python_bajo_apache.html pero
no me funciono a un 100% , se instalo pero para la configuracion que
funcione ambos , php y python con el mismo apache me dio conflictos , hasta
que lo puse  y solo funciona el php y claro el apache ,
pero para nada mi python..

Alguna sugerencia o ideas.



*Saludos Hector*

Puedes pegar el conf de apache...o subirlo alguna web del estilo pastebin.

Pregunta offtopic: ¿Porqué "amigos opensource Debian"?

Saludos.


Re: php with mysql

2006-01-24 Thread Markus Braun

Es waere schoen wenn du fuer spaetere Interessenten deinen Loesungsweg
kurz beschreiben koenntest. Fuers Archiv.


Ehrlich gesagt, weiss ich es selber nicht genau warum es jetzt geht.
Habe nur so 10 mal den apachen neugestartet. Habe in der Php.ini die 
extensions ganz unten hingeschrieben.

Bei den paketen war alles schon installiert.

DEnke eher dass das System einen hänger gehabt hat, weil wie gesagt, alle 
pakete waren schon immer installiert und auch die neusten laut apt-get.


sorry das ich nicht mehr dazu sagen kann.

_
Haben Spinnen Ohren? Finden Sie es heraus – mit dem MSN Suche Superquiz via  
http://www.msn-superquiz.de  Jetzt mitmachen und gewinnen!



--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/


Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: php with mysql

2006-01-23 Thread Andreas Pakulat
Kannst du das CC an mich bitte unterlassen, ich lese die Liste.

On 23.01.06 05:55:31, Markus Braun wrote:
  Nur meine PHP Info gibt immer noch das aus:
 Ich erstelle eine PHP Datei mit folgendem inhalt:

Hmm, also bei mir sieht das anders aus... Liegt vllt. an der PHP
Version.

 Hast du schonmal ein mysql_connect() getestet?
 
 Meinst du über die Bash zu MYSQL konnekten, wie folgt:

Nein, ich meine die entsprechende PHP Funktion zum Aufbau einer
Datenbankverbindung. 

Ich kenne PHP nicht so genau, aber vllt. ist es dort genau wie beim
Kernel, du kannst  waehlen ob der MySQL Support fest einkompiliert wird
oder per Library nachgeladen werden kann. In dem Fall liegt im
php4-mysql Paket die Library und nach Installation derselben sollten
dann die MySQL Funktionen bereitstehen.

Wenn das nicht klappt waeren die exakten Fehlermeldungen interessant,
die du erhaelst.

Andreas

-- 
Tomorrow, you can be anywhere.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: php with mysql

2006-01-23 Thread Markus Braun

Nein, ich meine die entsprechende PHP Funktion zum Aufbau einer
Datenbankverbindung.

Ich kenne PHP nicht so genau, aber vllt. ist es dort genau wie beim
Kernel, du kannst  waehlen ob der MySQL Support fest einkompiliert wird
oder per Library nachgeladen werden kann. In dem Fall liegt im
php4-mysql Paket die Library und nach Installation derselben sollten
dann die MySQL Funktionen bereitstehen.


Mh also so gut kenn ich mich jetzt nimmer aus wo ich nachschauen muss, 
versuche nur gallery2 zu installieren und da sagt er mir immer dass ich das 
php sql modul installieren soll.


Im Forum von gallery meinte man dann, dass ich halt dieses with php mit 
mysql einrichten soll.


Also die libary ist dann die datei: mysql.so ? richtig? die lade ich aber in 
der php.ini nach. wo soll ich da jetzt exakt nachschauen?


_
Haben Spinnen Ohren? Finden Sie es heraus – mit dem MSN Suche Superquiz via  
http://www.msn-superquiz.de  Jetzt mitmachen und gewinnen!



--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/


Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: php with mysql

2006-01-23 Thread Markus Braun



Wenn das nicht klappt waeren die exakten Fehlermeldungen interessant,
die du erhaelst.


so es geht nun...

_
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit 
Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu! 
http://desktop.msn.de/ Jetzt gratis downloaden!



--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/


Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: php with mysql

2006-01-23 Thread Andreas Pakulat
On 23.01.06 13:15:52, Markus Braun wrote:
 Nein, ich meine die entsprechende PHP Funktion zum Aufbau einer
 Datenbankverbindung.
 
 Ich kenne PHP nicht so genau, aber vllt. ist es dort genau wie beim
 Kernel, du kannst  waehlen ob der MySQL Support fest einkompiliert wird
 oder per Library nachgeladen werden kann. In dem Fall liegt im
 php4-mysql Paket die Library und nach Installation derselben sollten
 dann die MySQL Funktionen bereitstehen.
 
 Mh also so gut kenn ich mich jetzt nimmer aus wo ich nachschauen muss,

Das ist nicht gut. PHP hat eine recht ordentliche Dokumentation im Paket
phpdoc.

 versuche 
 nur gallery2 zu installieren und da sagt er mir immer dass ich das php sql 
 modul installieren soll.

Einfachster Test ist:
?php
mysql_connect(localhost,user,pass) or die(mysql_error())
?

in eine php-Datei zu schreiben und diese dann auszufuehren.

 Im Forum von gallery meinte man dann, dass ich halt dieses with php mit mysql 
 einrichten soll.

Auf einem Sarge-System laeuft nach 

apt-get install php4 php4-mysql 

eigentlich alles. Da ist nichts weiter zu tun. 

 Also die libary ist dann die datei: mysql.so ? richtig? die lade ich aber in 
 der php.ini nach. wo soll ich da jetzt exakt nachschauen?

Je nach Apache-Version in /etc/php4/apache(2)/php.ini

Dort ist aber mysql.so bereits per Default geladen. Sagen deine
Apache-Logs irgendwas?

Andreas

-- 
You will reach the highest possible point in your business or profession.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: php with mysql

2006-01-23 Thread Andreas Pakulat
On 23.01.06 14:50:05, Markus Braun wrote:
 
 Wenn das nicht klappt waeren die exakten Fehlermeldungen interessant,
 die du erhaelst.
 
 so es geht nun...

Es waere schoen wenn du fuer spaetere Interessenten deinen Loesungsweg
kurz beschreiben koenntest. Fuers Archiv.

Andreas

-- 
Today is the first day of the rest of your life.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: php with mysql

2006-01-23 Thread Hans-Georg Bork
Moin,

On Sun, Jan 22, 2006 at 11:01:43PM +, Markus Braun wrote:
 [...]
 Ebenso ist php4-mysql installiert.
 
 Nur meine PHP Info gibt immer noch das aus:
 
 -with-exec-dir=/usr/lib/php4/libexec' '--without-mm' '--without-mysql' 
 '--without-sybase-ct'

diese Eintraege geben an wie das PHP-Modul compiliert wurde und sind voellig
in Ordnung; blaetter mal weiter nach unten und schau Dir den mysql-Block an ...

Gruss
-- hgb


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



php with mysql

2006-01-22 Thread Markus Braun

Hallo,

wie aktiviere ich das php mit mysql läuft und nicht without.

Ebenso hab ich keine mysql section wenn ich die phpinfo rauslasse.

Habe debian sarge system.

Installiert habe ich alles per apt-get install.

Wer kann mir helfen?

Vielen Dank
marcus

_
Die neue MSN Suche Toolbar mit Windows-Desktopsuche. Suchen Sie gleichzeitig 
im Web, Ihren E-Mails und auf Ihrem PC! Jetzt neu! http://desktop.msn.de/ 
Jetzt gratis downloaden!



--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/


Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: php with mysql

2006-01-22 Thread Christian Schmidt
Hallo Markus,

Markus Braun, 22.01.2006 (d.m.y):

 wie aktiviere ich das php mit mysql läuft und nicht without.
 
 Ebenso hab ich keine mysql section wenn ich die phpinfo rauslasse.
 
 Habe debian sarge system.
 
 Installiert habe ich alles per apt-get install.

php4-mysql hast Du installiert?
Wenn ja, muesstest Du vielleicht noch die Zeile mit
extension=mysql.so in /etc/php4/apache/php.ini entkommentieren und
Deinen apache einmal anHUPen.

Gruss,
Christian Schmidt

-- 
Der Kluge findet fast alles lächerlich.  Der Vernünftige so gut wie nichts.
-- Johann Wolfgang von Goethe


signature.asc
Description: Digital signature


Re: php with mysql

2006-01-22 Thread Christoph Haas
On Sunday 22 January 2006 23:06, Markus Braun wrote:
 wie aktiviere ich das php mit mysql läuft und nicht without.
 Ebenso hab ich keine mysql section wenn ich die phpinfo rauslasse.
 Habe debian sarge system.

apt-get install php4-mysql gemacht?

Und prüf mal, ob in /etc/php4/apache2/php.ini die Zeile

  extension=mysql.so

vorhanden ist.

Gruß,
 Christoph
-- 
Never trust a system administrator who wears a tie and suit.



Re: php with mysql

2006-01-22 Thread Markus Braun



  extension=mysql.so

vorhanden ist.


ja das hab ich geschaut und es ist vorhanden:

;
; For example, on Windows:
;
;   extension=msql.dll
;
; ... or under UNIX:
;
;   extension=msql.so
;
; Note that it should be the name of the module only; no directory 
information

; needs to go here.  Specify the location of the extension with the
; extension_dir directive above.

; Example lines:

extension=mysql.so
extension=gd.so


Ebenso ist php4-mysql installiert.

Nur meine PHP Info gibt immer noch das aus:

-with-exec-dir=/usr/lib/php4/libexec' '--without-mm' '--without-mysql' 
'--without-sybase-ct'


Habe dann noch ein

/etc/init.d/apache2 restart gemacht

Und er zeigt mir immer noch without an.

:-(

_
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit 
Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu! 
http://desktop.msn.de/ Jetzt gratis downloaden!



--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/


Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: php with mysql

2006-01-22 Thread Andreas Pakulat
On 22.01.06 23:01:43, Markus Braun wrote:
 Nur meine PHP Info gibt immer noch das aus:

Was fuer eine PHP Info? php4 -i gibt hier sowas nicht aus, die phpinfo()
Funktion selbst gibt auch keine solchen Informationen aus.

Was sagt apt-cache policy php4 php4-mysql?

Hast du schonmal ein mysql_connect() getestet?

Andreas

-- 
Stay away from flying saucers today.


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: php with mysql

2006-01-22 Thread Markus Braun

 Nur meine PHP Info gibt immer noch das aus:

Ich erstelle eine PHP Datei mit folgendem inhalt:
?PHP
phpinfo();
?
Dann bekomm ich das raus:
Configure Command  '../configure' '--prefix=/usr' 
'--with-apxs2=/usr/bin/apxs2' '--with-config-file-path=/etc/php4/apache2' 
'--enable-memory-limit' '--disable-debug' '--with-regex=php' 
'--disable-rpath' '--disable-static' '--with-pic' '--with-layout=GNU' 
'--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem' 
'--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' 
'--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' 
'--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro' 
'--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-pcre-regex=/usr' 
'--enable-shmop' '--enable-sockets' '--enable-wddx' '--disable-xml' 
'--with-expat-dir=/usr' '--with-xmlrpc' '--enable-yp' '--with-zlib' 
'--without-pgsql' '--with-kerberos=/usr' '--with-openssl=/usr' 
'--with-zip=/usr' '--enable-dbx' 
'--with-mime-magic=/usr/share/misc/file/magic.mime' 
'--with-exec-dir=/usr/lib/php4/libexec' '--without-mm' '--without-mysql' 
'--without-sybase-ct'




Was fuer eine PHP Info? php4 -i gibt hier sowas nicht aus, die phpinfo()
Funktion selbst gibt auch keine solchen Informationen aus.



Was sagt apt-cache policy php4 php4-mysql?

php4:
 Installiert:4:4.3.10-16
 Mögliche Pakete:4:4.3.10-16
 Versions-Tabelle:
*** 4:4.3.10-16 0
   500 http://security.debian.org sarge/updates/main Packages
   100 /var/lib/dpkg/status
4:4.3.10-15 0
   500 ftp://ftp.hosteurope.de sarge/main Packages
php4-mysql:
 Installiert:4:4.3.10-16
 Mögliche Pakete:4:4.3.10-16
 Versions-Tabelle:
*** 4:4.3.10-16 0
   500 http://security.debian.org sarge/updates/main Packages
   100 /var/lib/dpkg/status
4:4.3.10-15 0
   500 ftp://ftp.hosteurope.de sarge/main Packages



Hast du schonmal ein mysql_connect() getestet?


Meinst du über die Bash zu MYSQL konnekten, wie folgt:

mysql -uroot -p

Dannn komm ich auf den MYSQL server und die prompt wird zu mysql .

_
Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit 
Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu! 
http://desktop.msn.de/ Jetzt gratis downloaden!



--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/


Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



getting PHP and MySQL to work together

2006-01-08 Thread Jon Miller
I would like to have Apache2, PHP4 and MySQL to work together.  I did a apt-get 
mysql-server, php and several other modules and it all went in.  I can access 
mysql from the local server and from using phpmyadmin from a WinXPP PC.  
However, when I run the phpinfo() from a php file, it does not mention has in 
it's listing a section on mysql.  Is this normal ?  It does have mention of 
several mysql modules:
PHP Version 4.3.10-16
Loaded Modules  - mod_auth_mysql
supported databases - MySQL
Configure Command  - '--without-mysql' 

I'm just wondering is this is setup correctly.


Jon



Re: getting PHP and MySQL to work together

2006-01-08 Thread Simo Kauppi
On Sun, Jan 08, 2006 at 10:13:51PM +0800, Jon  Miller wrote:
 I would like to have Apache2, PHP4 and MySQL to work together.  I did a 
 apt-get mysql-server, php and several other modules and it all went in.  I 
 can access mysql from the local server and from using phpmyadmin from a 
 WinXPP PC.  However, when I run the phpinfo() from a php file, it does not 
 mention has in it's listing a section on mysql.  Is this normal ?  It does 
 have mention of several mysql modules:
 PHP Version 4.3.10-16
 Loaded Modules  - mod_auth_mysql
 supported databases - MySQL
 Configure Command  - '--without-mysql' 
 
 I'm just wondering is this is setup correctly.
 
 Jon

Check that you have extension=mysql.so uncommented in the
/etc/php4/apache2/php.ini file. I have php4-common version 4:4.4.0-4
from etch and it seems to be added as the last line in there.

Simo
-- 
:r ~/.signature


signature.asc
Description: Digital signature


Re: [OT] de php y mysql

2005-12-15 Thread Rober Morales
El Jueves, 15 de Diciembre de 2005 04:21, Felix Perez escribió:
 output started at

   /var/www/celec_control_OT/inventario/agregar-facturas.php:1

no será ahí donde hay que mirar la salida que se hace???

postea esa línea.

-- 
El ojo del amo engorda el ganado.
-- Refrán. 

-- 
//
//Rober Morales Chaparro
//
#include /* RMC'05 */ iostream
class saludo { public: saludo(){
std::cout  Hola; } ~saludo()
{ std::cout   Mundo! ; } } ;
int main() { saludo holamundo; }



Re: [OT] de php y mysql Solucionado.

2005-12-15 Thread Felix Perez
El 15/12/05, Rober Morales[EMAIL PROTECTED] escribió:
 El Jueves, 15 de Diciembre de 2005 04:21, Felix Perez escribió:
  output started at
 
/var/www/celec_control_OT/inventario/agregar-facturas.php:1

 no será ahí donde hay que mirar la salida que se hace???
Gracias Rober, efectivamente esa linea era un simple php pero se me
colo un espacio delante y eso ocasionaba el problema, en todo caso
aprendí que ese tipo de error no es configuración es de código.

Gracias y perdon nuevamente por OT.

 postea esa línea.

 --
 El ojo del amo engorda el ganado.
 -- Refrán.

 --
 //
 //Rober Morales Chaparro
 //
 #include /* RMC'05 */ iostream
 class saludo { public: saludo(){
 std::cout  Hola; } ~saludo()
 { std::cout   Mundo! ; } } ;
 int main() { saludo holamundo; }




--
usuario linux  #274354



Re: [OT] de php y mysql

2005-12-15 Thread Felix Perez
El 15/12/05, Rober Morales[EMAIL PROTECTED] escribió:
 El Jueves, 15 de Diciembre de 2005 04:21, Felix Perez escribió:
  output started at
 
/var/www/celec_control_OT/inventario/agregar-facturas.php:1

 no será ahí donde hay que mirar la salida que se hace???

 postea esa línea.
Gracias Rober, efectivamente esa linea era un simple php pero se me
colo un espacio delante y eso ocasionaba el problema, en todo caso
aprendí que ese tipo de error no es configuración es de código.

Gracias a todos  y perdon nuevamente por el OT.



 --
 El ojo del amo engorda el ganado.
 -- Refrán.

 --
 //
 //Rober Morales Chaparro
 //
 #include /* RMC'05 */ iostream
 class saludo { public: saludo(){
 std::cout  Hola; } ~saludo()
 { std::cout   Mundo! ; } } ;
 int main() { saludo holamundo; }




--
usuario linux  #274354



[OT] de php y mysql

2005-12-14 Thread Felix Perez
Hola amigos estoy haciendo pruebas en un servidor que tiene php 4.3.10
y Mysql 4.0.23
y al tratar de enviar un formulario bastante grande (152 campos
textbox) me muestra el siguiente mensaje:

Warning: session_start(): Cannot send session cache limiter - headers
already sent (output started at
/var/www/celec_control_OT/inventario/agregar-facturas.php:1) in
/var/www/celec_control_OT/usuarios/aut_verifica.inc.php on line 142
¿es el Mysql? ¿es php? ¿es el navegador?

Otro formulario con menos campos se envia correctamente.

Por su ayuda muchas gracias.

--
usuario linux  #274354



RE: [OT] de php y mysql

2005-12-14 Thread Nelson Lopez V
 
 Hola amigos estoy haciendo pruebas en un servidor que tiene php 4.3.10
 y Mysql 4.0.23
 y al tratar de enviar un formulario bastante grande (152 campos
 textbox) me muestra el siguiente mensaje:
 
 Warning: session_start(): Cannot send session cache limiter - headers
 already sent (output started at
 /var/www/celec_control_OT/inventario/agregar-facturas.php:1) in
 /var/www/celec_control_OT/usuarios/aut_verifica.inc.php on line 142
 ¿es el Mysql? ¿es php? ¿es el navegador?
 
 Otro formulario con menos campos se envia correctamente.

[Nelson Lopez V :] 


Prueba a dar mayor tiempo de ejecución en  el php.ini aunque esto signifique
un riesgo de seguridad :-) !

Salu2.



 
 Por su ayuda muchas gracias.
 
 --
 usuario linux  #274354



Re: [OT] de php y mysql

2005-12-14 Thread Ricardo Frydman Eureka!
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Felix Perez wrote:
 Hola amigos estoy haciendo pruebas en un servidor que tiene php 4.3.10
 y Mysql 4.0.23
 y al tratar de enviar un formulario bastante grande (152 campos
 textbox) me muestra el siguiente mensaje:
 
 Warning: session_start(): Cannot send session cache limiter - headers
 already sent (output started at
 /var/www/celec_control_OT/inventario/agregar-facturas.php:1) in
 /var/www/celec_control_OT/usuarios/aut_verifica.inc.php on line 142
 ¿es el Mysql? ¿es php? ¿es el navegador?
 
 Otro formulario con menos campos se envia correctamente.

Es absolutamente imposible contestar a eso a menos que nos envies el
codigo de (al menos) la linea 142.
Como dato extra, te cuento que ese tipo de mensajes suelen aparecer
cuando intentas ejecutar por ejemplo, un header(Location:), tras haber
mandado antes alguna cabecera HTML

Por cierto.../muy/ OT
 
 Por su ayuda muchas gracias.
 
 --
 usuario linux  #274354
 
 


- --
Ricardo A.Frydman
Consultor en Tecnología Open Source - Administrador de Sistemas
jabber: [EMAIL PROTECTED] - http://www.eureka-linux.com.ar
SIP # 1-747-667-9534
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDoB0mkw12RhFuGy4RAiTGAJ4k/HQfpwCyyDwJT/lepOnQCFVRqQCgjd/Y
OwJmgVqnuq0VLiT4RdrgIeU=
=vQNP
-END PGP SIGNATURE-



Re: [OT] de php y mysql

2005-12-14 Thread Felix Perez
El 14/12/05, Ricardo Frydman Eureka![EMAIL PROTECTED] escribió:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Felix Perez wrote:
  Hola amigos estoy haciendo pruebas en un servidor que tiene php 4.3.10
  y Mysql 4.0.23
  y al tratar de enviar un formulario bastante grande (152 campos
  textbox) me muestra el siguiente mensaje:
 
  Warning: session_start(): Cannot send session cache limiter - headers
  already sent (output started at
  /var/www/celec_control_OT/inventario/agregar-facturas.php:1) in
  /var/www/celec_control_OT/usuarios/aut_verifica.inc.php on line 142
  ¿es el Mysql? ¿es php? ¿es el navegador?
 
  Otro formulario con menos campos se envia correctamente.

 Es absolutamente imposible contestar a eso a menos que nos envies el
 codigo de (al menos) la linea 142.

137 //  Chequear sesión existe ---
138
139 // usamos la sesion de nombre definido.
140 session_name($usuarios_sesion);
141 // Iniciamos el uso de sesiones
142 session_start();
143
144 // Chequeamos si estan creadas las variables de sesión de
identificación del usuario,
145 // El caso mas comun es el de una vez matado la sesion se
intenta volver hacia atras
146 // con el navegador.
147
148 if (!isset($_SESSION['usuario_login']) 
!isset($_SESSION['usuario_password'])){
149 // Borramos la sesion creada por el inicio de session anterior
150 session_destroy();
151 die (Error cod.: 2 - Acceso incorrecto!);
152 exit;
153 }
154 }
155 ?
 Como dato extra, te cuento que ese tipo de mensajes suelen aparecer
 cuando intentas ejecutar por ejemplo, un header(Location:), tras haber
 mandado antes alguna cabecera HTML
Lo extraño es que otro form hace la misma llamada pero con un form con
menos campos y no me da ningun problema.

 Por cierto.../muy/ OT
Si es cierto que es muy pero muy OT, pero no supe donde o como buscar
una respuesta a este error. Ya que no se si es apache o php o del
codigo mismo del script
 
  Por su ayuda muchas gracias.

De nuevo gracias Ricardo y Nelson.
 
  --
  usuario linux  #274354
 
 


 - --
 Ricardo A.Frydman
 Consultor en Tecnología Open Source - Administrador de Sistemas
 jabber: [EMAIL PROTECTED] - http://www.eureka-linux.com.ar
 SIP # 1-747-667-9534
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.1 (GNU/Linux)

 iD8DBQFDoB0mkw12RhFuGy4RAiTGAJ4k/HQfpwCyyDwJT/lepOnQCFVRqQCgjd/Y
 OwJmgVqnuq0VLiT4RdrgIeU=
 =vQNP
 -END PGP SIGNATURE-




--
usuario linux  #274354



Re: [emacs] mode html et php ? (voire MySQL) [HtmlModeDeluxe]

2005-11-27 Thread Aurelien
Quelques petites questions pour revenir à mon problème de HtmlModeDeluxe
en console.

On Fri, Nov 25, 2005 at 06:12:35PM +0100, Aurelien wrote :
 
  http://www.emacswiki.org/cgi-bin/wiki/HtmlModeDeluxe

 2. En console, aucune coloration ne se fait (si ce n'est le background
 sur les zones php, mais j'aime autant l'enlever, parce qu'il est gore,
 et surtout de la même couleur que le texte !!!)

Est-ce que le fait que je ne vois pas la coloration syntaxique en
console est dû à un mauvais choix des couleurs (N.B : En octave-mode, la
coloration fonctionne, mais est assez simpliste, par rapport à vi
notamment), ou est-ce que ça ne pourra jamais fonctionner ?


-- 
==
ORL (alias Yvette H.)

Responsable internet de l'AMMD

Sebkha-Chott : http://sebkhachott.net
[Mekanik Metal Disco]
[Peplum Neo-Futuriste Burlesque - Spectacle musico-théatral comique]

Amicale du Mekanik Metal Disco : http://ammd.net
[Asso loi 1901 promouvant les musiques éclectiques via l'open-music]

L'Entremetteur : http://entremetteur.ammd.net
[Réseau indépendant de groupes en France]

Tél : 02 43 82 72 48


   __
 /   Chiffrez et signez vos messages  \
|Utilisez les clés GnuPG   |
|  |
|HOWTO :   |
|  http://vilya.org/gpg/gpg-intro.html |
 \ __ /
   ==


signature.asc
Description: Digital signature


[emacs] mode html et php ? (voire MySQL)

2005-11-25 Thread Aurelien
Salut !

Bon, je codais tous mes sites (valides w3c) avec vim, car il gérait très
bien la dualité php/html dans un seul et même fichier, et gérait pas
trop mal éventuellement l'ajout de SQL à l'intérieur (je parle en termes
de coloration syntaxique).
Mais v'là-t-il pas qu'il a décidé de ne plus vouloir garder
l'indentation quand je vais à la ligne, et ça ne me plaît pas.
Comme ça fait un moment que je veux passer à emacs pour ça, j'ai été
chercher des modes :

php-elist
html-helper-mode

et M-x me donne un html-mode aussi.

Mais j'aimerais trouvé un mode qui me permettent d'avoir à la fois php
html et sql de colorisé.
Est-ce que ça existe ? Est-ce qu'on peut lancer plusieurs modes en même
temps ?

Merci d'avance !

-- 
==
ORL (alias Yvette H.)


   __
 /   Chiffrez et signez vos messages  \
|Utilisez les clés GnuPG   |
|  |
|HOWTO :   |
|  http://vilya.org/gpg/gpg-intro.html |
 \ __ /
   ==


-- 
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [emacs] mode html et php ? (voire MySQL)

2005-11-25 Thread Jérôme Besnard
mmm.el devrait etre ton ami... cela etant c'est un peu le bordel a utiliser.

On 11/25/05, Aurelien [EMAIL PROTECTED] wrote:
 Salut !

 Bon, je codais tous mes sites (valides w3c) avec vim, car il gérait très
 bien la dualité php/html dans un seul et même fichier, et gérait pas
 trop mal éventuellement l'ajout de SQL à l'intérieur (je parle en termes
 de coloration syntaxique).
 Mais v'là-t-il pas qu'il a décidé de ne plus vouloir garder
 l'indentation quand je vais à la ligne, et ça ne me plaît pas.
 Comme ça fait un moment que je veux passer à emacs pour ça, j'ai été
 chercher des modes :

 php-elist
 html-helper-mode

 et M-x me donne un html-mode aussi.

 Mais j'aimerais trouvé un mode qui me permettent d'avoir à la fois php
 html et sql de colorisé.
 Est-ce que ça existe ? Est-ce qu'on peut lancer plusieurs modes en même
 temps ?

 Merci d'avance !

 --
 ==
 ORL (alias Yvette H.)
 

__
  /   Chiffrez et signez vos messages  \
 |Utilisez les clés GnuPG   |
 |  |
 |HOWTO :   |
 |  http://vilya.org/gpg/gpg-intro.html |
  \ __ /
==


 --
 Pensez à lire la FAQ de la liste avant de poser une question :
 http://wiki.debian.net/?DebianFrench

 Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]





Re: [emacs] mode html et php ? (voire MySQL)

2005-11-25 Thread pascal

Aurelien a écrit :

Salut !

Bon, je codais tous mes sites (valides w3c) avec vim, car il gérait très
bien la dualité php/html dans un seul et même fichier, et gérait pas
trop mal éventuellement l'ajout de SQL à l'intérieur (je parle en termes
de coloration syntaxique).
Mais v'là-t-il pas qu'il a décidé de ne plus vouloir garder
l'indentation quand je vais à la ligne, et ça ne me plaît pas.
Comme ça fait un moment que je veux passer à emacs pour ça, j'ai été
chercher des modes :

php-elist
html-helper-mode

et M-x me donne un html-mode aussi.

Mais j'aimerais trouvé un mode qui me permettent d'avoir à la fois php
html et sql de colorisé.
Est-ce que ça existe ? Est-ce qu'on peut lancer plusieurs modes en même
temps ?

Merci d'avance !


Emacs ou Xemacs ?
En ce qui concerne html et php tu as l' html mode de luxe :)

http://www.emacswiki.org/cgi-bin/wiki/HtmlModeDeluxe

Mais pour ce qui est du sql, là tu sautes de mode et je ne connais pas 
de mode commun avec les deux autres.


A +
Pascal

--
Haut par-dessus leur tête voguaient les blanches sculptures
des nuages, comme en la cervelle de Michel-Ange des volutes
de concept.
M. Lowry



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [emacs] mode html et php ? (voire MySQL)

2005-11-25 Thread Aurelien
On Fri, Nov 25, 2005 at 05:27:59PM +0100, Jérôme Besnard wrote :
 mmm.el devrait etre ton ami... cela etant c'est un peu le bordel a utiliser.

Bah en fait, j'ai essayé d'avoir le mode HtmlDeluxe (c'est-à-dire une
combinaison de mmm-mode psgml-mode php-mode et css-mode), mais le souci
c'est que ça ne marche pas en console.
Je ne sais pas si ça vient des couleurs choisies par défaut ou si le
mode complet ne peut pas fonctionner en console.
Comme je suis une buse en lisp (et c'est peu dire), j'avance à petits
pas (rien que le copier/coller du HtmlDeluxe dans mon .emacs a fait des
erreurs, et je galère pour les trouver ).
Pour info, ça vient de là :
http://www.emacswiki.org/cgi-bin/wiki/HtmlModeDeluxe



 
 On 11/25/05, Aurelien [EMAIL PROTECTED] wrote:
  Salut !
 
  Bon, je codais tous mes sites (valides w3c) avec vim, car il gérait très
  bien la dualité php/html dans un seul et même fichier, et gérait pas
  trop mal éventuellement l'ajout de SQL à l'intérieur (je parle en termes
  de coloration syntaxique).
  Mais v'là-t-il pas qu'il a décidé de ne plus vouloir garder
  l'indentation quand je vais à la ligne, et ça ne me plaît pas.
  Comme ça fait un moment que je veux passer à emacs pour ça, j'ai été
  chercher des modes :
 
  php-elist
  html-helper-mode
 
  et M-x me donne un html-mode aussi.
 
  Mais j'aimerais trouvé un mode qui me permettent d'avoir à la fois php
  html et sql de colorisé.
  Est-ce que ça existe ? Est-ce qu'on peut lancer plusieurs modes en même
  temps ?
 
  Merci d'avance !
 
  --
  ==
  ORL (alias Yvette H.)
  
 
 __
   /   Chiffrez et signez vos messages  \
  |Utilisez les clés GnuPG   |
  |  |
  |HOWTO :   |
  |  http://vilya.org/gpg/gpg-intro.html |
   \ __ /
 ==
 
 
  --
  Pensez à lire la FAQ de la liste avant de poser une question :
  http://wiki.debian.net/?DebianFrench
 
  Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:
 
  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
  with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 
 
 

-- 
==
ORL (alias Yvette H.)

Responsable internet de l'AMMD

Sebkha-Chott : http://sebkhachott.net
[Mekanik Metal Disco]
[Peplum Neo-Futuriste Burlesque - Spectacle musico-théatral comique]

Amicale du Mekanik Metal Disco : http://ammd.net
[Asso loi 1901 promouvant les musiques éclectiques via l'open-music]

L'Entremetteur : http://entremetteur.ammd.net
[Réseau indépendant de groupes en France]

Tél : 02 43 82 72 48


   __
 /   Chiffrez et signez vos messages  \
|Utilisez les clés GnuPG   |
|  |
|HOWTO :   |
|  http://vilya.org/gpg/gpg-intro.html |
 \ __ /
   ==


-- 
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [emacs] mode html et php ? (voire MySQL)

2005-11-25 Thread Aurelien
On Fri, Nov 25, 2005 at 05:57:30PM +0100, pascal wrote :
 Emacs ou Xemacs ?
 En ce qui concerne html et php tu as l' html mode de luxe :)
 
 http://www.emacswiki.org/cgi-bin/wiki/HtmlModeDeluxe
 
 Mais pour ce qui est du sql, là tu sautes de mode et je ne connais pas 
 de mode commun avec les deux autres.

Bah en fait j'ai deux (trois) reproches à faire à HtmlModeDeluxe :

1. je trouve que psgml est moins adapté au html que html-helper-mode
(c'est mon avis, ça n'engage que moi !)

2. En console, aucune coloration ne se fait (si ce n'est le background
sur les zones php, mais j'aime autant l'enlever, parce qu'il est gore,
et surtout de la même couleur que le texte !!!)

(3. Il y a une ligne comme quoi il faut customiser le groupe php sur la
page mentionnée au dessus, et cette ligne ne fonctionne pas depuis une
bonne demie-heure que je suis dessus grr !)

 
 A +
 Pascal

-- 
==
ORL (alias Yvette H.)

Responsable internet de l'AMMD

   __
 /   Chiffrez et signez vos messages  \
|Utilisez les clés GnuPG   |
|  |
|HOWTO :   |
|  http://vilya.org/gpg/gpg-intro.html |
 \ __ /
   ==


-- 
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re: [emacs] mode html et php ? (voire MySQL)

2005-11-25 Thread Aurelien
Une petite précision pour donner l'ampleur du problème.
J'utilise gettext et php pour assurer que mes sites soient multilingues.
Ca veut dire que les fichiers que le navigateur va afficher sont
nécessairement avec une extension php, et surtout qu'il comporte
énormément et très ponctuellement du php dans du html, type :

h1?php echo _('Sebkha-Chott and the strolling world of Ohreland');?/h1

Du coup, il faut que j'ai quelque chose qui soit propre, mais au-delà de
ça qui réagisse bien et vite.
J'ai rencontré quelques déconvenues avec HtmlModeDeluxe car il lui faut
parfois du temps (ou alors passer plusieurs fois sur une zone) pour
qu'il colorise correctement certaines parties (notamment celles comme
ci-dessus).

-- 
==
ORL (alias Yvette H.)

Responsable internet de l'AMMD

Sebkha-Chott : http://sebkhachott.net
[Mekanik Metal Disco]
[Peplum Neo-Futuriste Burlesque - Spectacle musico-théatral comique]

Amicale du Mekanik Metal Disco : http://ammd.net
[Asso loi 1901 promouvant les musiques éclectiques via l'open-music]

L'Entremetteur : http://entremetteur.ammd.net
[Réseau indépendant de groupes en France]

Tél : 02 43 82 72 48


   __
 /   Chiffrez et signez vos messages  \
|Utilisez les clés GnuPG   |
|  |
|HOWTO :   |
|  http://vilya.org/gpg/gpg-intro.html |
 \ __ /
   ==


-- 
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [emacs] mode html et php ? (voire MySQL)

2005-11-25 Thread Florent Bayle
Le Vendredi 25 Novembre 2005 16:54, Aurelien a écrit :
 Salut !

 Bon, je codais tous mes sites (valides w3c) avec vim, car il gérait très
 bien la dualité php/html dans un seul et même fichier, et gérait pas
 trop mal éventuellement l'ajout de SQL à l'intérieur (je parle en termes
 de coloration syntaxique).
 Mais v'là-t-il pas qu'il a décidé de ne plus vouloir garder
 l'indentation quand je vais à la ligne, et ça ne me plaît pas.
[...]

Les logiciels n'ont pas de conscience...
:set ai nopaste ts=4 sw=4 cindent

-- 
Florent

-- Citation aléatoire --
L'homme croit en la pérennité de la mémoire et en la possibilité de 
réparer. C'est doublement faut, car rien ne se répare et tout s'oublie.
La réparation est l'oubli.
-+- Milan Kundera (1929-) -+-


pgpjYdjUPCna9.pgp
Description: PGP signature


Wordpress, php und mysql

2005-10-18 Thread Volker Katz
Moin,
ich versuche gerade mein Test-Wordpress auf meinen Server umzuziehen. Nur 
leider klappt das nicht so, wie ich mir das Vorgestellt habe. Im Moment hängt 
es wohl irgendwie an der Kombination von php und mysql (beides meine 
Spezialgebiete ;-).
Wenn ich Wordress per Browser aufrufe, bekomme ich folgende Meldung:
Your PHP installation appears to be missing the MySQL which is required for 
WordPress.
Ich habe mysql-server, php4 und php4-mysql installiert. Das Modul php4 ist im 
Apache enabled. 

Ich habe versucht der Sache auf den Grund zu gehen und habe die Code-Zeile, in 
der der Fehler produziert wird, gefunden:
if ( !extension_loaded('mysql') )
Tja, nur leider komme ich damit auch nicht weiter... habt Ihr da einen Tip für 
mich?

Gruß  Danke
  Volker



Re: Wordpress, php und mysql

2005-10-18 Thread Klaus Zerwes

Volker Katz wrote:

Moin,
ich versuche gerade mein Test-Wordpress auf meinen Server umzuziehen. Nur 
leider klappt das nicht so, wie ich mir das Vorgestellt habe. Im Moment hängt 
es wohl irgendwie an der Kombination von php und mysql (beides meine 
Spezialgebiete ;-).

Wenn ich Wordress per Browser aufrufe, bekomme ich folgende Meldung:
Your PHP installation appears to be missing the MySQL which is required for 
WordPress.
Ich habe mysql-server, php4 und php4-mysql installiert. Das Modul php4 ist im 
Apache enabled. 

Ich habe versucht der Sache auf den Grund zu gehen und habe die Code-Zeile, in 
der der Fehler produziert wird, gefunden:

if ( !extension_loaded('mysql') )
Tja, nur leider komme ich damit auch nicht weiter... habt Ihr da einen Tip für 
mich?


Gruß  Danke
  Volker


extension=mysql.so in der php.ini?
apache neu gestartet nach der installation von php4-mysql?

--
Klaus Zerwes
http://www.zero-sys.net


--
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/


Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Wordpress, php und mysql

2005-10-18 Thread Volker Katz
Moin,
Am Dienstag, 18. Oktober 2005 14:39 schrieb Klaus Zerwes:
  Ich habe mysql-server, php4 und php4-mysql installiert. Das Modul php4
  ist im Apache enabled.
 
  Ich habe versucht der Sache auf den Grund zu gehen und habe die
  Code-Zeile, in der der Fehler produziert wird, gefunden:
  if ( !extension_loaded('mysql') )
  Tja, nur leider komme ich damit auch nicht weiter... habt Ihr da einen
  Tip für mich?
 
  Gruß  Danke
    Volker

 extension=mysql.so in der php.ini?
 apache neu gestartet nach der installation von php4-mysql?
mein Fehler war wohl, dass ich nur den Apachen neu gestartet habe und nicht 
mysql!

Gruß  Danke
  Volker



Re: Wordpress, php und mysql

2005-10-18 Thread Christian Correus
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 extension=mysql.so in der php.ini?
 apache neu gestartet nach der installation von php4-mysql?
 
 mein Fehler war wohl, dass ich nur den Apachen neu gestartet habe und nicht 
 mysql!
 
 Gruß  Danke
   Volker

Der MySQL-Server hat doch nix mit der php{3,4,5}-mysql extension zu
tuen, jedenfalls waere mir das neu. ;)

Gruß,
chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)

iD8DBQFDVRebNNQK9O2o5QgRAnAHAJ9U2Vj3YLuWszkN58QVAk+/hQ+5SwCfc4ii
mXza9LRhhOwxRd7phihB0Tw=
=nV5e
-END PGP SIGNATURE-


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



update php snort-mysql et acidlab

2005-06-03 Thread pascal

Bonjour

Suite à l'installation de libphp-adodb sous testing j'ai eu un message 
d'avertissement disant que le chemin d'include de php avait changé et 
que l'on devait modifier le php.ini (/usr/lib/adodb -- /usr/share/adodb)
Ma question est simpleComment modifier ce fichier car je ne vois 
aucune ligne décommentée faisant allusion à un chemin d'include mais 
seulement la ligne suivante  qui semble être concernée :

extension=odbc.so

D'autre part, l'utilisation d'acid (excepté la page home) me renvoie 
assez systématiquement une floppée d'erreurs (bon, error-reporting est à 
E_ALL dans php.ini mais quand meme) :
Uninitialized string offset: 1 
in/usr/share/acidlab/acid_state_citems.inc on line 553

et d'autres semblables.
Quelqu'un a une idée de la provenance de ces erreurs et comment les 
corriger ?

Merci
Pascal
--
Pour voir le monde dans un grain de sable
 Et les cieux dans une fleur
 Capturez l'infinité dans la paume de votre main
 Et l'éternité dans une heure. William Blake



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Debian Sarge + Apache2 + Php¿5? + MySql

2005-04-11 Thread Homer simpson
Muy buenas a todos, empecemos por el comienzo.

Instalé Apache2 (apt-get), todo correcto, funcionaba. Mi idea era
poner php para luego añadir MySQL

Y es aquí cuando lo matan:
Lei en la web de php.org que no se llevan bien Apache2 y php5: que
sería mejor poner la version 4... aún así lo intenté con la 5 por ver
que pasaba.

Todos los paquetes descargados de sus webs oficiales, para recompilarlos
Primero necesitaba reconfigurar Apache: ./configure --enable-so, make,
make install.
Segundo: Parece que Apache funciona, pero al ponerle el php5 ( ó el 4
que puse más tarde), la cosa se tuerce y me dice que hay modulos
duplicados (apt-get install apache2-mod-php4 o algo asi)... total que
tengo un jaleo montado de tres pares de narices..
El servidor funciona, pero no creo que esta sea la mejor manera:
ficheros .conf y modules en varios directorios que no creo que sean
los suyos

¿Alguien podría indicarme los directorios de configuración (más
habituales) de todos y cada uno de los ficheros que tenga que tocar?

Por favor ya he visto google y leido mucho, me gustaria que alguien
desde la experiencia y sus peleas me ayudara (a mi me funciona pero no
creo que sea la mejor forma tal cual está ahora).

Cualquier ayuda o manual, específico para estas versiones por favor me
vendría de perlas.

gracias y un saludo.



Hospedagem gratuita com PHP e MySql

2004-11-04 Thread URI SANTIAGO

Bom dia!

Eu estou procurando um site bom para hospedagem gratuita e com suporte 
PHP e MySql.


Alguém pode me indicar algum?

Muito Obrigado...

Rogério.




Re: Hospedagem gratuita com PHP e MySql

2004-11-04 Thread Christian Reichel
lycos.co.uk

Em Qui, 2004-11-04 às 09:43, URI SANTIAGO escreveu:
 Bom dia!
 
 Eu estou procurando um site bom para hospedagem gratuita e com suporte 
 PHP e MySql.
 
 Alguém pode me indicar algum?
 
 Muito Obrigado...
 
 Rogério.
-- 
Atenciosamente,


   .,p***=b.
  ?P  .__ `*b   Christian Reichel
 |P  .d?'`, 9|  Tecnologia
 M:  |}   |- H'  Aberium Desenvolvimento de Softwares Ltda.
 |  `#?_._oH'   +55-11-5853-22-64
 `H.   ``' [EMAIL PROTECTED]
  `#?.
`^~.




problem with php and mysql

2004-01-29 Thread Raul
Hi

Debian stable
Updated up to 29-01-2004

8--
zzz:/# apache-sslctl start
PHP Warning:  Unable to load dynamic library '/usr/lib/php4/20010901/mysql.so' - 
/usr/lib/libmysqlclient.so.10: symbol errno, version GLIBC_2.0 not defined in file 
libc.so.6 with link time reference in Unknown on line 0
Reading key for server luna.luzcon.com:443
Launching... /usr/lib/apache-ssl/gcache
pid=3935
/usr/sbin/apache-sslctl start: httpsd started
-8
i'm forgetting something?


Thanks :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problem with php and mysql

2004-01-29 Thread federico silva
Hi,
what are your sources? ( in /etc/apt/sources.list )


fede


On Thursday 29 January 2004 14:54, Raul wrote:
 Hi

 Debian stable
 Updated up to 29-01-2004

 8--
 zzz:/# apache-sslctl start
 PHP Warning:  Unable to load dynamic library
 '/usr/lib/php4/20010901/mysql.so' - /usr/lib/libmysqlclient.so.10: symbol
 errno, version GLIBC_2.0 not defined in file libc.so.6 with link time
 reference in Unknown on line 0 Reading key for server luna.luzcon.com:443
 Launching... /usr/lib/apache-ssl/gcache
 pid=3935
 /usr/sbin/apache-sslctl start: httpsd started
 -8
 i'm forgetting something?


 Thanks :)

-- 
Entia non sunt multiplicanda praeter necessitatem
( http://en2.wikipedia.org/wiki/Occam's_Razor )

+--+
| gpg public key : http://giskard.homelinux.com/~f/tulkas.asc  |
+--+ 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[off-topic] php+apache+mysql

2003-08-13 Thread Guilherme Mesquita Gondim
Opa gente!

Instalei os seguintes pacotes:

php4
php4-mysql
mysql-server, mysql-client (é necessário os dois?)
e apache

E agora? Como configuro o Apache e o PHP para que eu visualize, pelo meu
próprio pc, páginas em php? Fiz um exemplo e o browser quer baixá-lo,
mesmo ativando algumas coisas que encontrei em uma apostila de PHP
(Aplicações web em php) da CIPSGA, mas só que nela ensina como
configurar no Win, mas dava para ter uma idéia de como configurar os
arquivos httpd.conf e php.ini... ou errei algum caminho ou esqueci de
algo, alguém pode me ajudar a configurar no Debian?

Abraços,
semente


 .''`.  Guilherme Mesquita Gondim - semente
: :'  : [EMAIL PROTECTED]  UIN(ICQ#) 22721986
`. `'`  GNU/Linux User #307581, Debian User Brasil #625
  `-GROSSERIA.org: sem educação o caralho!

 Movido a Debian GNU/Linux e anarquismo!
 # apt-get install anarchism



Re: [off-topic] php+apache+mysql

2003-08-13 Thread Marcio de Araujo Benedito

Guilherme Mesquita Gondim wrote:

Opa gente!

Instalei os seguintes pacotes:

php4
php4-mysql
mysql-server, mysql-client (é necessário os dois?)
e apache

E agora? Como configuro o Apache e o PHP para que eu visualize, pelo meu
próprio pc, páginas em php? Fiz um exemplo e o browser quer baixá-lo,
mesmo ativando algumas coisas que encontrei em uma apostila de PHP
(Aplicações web em php) da CIPSGA, mas só que nela ensina como
configurar no Win, mas dava para ter uma idéia de como configurar os
arquivos httpd.conf e php.ini... ou errei algum caminho ou esqueci de
algo, alguém pode me ajudar a configurar no Debian?


Edite o /etc/apache/httpd.conf e descomente a linha

LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

(pode haver alguma diferenca, mas e algo assim) e depois restarte o apache.

Alem disso, o diretorio de desenvolvimento tem de estar no 
/etc/apache/httpd.conf e no /etc/php4/apache/php.ini.


[]'s
--

Outgoing mail is certified Windows Free
checked by Debian GNU/Linux http://www.debian.org.

free your computer and your soul will follow...

Nada estraga tanto uma confissao quanto o arrependimento.
-- Anatole France



Re: [off-topic] php+apache+mysql

2003-08-13 Thread Still
Guilherme;

O básico é vc modificar as linhas referentes ao mysql e php4 no 
/etc/apache/http.conf Depois disso, dar um /etc/init.d/apache restart
Daí é só apontar o seu navegador para http://localhost/qualquercoisa.php

[]'s,

Still

* Dizem que Guilherme Mesquita Gondim tentou dizer:
 Opa gente!
 
 Instalei os seguintes pacotes:
 
 php4
 php4-mysql
 mysql-server, mysql-client (é necessário os dois?)
 e apache
 
 E agora? Como configuro o Apache e o PHP para que eu visualize, pelo meu
 próprio pc, páginas em php? Fiz um exemplo e o browser quer baixá-lo,
 mesmo ativando algumas coisas que encontrei em uma apostila de PHP
 (Aplicações web em php) da CIPSGA, mas só que nela ensina como
 configurar no Win, mas dava para ter uma idéia de como configurar os
 arquivos httpd.conf e php.ini... ou errei algum caminho ou esqueci de
 algo, alguém pode me ajudar a configurar no Debian?
--
Nelson Luiz Campos | I hear; I forget.
Engenheiro Eletricista | I see; I remember.
Linux User #89621 UIN 11464303 | I do; I understand.
gnupgID: 55577339  | Chinese Proverb


pgpSVTxQdWNEF.pgp
Description: PGP signature


Re[2]: Jak ustawic PHP zeby MYSQL chodzilo ??? HELP

2003-05-22 Thread okus
Dzieki, za rady, dalem se rade, wszystko yuz chodzi!!
Pozdrawiam

Tuesday, May 20, 2003, 10:30:50 PM, you wrote:


MM - Original Message -
MM From: okus [EMAIL PROTECTED]
MM To: debian-user-polish@lists.debian.org
MM Sent: Tuesday, May 20, 2003 7:39 PM
MM Subject: Re: Jak ustawic PHP zeby MYSQL chodzilo ??? HELP




  PHP samo chodzi, ale nie wiem jak stworzyc ta baze :

  Przede wszystkim się nie śpieszyć. Opisz dokładnie swój problem wraz z
  opisem zainstalowanej dystrybucji.


 Tak, wiec po tym jak uporalem sie z uprawnieniami, do katalogow i
 plikow temat  Apache + mysql czego mi brak ??? pare dni wczesniej,
 wystapil nowy problem, biore sobie otwieram */frum/install.php i pyta
 mnie o pare szczegolow, :

 Basic Configuration
 Default board language:  Polish
 Database Type: MySQL 4.x
 Choose your installation method: Install
 Database Configuration
 Database Server Hostname / DSN:  10.0.0.1
 Your Database Name: mysql
 Database Username:  mysql
 Database Password:
 Prefix for tables in database:   phpbb_ (tak jest od razu
MM Po peirwsze poczytaj plik INSTALL lub readme od tego forum
MM po drugie zaloz jakas baze (w sieci opisow zatrzesienie) jaesli chcesz
MM tworzyc tabele od tego forum w bazie mysql to gratuluje pomyslu ;-)
MM po trzecie jak zrobisz pierwsze 2 wez sie za plik config.php lub
MM config.inc.php wyedyduj co trzeba
MM po 4 zaloz usera z ograniczonymi prawami (man mysql)
MM po 5 wlacz i uzywaj






-- 
Best regards,
 okusmailto:[EMAIL PROTECTED]



Re: Jak ustawic PHP zeby MYSQL chodzilo ??? HELP

2003-05-20 Thread Ryszard Ratajczak

Andrzej Wolski wrote:

Zainstalować php(3/4)-mysql, skoro chodzi php i mysql a nie potrafią sie 
dogadać. 

vi /etc/apache/http.conf  :)))  (kilka razy instalowalem ta trojke 
apach-php-mysql i za kazdym razem musialem recznie poprawiac ten pliczek)





Re: Jak ustawic PHP zeby MYSQL chodzilo ??? HELP

2003-05-20 Thread Andrzej Wolski
Dnia wto 20. maja 2003 15:32, Ryszard Ratajczak napisał:
 Andrzej Wolski wrote:
 Zainstalować php(3/4)-mysql, skoro chodzi php i mysql a nie potrafią sie
 dogadać.

 vi /etc/apache/http.conf  :)))  (kilka razy instalowalem ta trojke
 apach-php-mysql i za kazdym razem musialem recznie poprawiac ten pliczek)

ano miałem to samo :-)

-- 
Pozdrawiam,
.: Andrzej Wolski :.: [EMAIL PROTECTED] :.
.: jid:[EMAIL PROTECTED] :.: gg:444931 :.: icq:8628388 :.



Re: Jak ustawic PHP zeby MYSQL chodzilo ??? HELP

2003-05-20 Thread okus


 PHP samo chodzi, ale nie wiem jak stworzyc ta baze :

 Przede wszystkim się nie śpieszyć. Opisz dokładnie swój problem wraz z
 opisem zainstalowanej dystrybucji.


Tak, wiec po tym jak uporalem sie z uprawnieniami, do katalogow i
plikow temat  Apache + mysql czego mi brak ??? pare dni wczesniej,
wystapil nowy problem, biore sobie otwieram */frum/install.php i pyta
mnie o pare szczegolow, :

Basic Configuration
Default board language:  Polish
Database Type: MySQL 4.x
Choose your installation method: Install
Database Configuration 
Database Server Hostname / DSN:  10.0.0.1
Your Database Name: mysql
Database Username:  mysql
Database Password:   
Prefix for tables in database:   phpbb_ (tak jest od razu nie
zmieniam)
Admin Configuration 
Admin Email Address: [EMAIL PROTECTED]
Domain Name: localhost
Server Port: 80
Script path: /~okus/forum/
Administrator Username: root
Administrator Password:haslo
Administrator Password [ Confirm ]:  haslo

przy czym zaznaczam ze defaultowo zainstalowany jest serwer mysql,
php4-mysql i nie wiem jak to ze soba zgadac, bo po kliknieciu install
wywala :
Wystąpił błąd podczas instalacji
Konfiguracja php na serwerze nie obsługuje wybranej bazy danych

Dystrybucja wiadomo Debian 3 Woody, atualnie stabilny na servach ftp :P

 vi /etc/apache/http.conf  :)))  (kilka razy instalowalem ta trojke
 apach-php-mysql i za kazdym razem musialem recznie poprawiac ten pliczek)
tak, poprawilem to co tyczy php, a w opisach wyczytalem ze mam
wyedytowac plik php.ini, ale u mnie slabo angielskie :) :P i nic tam
nie kumam, wiec musze prosic o pomoc :(
Opisow znalazlem mnostwo ale albo sa niedokladne albo po angielski :P

Domyslam sie ze musze stworzyc jakas baze o nazwie np: forum, bo forum
chyba samo jej nie tworzy, a jak tworzy to jako jaki user, i czy root
tez jest administratorem tejze bazy :P



Re: Jak ustawic PHP zeby MYSQL chodzilo ??? HELP

2003-05-20 Thread Mariusz Markowski

- Original Message -
From: okus [EMAIL PROTECTED]
To: debian-user-polish@lists.debian.org
Sent: Tuesday, May 20, 2003 7:39 PM
Subject: Re: Jak ustawic PHP zeby MYSQL chodzilo ??? HELP




  PHP samo chodzi, ale nie wiem jak stworzyc ta baze :

  Przede wszystkim się nie śpieszyć. Opisz dokładnie swój problem wraz z
  opisem zainstalowanej dystrybucji.


 Tak, wiec po tym jak uporalem sie z uprawnieniami, do katalogow i
 plikow temat  Apache + mysql czego mi brak ??? pare dni wczesniej,
 wystapil nowy problem, biore sobie otwieram */frum/install.php i pyta
 mnie o pare szczegolow, :

 Basic Configuration
 Default board language:  Polish
 Database Type: MySQL 4.x
 Choose your installation method: Install
 Database Configuration
 Database Server Hostname / DSN:  10.0.0.1
 Your Database Name: mysql
 Database Username:  mysql
 Database Password:
 Prefix for tables in database:   phpbb_ (tak jest od razu
Po peirwsze poczytaj plik INSTALL lub readme od tego forum
po drugie zaloz jakas baze (w sieci opisow zatrzesienie) jaesli chcesz
tworzyc tabele od tego forum w bazie mysql to gratuluje pomyslu ;-)
po trzecie jak zrobisz pierwsze 2 wez sie za plik config.php lub
config.inc.php wyedyduj co trzeba
po 4 zaloz usera z ograniczonymi prawami (man mysql)
po 5 wlacz i uzywaj




Debian unofficial repositories w/ Apache 2.0.44/PHP 4.3.1/MySQL 4.0.12

2003-03-20 Thread Ryan Aligen




Hello, this is my first time on this list. I was just wondering if there are 
any repositories with these packages or if I will have to compile them 
manually.

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian unofficial repositories w/ Apache 2.0.44/PHP 4.3.1/MySQL 4.0.12

2003-03-20 Thread Nathan E Norman
On Thu, Mar 20, 2003 at 03:48:19AM -0800, Ryan Aligen wrote:
 
 Hello, this is my first time on this list. I was just wondering if there 
 are any repositories with these packages or if I will have to compile them 
 manually.

Check out http://www.apt-get.org/ .  If you don't find what you want,
I guess you'll be building you're own packages.

BTW, no need to mention this is your first time on the list.  We
really don't care :-)  Most of us just want to answer intelligent
questions; see

  http://www.catb.org/~esr/faqs/smart-questions.html#intro

for details.

Have fun with debian!

 _
 STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
 http://join.msn.com/?page=features/junkmail

*gack*

-- 
Nathan Norman - Incanus Networking mailto:[EMAIL PROTECTED]
  If you don't know what your program is supposed to do, you'd
  better not start writing it.
  -- Edsger Dijkstra


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[OT] Servidores gratuitos con php y mysql.

2003-03-10 Thread Javier Velasco
 Hace tiempo alguien dio en la lista, una lista de
servidores gratuitos con php y mysql, pero no
encuentro el msg en lo web de debian. Alguien podria
remandar o dar informacion de donde buscar.
 Muchas gracias a todos, y perdon por el off-topic.

___
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es



Re: [OT] Servidores gratuitos con php y mysql.

2003-03-10 Thread vicisoft
Aquí podeis encontrar algunos servidores gratuitos que soportan PHP
http://www.phpnuke-hispano.com/modules.php?name=TopHosting

Saludos
www.vicisoft.es.mn



PHP y MySql

2002-11-28 Thread Esteban Garcia Cuesta
  Hola, 
Necesito montar una pagina con PHP para realizar consultas contra una
base de datos MySql, la duda que tengo es como habro la conexion con la
base de datos desde mi programa PHP  para modificar u obtener los datos??
 Muchas gracias de antemano.
  Esteban.





Re: PHP y MySql

2002-11-28 Thread Héctor Andrés Rompato Carricart

Esteban Garcia Cuesta wrote:

 Hola, 
   Necesito montar una pagina con PHP para realizar consultas contra una

base de datos MySql, la duda que tengo es como habro la conexion con la
base de datos desde mi programa PHP  para modificar u obtener los datos??
Muchas gracias de antemano.
 Esteban.




 

Primero: es abro, sin h; segundo: en el manual de php (que está en 
castellano y lo podés bajar desde php.net) te explica todo

También está la documentación en tu propia máquina.

--
 Héctor Andrés Rompato Carricart [EMAIL PROTECTED]
 COVIARES/COVIMET
 Departamento de equipos de peaje

 Av. España y Autopista, Quilmes (1878)
 Buenos Aires, Argentina







Re: PHP y MySql

2002-11-28 Thread Javier Jiménez Huedo
Me parece que fue el jue, 28 de nov de 2002, a las 10:35, cuando  Esteban 
Garcia Cuesta me dijo:
   Hola, 
 Necesito montar una pagina con PHP para realizar consultas contra una
 base de datos MySql, la duda que tengo es como habro la conexion con la
 base de datos desde mi programa PHP  para modificar u obtener los datos??

int mysql_connect([string hostname [:puerto] [:/camino/al/socket] [,string 
usuario [,string passwd]]])

Ejemplo :

$db = mysql_connect (localhost,pedro,mipasswd) or die(No puedo 
conectar);

Puedes mirar lo que quieras en http://www.php.net
Y el manual en : http://www.php.net/manual/en/


Salud2.
-- 
   /*\   
  (*) Mas vale pajaro en mano que vaya mano que tiene el pajaro (*)
 (*)=(*)
(*)Fco. Javier Jiménez Huedo\||/  (*)   
(*)Server:OLYMPUSO (0  0) (*)
 (*) Linux user: 279082   ---oOo(..)oOo---   (*)
  (*)  WWW.BODEGAX.COM \..  (*)
   \*/


pgp6FzSEtN8c8.pgp
Description: PGP signature


Re: PHP y MySql

2002-11-28 Thread Esteban Garcia Cuesta

On Thu, 28 Nov 2002, Javier Jiménez Huedo wrote:

 Me parece que fue el jue, 28 de nov de 2002, a las 10:35, cuando  Esteban 
 Garcia Cuesta me dijo:
Hola, 
  Necesito montar una pagina con PHP para realizar consultas contra una
  base de datos MySql, la duda que tengo es como habro la conexion con la
  base de datos desde mi programa PHP  para modificar u obtener los datos??
 
 int mysql_connect([string hostname [:puerto] [:/camino/al/socket] [,string 
 usuario [,string passwd]]])
 
 Ejemplo :
 
   $db = mysql_connect (localhost,pedro,mipasswd) or die(No puedo 
 conectar);
 
 Puedes mirar lo que quieras en http://www.php.net
 Y el manual en : http://www.php.net/manual/en/

Muchas gracias, en esta direccion he encontrado lo que estaba buscando,
viene como realizar una conexion a mysql y realizar una consulta. Pongo el
enlaze exacto donde esta el codigo para conexion y consulta con PHP y
mysql por si a alguien le hace falta.
   Saludos y gracias.
Esteban.

http://www.php.net/manual/en/ref.mysql.php


  
 
 Salud2.
 -- 
/*\   
   (*) Mas vale pajaro en mano que vaya mano que tiene el pajaro (*)
  (*)=(*)
 (*)Fco. Javier Jiménez Huedo\||/  (*)   
 (*)Server:OLYMPUSO (0  0) (*)
  (*) Linux user: 279082   ---oOo(..)oOo---   (*)
   (*)  WWW.BODEGAX.COM \..  (*)
\*/
 



cherche script php pour mysql/xmms/grip

2002-10-23 Thread ttv
Bonjour,
un titre quelque peu confus sans doute;
voici donc mes besoins détaillés d'une manière + explicite :

j'utilise grip pour rip + encode en ogg et aussi récup titres avec freedb
puis xmms pour la lecture.
je cherche un outil simple pour archiver et classer ces titres :
mysql me conviendrai tout à fait ... mais avec un script (php par
exemple) pour récupérer les infos trouvées sur freedb.freedb.org par
grip ou celles que j'entre manuellement.

qui peut m'indiquer url ?
merci
philippe



Re: cherche script php pour mysql/xmms/grip

2002-10-23 Thread Lucas Moulin
On Wed, 23 Oct 2002 10:24:00 +0200
ttv [EMAIL PROTECTED] wrote:

 Bonjour,
 un titre quelque peu confus sans doute;
 voici donc mes besoins détaillés d'une manière + explicite :
 
 j'utilise grip pour rip + encode en ogg et aussi récup titres avec
 freedb puis xmms pour la lecture.
 je cherche un outil simple pour archiver et classer ces titres :
 mysql me conviendrai tout à fait ... mais avec un script (php par
 exemple) pour récupérer les infos trouvées sur freedb.freedb.org par
 grip ou celles que j'entre manuellement.
 
apt-cache search mp3 database : 
mp3kult - Organizes your MP3 collection in a MySQL database
-- 
Lucas Moulin [EMAIL PROTECTED]
I wish I had a shilling for every senseless killing, I'd buy a
government -- NOFX



Re: IMP / Horde / php / Pear / MySQL

2002-10-10 Thread Mike Egglestone

Hi,
I had similar problems at first too.
I used postgresql instead of mysql and it works for me.
To make a long story short...
I installed all related packages from sid. (I did one at a time)
apache, php4, postgresql, horde2, imp3 etc etc.
I think the only .deb that stayed woody was imapd and exim.
I used apt's pinning to accomplish this, thus keeping my server mostly woody. 
There's info all over google for this
or ask here if your unfamiliar with pinning.

After, everything was installed I needed to configure
the database manually. There's 5 tables that need to be entered.
4 from horde2 and 1 from turba. (grab these from the /usr/share/doc)
Once you get http://yourserver.com/horde2/test.php to work then your on your 
way.

Don't give up!
She'll come.

Cheers,
Mike


Quoting Joyce, Matthew [EMAIL PROTECTED]:

 
 I while back I attempted to install IMP webmail, however I got into an awful
 mess with mysql passwords and eventually gave up.
 
 Has anyone managed to get the latest IMP version (www.horde.org/imp) working
 on Debian ?
 
 Can anyone give me some advice as the sequence of installing all the various
 components ?
 
 Can anyone give me any step by step instructions or, preferably, some idiot
 proff documention.
 
 Thanks
 
 Matt
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 
 




-
This mail sent through IMP: http://horde.org/imp/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: IMP / Horde / php / Pear / MySQL

2002-10-10 Thread Alvaro Figueroa

 Has anyone managed to get the latest IMP version (www.horde.org/imp) working
 on Debian ?

I'm trying to make the debian (sarg) imp packages to work, but as I've
found, there are a couple of very important bugs for imp as well as
php4-imap that just wont let me run imp.

Actually, on this ultrasparc box I'm running I can't even run apache
after installing php4-imap :(.

I'm still a little new to debian, so I'm still reading about the Policy,
and bug submit information, but I'll try to report/fix the problem ASAP.

 Can anyone give me any step by step instructions or, preferably, some idiot
 proff documention.

Since we are using a distribution, probably the easyest way of building
and idiot proff documentation, is a. fixing the packages, and b. saying
just apt-get install imp :)

-- 
Alvaro Figueroa



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




RE: IMP / Horde / php / Pear / MySQL

2002-10-10 Thread Joyce, Matthew

Yes, apt-get install imp would be great.

I think I will use quirrelmail until then, I really did not have any fun
with imp before.

Matthew Joyce



-Original Message-
From: Alvaro Figueroa [mailto:[EMAIL PROTECTED]] 
Sent: Friday, 11 October 2002 1:53 AM
To: 'Debian User List'
Subject: Re: IMP / Horde / php / Pear / MySQL


 Has anyone managed to get the latest IMP version (www.horde.org/imp) 
 working on Debian ?

I'm trying to make the debian (sarg) imp packages to work, but as I've
found, there are a couple of very important bugs for imp as well as
php4-imap that just wont let me run imp.

Actually, on this ultrasparc box I'm running I can't even run apache after
installing php4-imap :(.

I'm still a little new to debian, so I'm still reading about the Policy, and
bug submit information, but I'll try to report/fix the problem ASAP.

 Can anyone give me any step by step instructions or, preferably, some 
 idiot proff documention.

Since we are using a distribution, probably the easyest way of building and
idiot proff documentation, is a. fixing the packages, and b. saying just
apt-get install imp :)

-- 
Alvaro Figueroa



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Host Php y mysql ??

2002-09-11 Thread [EMAIL PROTECTED]
Conocen algun free host con soporte para php y mysql recomendable; gracias

Daniel A. Cabello
San Rafael -Mendoza-Argentina



Problemas com PHP e MySQL

2002-08-13 Thread Giuliano Cardozo Medalha

Pessoal,

Estou tendo problemas com o PHP para acesso a base MySQL

A seguinte mensagem de erro aparece:

Warning: Failed opening '/var/www/html/connect.php' for inclusion 
(include_path='.:/usr/local/lib/php') in Unknown on line 0


O que poderia ser ?

Obrigado

Giuliano



Re: Problemas com PHP e MySQL

2002-08-13 Thread Rafael Jannone
On Tue, 13 Aug 2002 18:44:00 -0300
Giuliano Cardozo Medalha [EMAIL PROTECTED] wrote:

 Pessoal,
 
 Estou tendo problemas com o PHP para acesso a base MySQL
 
 A seguinte mensagem de erro aparece:
 
 Warning: Failed opening '/var/www/html/connect.php' for inclusion 
 (include_path='.:/usr/local/lib/php') in Unknown on line 0
 
 O que poderia ser ?

verifique as permissoes do arquivo connect.php

-- 
Rafael Jannone   Just remember: wherever you go, __O
ICQ # 10115284   there you are _`\,_
Computacao @ UFRGS  ..(*)/ (*)
Porto Alegre/RS Brasil  Debian GNU/Linux (Woody) .. www.debian.org



Problema PHP y Mysql

2001-02-20 Thread David Felipe Arias Ochoa
mi apache nada mas ve los .php* que esta en /var/www quiero sabe como
puedo hacer para que vea las otras carpetas ej /var/www/php/e.php



PHP, Apache, MySql Intermittent errors

2000-11-24 Thread Dave Whiteley
Any Clues anyone?

I am using a potato installation. I have apt/dselect installed apache, PHP4 and
am running mysqld on another networked machine.

I have updated the etc/php4/apache/php.ini file to include the mysql.so
extension. 

I have also included a default mysqlserver, username and password in php.ini,
to allow others to write pages that access some read only database tables
without needing to know this data.

I find that my code will SOMETIMES fail if I use mysql_connect() or
mysql_pconnect() without arguments relying on the values in php.ini. I see an
error message of the form 
   Access denied for user: '@localhost' to database 'databasename'
where 'databasename is passed to mysql_db_query().

It fails perhaps once out of four tries.

If I supply the hostname, username and password to mysql_pconnect() then it
seems to work correctly. (I have tried tens of times without a failure.)

Any Ideas anyone?

Dave Whiteley

--
E-Mail: Dave Whiteley [EMAIL PROTECTED]
Date: 24-Nov-2000
Time: 11:17:13
Phone: 0113 233 2059

This message has been disinfected. 

It does not contain the Linux .sig virus.
--



Php-Roxen-Mysql

2000-11-01 Thread Eileen Orbell

Hi,

I am new to Roxen.  My setup is Debian which a mysql database and php 
installed.  I want to be able to config php with Roxen.  I have Roxen 
installed.  My question is really how to add php as a module to Roxen?


Thanks


Eileen Orbell
Software  Internet Applications
Capitol College
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
Don't Fear the Penguin.





Re: Php-Roxen-Mysql

2000-11-01 Thread Martin Bialasinski
* Eileen == Eileen Orbell [EMAIL PROTECTED] wrote:

Eileen My question is really how to add php as a module to Roxen?

The php4 module doesn't really work for anything more than trivial
things yet.

However, the cgi version of php works nicely. Install it, then


1.) Add the following modules: 

- CGI executable support 
- PATH_INFO support 
- Redirect Module v2.0 

2.) Put the php3.cgi binary in your /cgi-bin/ directory. 

3.) Add the following redirect pattern in the Redirect Module: 

/(.*)\.php3(.*)$  /cgi-bin/php3.cgi/$1.php3$2

Ciao,
Martin



Re: PHP with MySQL

2000-06-01 Thread John Pearson
On Thu, Jun 01, 2000 at 03:17:53AM +, Thiago wrote
 I'm tring ti use PHP with MySQL, 
 but every time I receive this message!
 Fatal error: Call to unsupported or undefined function mysql_connect() in
 /www/http/mysql_test.php3 on line 12
 
 How do I recompile the PHP to enable MySQL support?
 Thaks!
 

You shouldn't need to.

If you have php3 (not php3-cgi) installed:
  - Install php3-mysql;
  - Ensure that the line
extension=mysql.so
appears in /etc/php3/apache/php3.ini
  - Stop  re-start apache.

If you're using php3-cgi:
  - Install php3-cgi-mysql;
  - Ensure that the line
extension=mysql.so
appears in /etc/php3/cgi/php3.ini


HTH,


John P.
-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mdt.net.au/~john Debian Linux admin  support:technical services



Re: PHP with MySQL

2000-06-01 Thread Viktor Rosenfeld
John Pearson wrote:

 You shouldn't need to.
 
 If you have php3 (not php3-cgi) installed:
   - Install php3-mysql;
   - Ensure that the line
 extension=mysql.so
 appears in /etc/php3/apache/php3.ini
   - Stop  re-start apache.
 
 If you're using php3-cgi:
   - Install php3-cgi-mysql;
   - Ensure that the line
 extension=mysql.so
 appears in /etc/php3/cgi/php3.ini

As an alternative:

Try adding dl(mysql.so) to your php files *before* any MySQL commands
are called.

If that doesn't do the trick, you're missing some debs.

MfG Viktor
-- 
Viktor Rosenfeld
E-Mail: mailto:[EMAIL PROTECTED]
or: mailto:[EMAIL PROTECTED]
HertzSCHLAG:http://www.informatik.hu-berlin.de/~rosenfel/hs/



PHP with MySQL

2000-05-31 Thread Thiago
I'm tring ti use PHP with MySQL, 
but every time I receive this message!
Fatal error: Call to unsupported or undefined function mysql_connect() in
/www/http/mysql_test.php3 on line 12

How do I recompile the PHP to enable MySQL support?
Thaks!


HISS - Hackers Internet Security Services
www.hacker.com.br



Re: PHP with MySQL

2000-05-31 Thread Andrei Ivanov
You need to install php-cgi and php-cgi-mysql packages.Actually that
did not help me, so I downloaded and build php from source.
Andrei

-
 Andrei S. Ivanov  
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 http://arhses.dyndns.org   -|
 http://scorpio.dynodns.net -|
 http://scorpio.myip.org-|   --All the pages bundled together.
 UIN 12402354

 For GPG key, go to above URL/GnuPG
-



Re: php with mysql support

1997-11-01 Thread Hamish Moffatt
On Sat, Nov 01, 1997 at 09:17:01AM +0100, Egon Schmid wrote:
 Hamish Moffatt wrote:
  Has anyone got a debian package or suitable binarymodule of
  phpfi with mysql support? The debian package doesn't include it
 
 In the new alpha php3 source there is no option to compile ELF dynamic 
 loading,
 so the libphp.a is ok. The alpha version produce a libphp3.a and not compiling
 for an apache module you get php.cgi (respective php3.cgi).

Do you mean that the php3 alpha will not make an Apache module?
Apache modules seem to be the only way to handle .phtml files,
rather than referring to everything as /cgi-bin/php.cgi/path,
which seems messy to me. PTS, the package I am trying to install,
expects .phtml support built in.

  I need PHP with some database support to try out pts, a problem
  tracking database. pts supports msql, mysql, and Postgresql;
  the first two are non-free so they won't be in the PHP module, and we don't
  even have a package of the third yet do we?
 
 Good, but Postgres95 is in a debian package. I use the newer PostgreSQL v
 6.2.1.

But I don't think the postgresql code which PTS includes will work
on postgres95. I did get postgresql compiled ok but installing it looked
very messy.

 
 Please don´t throw him through the window, try ´type cvs´ and if he says ´cvs
 is /usr/bin/cvs´ than let him checkout the apachen and php3 cvs tree an you
 will be up.

thanks Egon, I will try this.


hamish


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


php with mysql support

1997-11-01 Thread Hamish Moffatt
Has anyone got a debian package or suitable binarymodule of
phpfi with mysql support? The debian package doesn't include it
for licensing reasons (mysql is non-free) but I've spent hours and
hours trying to recompile it myself and I'm about ready to throw my computer
through the window ...

Recompiling the php from original source, I tell it I want an Apache
module for ELF dynamic loading, and all I get is libphp.a, not a .so.
Editing the php package Makefile, I can include mysql support (I think);
the final module either complains that it can't find mysql_connect,
or it tries to segfault the whole server.

I need PHP with some database support to try out pts, a problem
tracking database. pts supports msql, mysql, and Postgresql;
the first two are non-free so they won't be in the PHP module, and we don't
even have a package of the third yet do we?

When I use just a php.cgi binary, Apache tells me I can't post into
.phtml files, which IS support.

Please help, I'm on the secondary storey and the computer won't survive ..
hamish
-- 
Hamish Moffatt, StudIEAust  [EMAIL PROTECTED], [EMAIL PROTECTED]
Student, computer science  computer systems engineering.3rd year, RMIT.
http://hamish.home.ml.org/ (PGP key here) CPOM: [* ] 58%
Your train has been cancelled due to defective government at Spring Street..


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .