php-install Digest 26 Jul 2003 10:35:25 -0000 Issue 1476
Topics (messages 11343 through 11346):
Re: PHP 5 Beta 1 - mysql 4.0.12 error: "Fatal error: Call to undefined function:
mysql_connect() in D:\pub\mysqltest.php on line 6"
11343 by: Comex
Re: How to make php work with apache
11344 by: Comex
Urgent help reqd: ORA_LOGON failure:
11345 by: agarwal, nitinkumar
Compile problem...
11346 by: Chris Richards
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
<[EMAIL PROTECTED]>
Jeremy Oliver:
>> I have just recently installed PHP beta 5 on Windows XP Pro and I am
>> having problems connecting to mysql, phpinfo() works fine but it
>> looks
>> as though it is not loading any mysql modules even though PHP install
>> file says this is now built in.When I run attached mysql connect
>> test I
>> get error
>>
>> "Fatal error: Call to undefined function: mysql_connect() in
>> D:\pub\mysqltest.php on line 6"
>>
There is no mysql support in PHP5 beta, because of licensing issues. There
will be though in later versions of course!
--- End Message ---
--- Begin Message ---
<[EMAIL PROTECTED]>
Skumar:
> Hello,
> I am newbie to PHP. I have installed php but i don't know, how to
> make it work
> with apache. I will grateful if someone can give some pointersof web
> page or any
> tips.
>
> Thanks
> kumar
First of all, you seem to have hit Reply instead of Create Mail. Second of
all, what operating system are you installing it to?
http://tinyurl.com/i2zu
--- End Message ---
--- Begin Message ---
> Hi,
>
> Could you please help me to correct this problem I'm getting while connecting to
> oracle database from php program.
>
> I have installed
> 1) IIS 5.0 on WIN 2000
> 2) PHP 4.3.2 and
> 3) Oracle Enterprise Edition and Oracle 8i client with Net8 configuarion.
>
> I get an sql prompt upon entering the login and password as scott tiger.
> I am also able to run php programs through my browser.
> But when I try to connect to the oracle database through php prog, I get an error
>
> The prog i run is:
> <?php
> $connection = Ora_Logon ("scott", "tiger");
> if ($connection == false){
> echo "Here is the returned value $connection";
> echo Ora_ErrorCode().": ".Ora_Error()."<BR>";
> exit;
> }
> else
> echo "Successful Logon\n";
> ?>
>
> The output:
> Warning: Oracle: Connection Failed: in c:\inetpub\wwwroot\oratest.php on line 2
> Here is the returned value 0:
> I ran it at the command prompt:
> C:\Inetpub\wwwroot>oratest.php
> <br /><b>Warning</b>: Oracle: Connection Failed: ORA-12560: TNS:protocol adapter
> error
> in <b>C:\Inetpub\wwwroot\oratest.php</b> on line <b>2</b><br />
> Here is the returned value 12560: ORA-12560: TNS:protocol adapter error<BR>
>
>
> Here is the copy of tnsnames.ora and listener.ora file from dir
> D:\oracle\ora81\network\ADMIN
> Listener.ora
> # LISTENER.ORA Network Configuration File: D:\oracle\ora81\network\admin\listener.ora
> # Generated by Oracle configuration tools.
>
> LISTENER =
> (DESCRIPTION_LIST =
> (DESCRIPTION =
> (ADDRESS_LIST =
> (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
> )
> (ADDRESS_LIST =
> (ADDRESS = (PROTOCOL = TCP)(HOST = S2-61-052-33051)(PORT = 1521))
> )
> )
> (DESCRIPTION =
> (PROTOCOL_STACK =
> (PRESENTATION = GIOP)
> (SESSION = RAW)
> )
> (ADDRESS = (PROTOCOL = TCP)(HOST = S2-61-052-33051)(PORT = 2481))
> )
> )
>
> SID_LIST_LISTENER =
> (SID_LIST =
> (SID_DESC =
> (SID_NAME = PLSExtProc)
> (ORACLE_HOME = D:\oracle\ora81)
> (PROGRAM = extproc)
> )
> (SID_DESC =
> (GLOBAL_DBNAME = nitin.tcs)
> (ORACLE_HOME = D:\oracle\ora81)
> (SID_NAME = nitin)
> )
> )
>
>
> tnsnames.ora
> # TNSNAMES.ORA Network Configuration File: D:\oracle\ora81\network\admin\tnsnames.ora
> # Generated by Oracle configuration tools.
>
> INST1_HTTP =
> (DESCRIPTION =
> (ADDRESS_LIST =
> (ADDRESS = (PROTOCOL = TCP)(HOST = S2-61-052-33051)(PORT = 1521))
> )
> (CONNECT_DATA =
> (SERVER = SHARED)
> (SERVICE_NAME = nitin.tcs)
> (PRESENTATION = http://admin)
> )
> )
>
> EXTPROC_CONNECTION_DATA =
> (DESCRIPTION =
> (ADDRESS_LIST =
> (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
> )
> (CONNECT_DATA =
> (SID = PLSExtProc)
> (PRESENTATION = RO)
> )
> )
>
> NITIN =
> (DESCRIPTION =
> (ADDRESS_LIST =
> (ADDRESS = (PROTOCOL = TCP)(HOST = S2-61-052-33051)(PORT = 1521))
> )
> (CONNECT_DATA =
> (SERVICE_NAME = nitin.tcs)
> )
> )
>
> _____________________________
>
> Please suggest what should I do to correct this bug.
>
> Thanks in advance
>
> Regards
> Nitin
>
>
>
--- End Message ---
--- Begin Message ---
Hi Everyone,
I am running FreeBSD 5.0 RELEASE and I am trying to install PHP 4.3.2
but I get the below error right after I start building it.
Has anyone seen this error before?
I appreciate your help.
Regards,
Chris
nemesis# make
gcc -DSUPPORT_UTF8 -DLINK_SIZE=2
-I/tmp/install/php-4.3.2/ext/pcre/pcrelib -Iext/pcre/
-I/tmp/install/php-4.3.2/ext/pcre/ -DPHP_ATOM_INC
-I/tmp/install/php-4.3.2/include -I/tmp/install/php-4.3.2/main
-I/tmp/install/php-4.3.2 -I/tmp/install/php-4.3.2/Zend
-I/usr/local/mysql/include -I/tmp/install/php-4.3.2/ext/xml/expat
-I/tmp/install/php-4.3.2/TSRM -g -O2 -c
/tmp/install/php-4.3.2/ext/pcre/pcrelib/pcre.c -o
ext/pcre/pcrelib/pcre.o && echo > ext/pcre/pcrelib/pcre.lo
/tmp/install/php-4.3.2/ext/pcre/pcrelib/pcre.c:186: `malloc' undeclared
here (not in a function)
/tmp/install/php-4.3.2/ext/pcre/pcrelib/pcre.c:187: `free' undeclared
here (not in a function)
*** Error code 1
Stop in /tmp/install/php-4.3.2.
--- End Message ---