Date: 05/23/01
- Next message: Torsten Schäfer: "[PHP-INST] Linux SUSE 6.3 (PHP4) >>>>> Windows NT MSSQLServer 7.0"
- Previous message: Jani Taskinen: "Re: [PHP-INST] Can't build PDFlib with PHP successfully"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have a problem with PHP under Linux. I install Apache, PHP-MySQL, MySQL server+client and libphp4 (mod_php).The script:
<?php
echo "Test";
mysql_connect("localhost","user","pass");
?>
display the "Test" but it said that mysql_connect function is undefined.
If I execute the file:
#!/usr/bin/php
<?php
echo "Test";
mysql_connect("localhost","user","pass");
?>
it works. How could I make the first script to run?
Libphp4 is compiled with mysql functions?
Thank you very much for kindness,
Sorin Constantinescu
------------------------------
K Free E-mail http://www.k.ro/
by KappaNet http://www.kappa.ro/
-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-install-unsubscribe <email protected> For additional commands, e-mail: php-install-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Torsten Schäfer: "[PHP-INST] Linux SUSE 6.3 (PHP4) >>>>> Windows NT MSSQLServer 7.0"
- Previous message: Jani Taskinen: "Re: [PHP-INST] Can't build PDFlib with PHP successfully"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

