PHP, MySQL and Apache

PHP, MySQL and Apache

am 27.02.2006 16:07:11 von Kinfe Tadesse

Hi all,

I intend to create a database to be accessed from a voice application. I
plan to use MySQL as a database engine and PHP as a scripting language to
generate dynamic VoiceXML documents. However, I have two questions I could
not get answers to:
1. Do I need to install Apache to work with MySQL and PHP? In other words,
can MySQL and PHP work together without Apache. Note: The database and the
application are on the same machine for the timebeing.
2. What database API should be used? I recently read about MyODBC. But many
standard books skip this part as if PHP and MySQL have something natural to
talk to eachother without requiring anything like ODBC, etc.

Your answers to these questions are highly appreciated!

Best regards,

Kinfe T.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: PHP, MySQL and Apache

am 27.02.2006 16:18:25 von MIGUEL ANTONIO GUIRAO AGUILAR

Answer 1. No, you do not need Apache. You could be using IIS along with PHP
and MySQL if that is what you need! But talking about natural relationships,
there is nothing better that the great combitation formed by XAMP.

Answer 2. There is a MySQL API specially done for PHP, so there is no need
to use another different API. Search for functions like mysql_pconnect(),
mysql_select_db(), mysql_query() and related functions on the php web site.

Chicolinux!!

-----Original Message-----
From: Kinfe Tadesse [mailto:tadesse@iesk.et.uni-magdeburg.de]
Sent: Lunes, 27 de Febrero de 2006 09:07 a.m.
To: php-db@lists.php.net
Subject: [PHP-DB] PHP, MySQL and Apache


Hi all,

I intend to create a database to be accessed from a voice application. I
plan to use MySQL as a database engine and PHP as a scripting language to
generate dynamic VoiceXML documents. However, I have two questions I could
not get answers to:
1. Do I need to install Apache to work with MySQL and PHP? In other words,
can MySQL and PHP work together without Apache. Note: The database and the
application are on the same machine for the timebeing.
2. What database API should be used? I recently read about MyODBC. But many
standard books skip this part as if PHP and MySQL have something natural to
talk to eachother without requiring anything like ODBC, etc.

Your answers to these questions are highly appreciated!

Best regards,

Kinfe T.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Este mensaje es exclusivamente para el uso de la persona o entidad a quien esta dirigido; contiene informacion estrictamente confidencial y legalmente protegida, cuya divulgacion es sancionada por la ley. Si el lector de este mensaje no es a quien esta dirigido, ni se trata del empleado o agente responsable de esta informacion, se le notifica por medio del presente, que su reproduccion y distribucion, esta estrictamente prohibida. Si Usted recibio este comunicado por error, favor de notificarlo inmediatamente al remitente y destruir el mensaje. Todas las opiniones contenidas en este mail son propias del autor del mensaje y no necesariamente coinciden con las de Radiomovil Dipsa, S.A. de C.V. o alguna de sus empresas controladas, controladoras, afiliadas y subsidiarias. Este mensaje intencionalmente no contiene acentos.

This message is for the sole use of the person or entity to whom it is being sent. Therefore, it contains strictly confidential and legally protected material whose disclosure is subject to penalty by law. If the person reading this message is not the one to whom it is being sent and/or is not an employee or the responsible agent for this information, this person is herein notified that any unauthorized dissemination, distribution or copying of the materials included in this facsimile is strictly prohibited. If you received this document by mistake please notify immediately to the subscriber and destroy the message. Any opinions contained in this e-mail are those of the author of the message and do not necessarily coincide with those of Radiomovil Dipsa, S.A. de C.V. or any of its control, controlled, affiliates and subsidiaries companies. No part of this message or attachments may b
e used or reproduced in any manner whatsoever.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: PHP, MySQL and Apache

am 27.02.2006 18:02:03 von Luis M Morales C

Hi kinfe,

To connect to myql from php you only need build your php with mysql
support.

Now, for render vxml documents you are using apache o IIS ?=20

I recommend LAMP (Linux+Apache+Myql+Php)

Regards,

Luis Morales=20



On Mon, 2006-02-27 at 16:07 +0100, Kinfe Tadesse wrote:
> Hi all,
>=20
> I intend to create a database to be accessed from a voice application. I=20
> plan to use MySQL as a database engine and PHP as a scripting language to=
=20
> generate dynamic VoiceXML documents. However, I have two questions I coul=
d=20
> not get answers to:
> 1. Do I need to install Apache to work with MySQL and PHP? In other word=
s,=20
> can MySQL and PHP work together without Apache. Note: The database and th=
e=20
> application are on the same machine for the timebeing.
> 2. What database API should be used? I recently read about MyODBC. But ma=
ny=20
> standard books skip this part as if PHP and MySQL have something natural =
to=20
> talk to eachother without requiring anything like ODBC, etc.
>=20
> Your answers to these questions are highly appreciated!
>=20
> Best regards,
>=20
> Kinfe T.=20
>=20
--=20
------------------------------------------------------------ ---------------=
------
Luis Morales=20
Consultor de Tecnologia
Cel: +(58)416-4242091
------------------------------------------------------------ ---------------=
------
"Empieza por hacer lo necesario, luego lo que es posible... y de pronto
estarás haciendo lo imposible"
------------------------------------------------------------ ---------------=
------

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php