[PHP-INST] PHP, apache and windows xp installation problem

2002-09-27 Thread Anna Wagg
Hi all, My name is Anna. Could anyone help me to get working apache with php. I got the apache server working with no problems. However when I try to configure PHP as a module in Apache, I cannot start the apache server again. I am getting the following message: “The requested operation has fa

Re: [PHP-INST] PHP showing as Plain text in browser- PHP-Apache-RedHat

2002-09-27 Thread Trevor Smith
Very nice, that fixed it. Thanks everyone for all the help. Miguel Carvalho wrote: >I, > > >>I think the LoadModule and AddModule are correct. >> >> >>LoadModule php4_modulemodules/libphp4.so >> >> >> >>AddModule mod_php4.c >> >> >> >> > >Seams right to me. > > > >>and I install

[PHP-INST] CGI install of php-4.2.3

2002-09-27 Thread Brenden Brassard
I have compiled php-4.2.3 with the following paramaters: ./configure --with-mssql=/usr/local/ftds --with-sybase=/usr/local/ftds --with-mysql When trying to run a php script from the command line I get "PHP Warning: Function registration failed - duplicate name - mysql_connect in Unknown on

RE: [PHP-INST] PHP showing as Plain text in browser- PHP-Apache-Red Hat

2002-09-27 Thread Jens Rosenthal
Not necessarily... Does your Apache startscript start apache with "-DHAVE_PHP4"? Simple workaround for this would be to strip the lines "" and "" from the file. Without these lines the PHP module is loaded (if it exists in the right directory) even with a slightly cracked startscript. -Ursp

Re: [PHP-INST] Setting up a web server wit Redhat 7.3

2002-09-27 Thread Chris Hewitt
Peter Goggin wrote: >I dont know if this is the right list. >I have set up redhat 7.3, apache, mysql and php. >I can connect to my mysql users from the command line. I am now trying to >get the connections via web pages to work properly. . >There is however error which I do not undertand. > >War

RE: [PHP-INST] PHP showing as Plain text in browser- PHP-Apache-Red Hat

2002-09-27 Thread Moraes, Fabio
1 - try using absolute path to libphp4.so instead of relative 2 - use slackware, this solution never fails ! ;D regards, --- Fabio Moraes [EMAIL PROTECTED] +55 21 3088 9548 > -Original Message- > From: Trevor Smith [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 27, 2002 11:

Re: [PHP-INST] PHP showing as Plain text in browser- PHP-Apache-Red Hat

2002-09-27 Thread Wilfredo I. Pachón López
You needd to add the lines: AddType application/x-httpd-php .php .php4 .php3 .phtml AddType application/x-httpd-php-source .phps Att: ,, / \ ((__-^^-,-^^-__)).-. `-_---' `---_-' Wilfredo I. Pachón López /v\ `

Re: [PHP-INST] PHP showing as Plain text in browser- PHP-Apache-RedHat

2002-09-27 Thread Trevor Smith
I think the LoadModule and AddModule are correct. LoadModule php4_modulemodules/libphp4.so AddModule mod_php4.c and I installed from an rpm binary not source. Guess I will have to go back and do it from source. Jens Rosenthal wrote: >Hi, > >do you have a line "LoadModule php4

RE: [PHP-INST] Setting up a web server wit Redhat 7.3

2002-09-27 Thread Moraes, Fabio
1 - this is not the right list :) but ... mysql_close() needs an argument. this argument is the result of mysql_connect(). mysql_fetch_array() needs the result of funcstions like mysql_query(), mysql_db_query() etc. these functions execute something and return the "result", handle it to a variabl

[PHP-INST] Setting up a web server wit Redhat 7.3

2002-09-27 Thread Peter Goggin
I dont know if this is the right list. I have set up redhat 7.3, apache, mysql and php. I can connect to my mysql users from the command line. I am now trying to get the connections via web pages to work properly. . There is however error which I do not undertand. Warning: No MySQL-Link resource

RE: [PHP-INST] PHP showing as Plain text in browser- PHP-Apache-Red Hat

2002-09-27 Thread Jens Rosenthal
Hi, do you have a line "LoadModule php4 ..." and "AddModule mod_php4.c" in your httpd.conf? Most likely you didn't activate the module so the fragment below doesn't do anything.. Otherwise did you compile the php4 module into apache? Jens -Ursprüngliche Nachricht- Von: Trevor Smith [mai

php-install Digest 27 Sep 2002 13:13:05 -0000 Issue 1042

2002-09-27 Thread php-install-digest-help
php-install Digest 27 Sep 2002 13:13:05 - Issue 1042 Topics (messages 8583 through 8586): Re: Loads of Trouble: PHP installed as CGI on Unix 8583 by: Chris Hewitt what do you think? 8584 by: Arminas PHP showing as Plain text in browser- PHP-Apache-Red Hat 8585 by:

RE: [PHP-INST] PHP showing as Plain text in browser- PHP-Apache-Red Hat

2002-09-27 Thread Moraes, Fabio
check your LoadModule directive. bye, --- Fabio Moraes [EMAIL PROTECTED] +55 21 3088 9548 > -Original Message- > From: Trevor Smith [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 27, 2002 9:59 AM > To: [EMAIL PROTECTED] > Subject: [PHP-INST] PHP showing as Plain text in bro

[PHP-INST] PHP showing as Plain text in browser- PHP-Apache-Red Hat

2002-09-27 Thread Trevor Smith
As the subject says I have apache running on redhat and anything using php simply shows the Plain text code when I view it through a web browser. My AddType's from httpd.conf: AddType application/x-httpd-php .php .php4 .php3 .phtml AddType application/x-httpd-php-source .phps

[PHP-INST] what do you think?

2002-09-27 Thread Arminas
about http://smanager.web1000.com/ -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-INST] Loads of Trouble: PHP installed as CGI on Unix

2002-09-27 Thread Chris Hewitt
Serbinski, Theodore S wrote: >I did try this: > >AddType application/x-httpd-php .php > >But that didn't seem to work, even after restarting PHP. I am assuming I >need to tell Apache where the PHP executable is and to use that for *.php. >But I don't know how to do that since I installed PHP as a