[PHP] HELP ME PLEASE: php not run on IIS 4.0
Hi, Im trying to install PHP 4.1.2 under Windows 2000 Server and IIS 4.0 * If I configure PHP as a MODULE, all run but SESSIONS DON'T WORK * If I configure PHP as a CGI, SESSIONS WORK but ORACLE MODULE for PHP not load Any ideas? Anybody can help me? Advanced thanks, Berli -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Problems installing PHP
Hi again, and thanks. Well, I will try to explain...Im trying to run PHP as a module, but you helped me to use it as a CGI. I installed NTSP 6 on my computer, and reconfigure Apache for execute PHP as a CGI. Now Apache starts so well and i can execute de PHP info() function. Good. But when I tried to execute some old pages, that runs in a Linux platform and in a Win'98 platform, PHP crashes again. Appears again Dr Watson and it say that the PHP.EXE (access infraction) crashes and Apache shows an Internal Server Error. Any ideas? Advanced thanks again, Berli - Original Message - From: DL Neil [EMAIL PROTECTED] To: Berlina [EMAIL PROTECTED]; php-general-list [EMAIL PROTECTED] Sent: Monday, March 11, 2002 6:47 PM Subject: Re: [PHP] Problems installing PHP Hi Berlina, Im trying to install an Apache Web Server and PHP in a Windows NT . * Apache 1.2.23 * PHP 4.1.1 * Windows NT Server 4.0 with SP4 The installation of Apache Web Server and PHP was succesfully ok, but when I configure the PHP and Apache, editing the PHP.ini and httpd.conf files, as installation manual says, was not any problem neither. The problem appears when i try to load a php file with the web server, then shows all the content of a file. The server reads and show the file but not execute it. And, of course I added the lines: LoadModule php4_module PATH/php4apache.dll AddType application/x-httpd-php .php in my httpd.conf file. My (NT) system is Apache 1.3.20, PHP 4.0.6, NTWS 4.0 SP6a Entries in httpd.conf that you didn't mention: ScriptInterpreterSource registry and in: IfModule mod_alias.c ScriptAlias /php/ C:/Program Files/PHP/ later (in addition to what you described) in: IfModule mod_mime.c Action application/x-httpd-php /php/php.exe AddType application/x-httpd-php .php .phtml .php3 .php4 - watch those PATHs!? I'm not sure if any/all of them might be useful to you - I'm no Apache specialist, but I followed the instructions given and everything runs really well. Regards, =dn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Problems installing PHP
Hi again, Im trying to install an Apache Web Server and PHP in a Windows NT . * Apache 1.2.23 * PHP 4.1.1 * Windows NT Server 4.0 with SP4 The installation of Apache Web Server and PHP was succesfully ok, but when I configure the PHP and Apache, editing the PHP.ini and httpd.conf files, as installation manual says, was not any problem neither. The problem appears when i try to load a php file with the web server, then shows all the content of a file. The server reads and show the file but not execute it. And, of course I added the lines: LoadModule php4_module PATH/php4apache.dll AddType application/x-httpd-php .php in my httpd.conf file. Any ideas? Advanced thanks, Berli -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Help on PHP vs JAVA
Hello to everybody, I need some help for writting a comparison of PHP vs JAVA, and of course, I need that PHP wins ;-D Any ideas? Any comparison wrote? Advanced Thanks, F.P. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Sending variables between PHP pages
Hi users, how can I send a connection database variable, from one PHP page to other PHP page, and maintance the database connection open during both pages? Thanks -- PHP General 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] Sending variables between PHP pages
Yes, Im thinking the same... :-(( Thanks again Intruder - Original Message - From: Intruder [EMAIL PROTECTED] To: Berlina [EMAIL PROTECTED]; php-general-list [EMAIL PROTECTED]; php-dev-list [EMAIL PROTECTED]; php-db-list [EMAIL PROTECTED] Sent: Friday, January 04, 2002 12:38 PM Subject: RE: [PHP] Sending variables between PHP pages Yes, thanks a lot, but i need to mantain the connection open for manage a transaction, an everytime that I open a new database connection, the system begins a new transaction and I lose the last one. Do you understand, me? Do you know the way for do that? I think it is imposimble in web applications at all, because there is no persistent connection between db server and web server + PHP service. You can try for example mysql_pconnect() function (or it's analog for your db engine) but still I don't think it is possible ;((( Only applications can make this for you NOT PHP and Web ;((( -- PHP General 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 General 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] Persistent connection to Oracle with OCI
Hi to everybody, Im trying to use persistents connections to an Oracle Database through PHP, for manageing transactions, and have some problems. My Schema: * Web Server: Apache 1.3.22 on a Linux RedHat 7.0 * PHP: 4.1.1 compiled with oracle module functions (OCI*) * Data Base: Oracle 8.1.7 on a Windows NT Server I need to manage transactions to database. For it i made a test pages like this: * 1 index page that generate some frames and open a persistent connection to Oracle * 1 frame that made an insert to one table of the database, and reopen the persistent connection * 1 frame that made an insert to another table of the same database, and reopen the persistent connection * 1 frame with 2 buttons, one for execute a Commit and another for execture a Rollback When i was using the ORA_* functions, some times works well, but other times not work correctly... Now using the OCI* functions dont work. What im doing wrong? Can somebody help me? Avanced thanks -- PHP General 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] Persistent connection to Oracle with OCI
Hi again to everybody, first sorry for my poor english. im trying to use persistents connections to an Oracle Database through PHP, for manageing transactions, and have some problems. My Schema: * Web Server: Apache 1.3.20 on a Linux RedHat 7.0 * PHP: 4.0.6 compiled with oracle module functions (OCI*) * Data Base: Oracle 8.0.5 on a Windows NT Server I need to manage transactions to database. For it i made a test pages like this: * 1 index page that generate some frames and open a persistent connection to Oracle * 1 frame that made an insert to one table of the database, and reopen the persistent connection * 1 frame that made an insert to another table of the same database, and reopen the persistent connection * 1 frame with 2 buttons, one for execute a Commit and another for execture a Rollback When i was using the ORA_* functions, some times works well, but other times not work correctly... Now using the OCI* functions dont work. What im doing wrong? Can somebody help me? Avanced thanks -- PHP General 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] Using persistent connection to database
Hi to everybody, first sorry for my poor english. im trying to use persistents connections to an Oracle Database through PHP, for manageing transactions, and have some problems. My Schema: * Web Server: Apache 1.3.20 on a Linux RedHat 7.0 * PHP: 4.0.6 compiled with oracle module functions (ora_*) * Data Base: Oracle 8.0.5 on a Windows NT Server I need to manage transactions to database. For it i made a test pages like this: 1 index paga that generate some frames and open a persistent connection to the database 1 frame that made an insert to one table of the database 1 frame that made an insert to another table of the same databese 1 frame with 2 buttons, one for execute a Commit and another for execture a Rollback Some times works well, but other times not work correctly... What im doing wrong? Can somebody help me? Avanced thanks -- PHP General 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]