[PHP-DB] Apache+PHP+MySQL installation at once - HOW?
Hi, I want to install this great trio Apache+PHP+MySQL and don't want it install step by step, program by program. I remember, that I saw somewhere some prepared package for very fast and comfortable installation of these three at once. Don't you now where I can find it? Thanks Vojtech -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DB] installing PHP4 with sybase-ct
Hi, I tried to install PHP4 on our Solaris box. ./configure --with-nsapi=path of iPlanet --enable-libgcc --with-mysql=/usr/local/mysql --enable-track-vars --enable-short-tags --enable-asp-tags --with-sybase-ct=/usr/local/freetds When running configure, I got the following error: checking whether the C++ compiler (c++ -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3 -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.3 -R/usr/local/mysql/lib -L/usr/local/mysql/lib -R/usr/local/freetds/lib -L/usr/local/freetds/lib) works... no configure: error: installation or configuration problem: C++ compiler cannot create executables. Is this a problem with the C++ compiler? But I already installed Gcc-2.95.3 from sunfreeware.com. Do I need to install anything else? Thanks, Lester -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Apache+PHP+MySQL installation at once - HOW?
I remember, that I saw somewhere some prepared package for very fast and comfortable installation of these three at once. Don't you now where I can find it? Thanks I think you wanna be going to: http://www.phpgeek.com/phptriad.php Good luck! Russ. On Fri, 4 May 2001 09:45:41 +0200 Vojtech Dvorak [EMAIL PROTECTED] wrote: Hi, I want to install this great trio Apache+PHP+MySQL and don't want it install step by step, program by program. I remember, that I saw somewhere some prepared package for very fast and comfortable installation of these three at once. Don't you now where I can find it? Thanks Vojtech -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] #---# Believe nothing - consider everything Russ Michell Anglia Polytechnic University Webteam e: [EMAIL PROTECTED] w: www.apu.ac.uk/webteam t: +44 (0)1223 363271 x 2331 www.theruss.com #---# -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DB] The Dreaded Oracle 8 TNS:ORA-12154 Connection Error
I am running PHP 4.0.4pl1 in CGI mode on Windows NT4 SP6, using Apache or IIS Web Server's. I am concentrating on Apache for this problem as it is identical irrespective of the Web Server. I'm using one of the simplest possible connection mechanisms ... if ($conn=Ora_Logon(user@mydatabase,pass)) { echo SUCCESS ! Connected to database\n; Ora_Logoff($conn); } else { echo Failed :-( Could not connect to database\n; } This works fine if PHP is run as an apache module but fails with the message Warning: Oracle: Connection Failed: ORA-12154: TNS:could not resolve service name in c:\program files\apache group\apache\htdocs\ora.php on line 10 When Apache is re-configured to run PHP as CGI (other html on the same page suce as phpinfo() shows up just fine). At first I thought the Apache user may have been affecting privileges but the Apache User option doesn't work under Windows I even tried running Apache as a service using the Administrator account - no change. Have tried environment paths to ORACLE_HOME, TNS_PATH etc. etc. etc. all to no avail. We use sqlnet.ora with an oracle name server. I have to use CGI as PHP4 isn't to production level for use as a Filter with IIS corporate policy dictates that I must prove PHP against ASP on the existing IIS server before I can even attempt using Apache. I would greatly appreciate any construction :-) advise anyone can offer. Regards, Paul Shortis -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] mp3 upload????
On Thu, May 03, 2001 at 06:44:38PM -0400, Kelvin wrote: Hi, I want to setup a upload program thats only allow MP3 file type. So, this is my coding under the file . if ($imgfile_type == audio/mp3) .. ... But when I upload my song, it said mp3 is not the format type What should I do? Please help. I will be very appreciate. Print out $imgfile_type to see what it is. -- Jason Stechschulte [EMAIL PROTECTED] -- No, I'm not going to explain it. If you can't figure it out, you didn't want to know anyway... :-) -- Larry Wall in [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Oracle 8i + PHP4: character set
On Fri, May 04, 2001 at 03:50:34PM +0200, Stefan Fokuhl wrote: Hello, I do have a little tiny problem with the character set. If I try to insert a word containing an german umlaut by a php-script, Oracle strips the seventh bit. I.e. ä becomes a d. In PHP the SQL statement is written correctly. Facts: 1. I use Oracle 8i. The DB is made with the we8iso8859p1 option. 2. The NLS_LANG is set to GERMAN_GERMANY.WE8ISO8859P1 3. SQLPLUS works fine. make sure to set NLS_LANG _before_ apache gets started (eg in the /etc/init.d/httpd script). tc -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DB] connection to Oracle 7.3 with ora_logon()
Hello, Newbie to PHP, I try to connect to an Oracle 7.3 database. Is there something special to do to use the oracle functions, as ora_logon?? I obtain a message fatal error : Call to undefined function: ora_logon() SqlNet Client is installed Best regards Philippe -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DB] Migration from OmniHttpd to Apache+PHP HELP Urgent!?!?!?
I have Win NT4.0/SP3 with OmniHttpd as my Web Server for S/W dev. project. It's about Web-Base MS Access Database with ODBC and it's run properly. Recently I decided to use Apache instead. So I remove Omni and install Apache, then PHP. After that I move my program to Apache folder and run. I Found many error that cause from odbc_connect, the error is about this Warning: SQL error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified, SQL state IM002 in SQLConnect in c:\program files\apache group\apache\htdocs\test\odbc.php on line 6 I have try to install MySQL and it's work!!! with mysql_connect there is no further problem. But when I use it via ODBC (MyODBC) it's generate as same as error as mention above. Help m!!! As soon as possible, Thanks. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Oracle 8i + PHP4: character set
I've the same problem, however if I try to set NLS_LANG other than the default I receive a segmentation fault in the apache server (using Linux). Thies C. Arntzen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Fri, May 04, 2001 at 03:50:34PM +0200, Stefan Fokuhl wrote: Hello, I do have a little tiny problem with the character set. If I try to insert a word containing an german umlaut by a php-script, Oracle strips the seventh bit. I.e. ä becomes a d. In PHP the SQL statement is written correctly. Facts: 1. I use Oracle 8i. The DB is made with the we8iso8859p1 option. 2. The NLS_LANG is set to GERMAN_GERMANY.WE8ISO8859P1 3. SQLPLUS works fine. make sure to set NLS_LANG _before_ apache gets started (eg in the /etc/init.d/httpd script). tc -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DB] Apache+PHP+MySQL installation at once - HOW?
Another option is http://www.firepages.com.au/devindex.htm Look for phpdev3: Apache, PHP, MySQL and phpMyAdmin in one zip, for windows platforms. all yours, Roel Mulder At 10:31 04-05-2001 -0500, you wrote: At 9:45 AM +0200 5/4/01, Vojtech Dvorak wrote: Hi, I want to install this great trio Apache+PHP+MySQL and don't want it install step by step, program by program. I remember, that I saw somewhere some prepared package for very fast and comfortable installation of these three at once. Don't you now where I can find it? Thanks Vojtech http://www.nusphere.com/ Paul DuBois, [EMAIL PROTECTED] Mulder Technisch Advies Postbus 69 NL-2740 AB WADDINXVEEN tel. 0182-640184 fax. 0182-640185 http://www.mta.nl -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]