AW: [PHP-DB] MY sql with PHP
| From: | bemorph | Date: | Sat, 26 Aug 2000 11:09:26 +0000 |
| Subject: | AW: [PHP-DB] MY sql with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13786@lists.php.net to get a copy of this message | ||
i think your php.ini file istn't configured yet:
have you moved your php.ini to your system folder?
I use Windows 98 SE and moved my php.ini into the Windows folder with the
following settings:
My php.exe and all extentsions (php_mysql.dll ...) arestored in this folder:
c:\httpd\php
When you can't see the dlls switch your Windows Explorer to show all files!
Look for the following lines in php.ini:
extension_dir = ./ ; directory in which the loadable extensions (modules)
reside
in this case you have to modify this line to:
extension_dir = c:\httpd\php\ ; directory in which the loadable
extensions (modules) reside
At the beginning all the following lines will look like this:
;Windows Extensions
;extension=php_mysql.dll
;extension=php_nsmail.dll
;extension=php_calendar.dll
;extension=php_dbase.dll
;extension=php_filepro.dll
;extension=php_gd.
If you wan't to use Mysql you have to remove the semicolon to show php that
you wan't to use mysql:
;Windows Extensions
extension=php_mysql.dll
hobe it works
cu
jochen
> -----Ursprüngliche Nachricht-----
> Von: srikanth [mailto:n_srikanth@hotmail.com]
> Gesendet am: Dienstag, 22. August 2000 09:32
> An: php-db@lists.php.net
> Betreff: [PHP-DB] MY sql with PHP
>
> Hi,
>
> We are using ASP with IIS. One month back we came to know
> about PHP. We want to Shift to PHP from ASP. We believe PHP
> with APACHE and MYSQL database in LINUX is the best combination.
> We downloaded and installed apache1.3.22 & PHP3.0.12. But while
> connecting to MYSQL database form PHP it is giving error
> saying
>
> undefined or unknown function mysql_connect
>
> we were trying to solve the problem
> since 15 days. we did't get any solution. please help.
> thank you in advance
>
> best regards
> srikanth
> (programmer MEZZTECH Systems)
>
>
>
>