Re: [PHP-INSTALL] Sites not displaying php files, but show the code instead.

2005-08-16 Thread Michael W.
Do PHP pages other than index.php work correctly? The Forbidden error is probably due to "Options FollowSymlinks" not being set. That option has to be turned on for symbolic links to work. Jody Cleveland wrote: Hello, I'm running redhat 4.0 AS server with Apache and php. I have a few sites

Re: [PHP-INSTALL] Problem with PHP5.0.4 and MySQL 4.1.12.a

2005-07-20 Thread Michael W.
Do you have anything in php.ini to load the php_mysql.dll extension? For information about doing that, see http://www.php.net/manual/en/install.windows.extensions.php [EMAIL PROTECTED] wrote: Hi Folks I got a Problem to get MySql started under PHP. My configuration is: OS: XP advanced serve

Re: [PHP-INSTALL] Undefined Variable Problems

2005-07-10 Thread Michael W.
Can you please give an example of one of the messages you got? On Sun, July 10, 2005 1:35 pm, freddy said: > Hi There everyone > > This is my first post here so please forgive me if i don't give all the > information you require... just ask and i will supply. > > Apache 1.3.33-win32 > PHP 4.3.10-w

Re: [PHP-INSTALL] PHP upgrade problem

2005-07-04 Thread Michael W.
Because you are using a CGI version of PHP, you have to edit httpd.conf and find the line that loads PHP (I think it's something like "AddAction application/x-httpd-php /path/to/php", but I'm not sure), and change the path. Have you considered using the shared-module version of PHP? Paul wrot

Re: [PHP-INSTALL] Can't get $_GET to work

2005-06-29 Thread Michael W.
n case it's a keyword clash or something silly like that, the query string has the data there, but $_GET (and $_POST) just don't happen. I'm running out of ideas. Ian - Original Message - From: "Michael W." <[EMAIL PROTECTED]> To: Sent: Wednesday, June 29, 20

Re: [PHP-INSTALL] Can't get $_GET to work

2005-06-29 Thread Michael W.
What version of PHP are you using? Ian Bambury wrote: Thanks for that, unfortunately it hasn't fixed the problem, true though it may be. files now read: name: -- name: Querystring = http://127.0.0.1/b.php?xname=fred ...but still no joy. The "Hello" turn

Re: [PHP-INSTALL] Can't get $_GET to work

2005-06-29 Thread Michael W.
Your problem is that arrays (including $_GET and $_POST) are case-sensitive. Thus, $_GET['name'] is not the same thing as $_GET['Name']. The name of the form field is "Name", so you'd have to use $_GET['Name']. Ian Bambury wrote: Hi Everyone, I'm probably being a bit thick here, but I can't ge

Re: [PHP-INSTALL] Apache related problem with libphp4 on mysql_connect()

2005-06-29 Thread Michael W.
What version of MySQL are you using, and how did you install it? Raf Goetschalckx wrote: Hello, i'm having a problem on my debian box regarding and apache. It's the same problem as described in http://bugs.php.net/bug.php?id=11029 Since no solution is actually given to that bug and they direct

Re: [PHP-INSTALL] Perplexed - wont parse tags in htm

2005-06-28 Thread Michael W.
Did you tell Apache to parse .php files as PHP? (By adding something like "AddType application/x-httpd-php .php" (without the quotes) to httpd.conf) Fred wrote: Apache 2.0.49 (Win32) PHP/5.0.5-dev - XPSP2 New to PHP. I have done everything I think I need to do to get PHP5 working. I can link t

Re: [PHP-INSTALL] Members Support

2005-06-24 Thread Michael W.
Just ignore those emails. They're fake. [EMAIL PROTECTED] wrote: There has been obsolotulely no such emails of viris nature,kindly check you recirds further and confirm same will likely be from other sources.I am sure nothing of that sort from my side. No doubt about it.

Re: [PHP-INSTALL] PHP 4 to 5 Upgrade Issue (plaintext)

2005-06-24 Thread Michael W.
I don't see any line telling it to use /php5/index.php ... Did you tell it to, and if so, how? Mark Galbreath wrote: I need to compare PHP 4 code with PHP 5 interpreter on same machine. I am following the examples in Adam Trachtenberg's Upgrading to PHP 5 (O'Reilly 2004) listed in "Appendix

Re: [PHP-INSTALL] Viruses

2005-06-23 Thread Michael W.
You're not the only one. A spammer has gotten ahold of this list. I don't think there are any moderators, because this has been going on for so long. Unfortunately, the mailing list program strips the emails of their original tracking headers, like Recieved:, so I can't tell where it comes fr

Re: [PHP-INSTALL] Fatal error: Call to undefined function...

2005-06-22 Thread Michael W.
Well, mysql_connect() wouldn't work, because you didn't install the mysql extension. (You installed the mysqli extension instead, so you need to use functions like mysqli_connect() and mysqli_query()). CreateImageTrueColor() is actually supposed to be ImageCreateTrueColor(), but you have to i

Re: [PHP-INSTALL] PHP + IMAP on REDHAT EL 3

2005-06-21 Thread Michael W.
To do it from source, download c-client (from ftp://ftp.cac.washington.edu/imap/), and install it. Then, install PHP from source, and use the --with-imap configure option. Johnny Mnemonic wrote: Anybody knows how i can install php with imap suport??? All is from rpm not tarball

Re: [PHP-INSTALL] can't config with imap

2005-06-19 Thread Michael W.
Try installing c-client from source, specifying a known prefix (such as /usr/local/imap), and then you can tell the PHP configure script to use that install (--with-imap=/usr/local/imap). You can get c-client from ftp://ftp.cac.washington.edu/imap/ (I got that link from the PHP manual's IMAP pa

Re: [PHP-INSTALL] PHP/MYSQL

2005-05-28 Thread Michael W.
Do the mysql_*() functions work anyway? I don't have a mysql.so file on my system, but PHP-MySQL works anyway. I suspect that the mysql extension may have been changed between PHP 4 and PHP 5 so that it no longer needs mysql.so (I have the same versions of Apache, PHP, and MySQL as you do.) R

Re: [PHP-INSTALL] HTTP_GET_VARS

2005-05-23 Thread Michael W.
Use $_GET instead. Mauri Terho wrote: Hello I changed from PHP4 to PHP5.0.4 and now HTTP_GET_VARS does not return the values. What I should do with php.ini-file Mauri Terho ** ABR Innova Oy Mauri Terho Project Engineer Ensimmäinen savu FIN-01510 Vantaa t

Re: [PHP-INSTALL] Problems installing PHP 5 with Apache 2

2005-05-16 Thread Michael W.
I had a similar problem when installing PHP 5. libphp5.so is created by the compilation, but it is not created unless you tell it to. Add the following option to your ./configure command, and it should work: "--with-apxs2=/path/to/apache/bin/apxs" (minus the quotes). StÃphane Bruno wrote: Hell

Re: [PHP-INSTALL] My SQL

2005-05-05 Thread Michael W.
The syntax of mysql_connect() is mysql_connect(host,username,password), so the call would be mysql_connect("localhost", "root", ""); You may be able to find some information about editing php.ini to include MySQL support at http://us4.php.net/mysql (look in the user contributed notes). What OS

Re: [PHP-INSTALL] install problem

2005-04-22 Thread Michael W.
Tell the ./configure script where libxml2 is (--with-libxml-dir=/dir/) James Peterson wrote: when I run a ./configure I eventurelly get the following error checking whether to enable LIBXML support... yes checking libxml2 install dir... no configure: error: xml2-config not found. Please check your

Re: [PHP-INSTALL] re: Getting apache to run the php page

2005-04-21 Thread Michael W.
Try naming it test.php instead of php.test. Apache may be configured to parse *.php files with PHP, but it's almost definitely not for *.test files. Plantier, Spencer wrote: I get the same thing in my browser. http://localhost/php.test html? PHP Test This is an HTML line I gue

Re: [PHP-INSTALL] Dreamweaver - PHP and MySQL "Undefined Error"

2005-04-19 Thread Michael W.
What does line 135 say? J. Castillo wrote: I'm trying to connect to MySQL db from Dreamweaver and after 2 days, I'm starting to loose my pacient. Macromedia blames PHP for any "unexplain" reason why their software might not connect to MySQL. I tried everything they said on their support page an

Re: [PHP-INSTALL] Cannot load /usr/local/apache/libexex/libphp3.so

2005-04-16 Thread Michael W.
If you need help with what the options to ./configure are, type "./configure --help". To configure to work as an Apache module, but not as a CGI binary, use "./configure --with-apxs=/path/to/apache/bin/apxs --disable-cgi". Marty Landman wrote: At 04:19 PM 4/16/2005, Micha

Re: [PHP-INSTALL] Cannot load /usr/local/apache/libexex/libphp3.so

2005-04-16 Thread Michael W.
For one thing, it would be php4_module , libphp4.so , mod_php4.c , application/x-httpd-php , and application/x-httpd-php-source for PHP 4. For another, did you tell PHP to compile an Apache module? You have to have --with-apxs=/path/to/apache/bin/apxs and possibly --disable-cgi in your configur

Re: [PHP-INSTALL] PHP+MYSQL versions

2005-04-16 Thread Michael W.
That depends. Do you have any somewhat legacy PHP applications that need to be able to run? If so, PHP 4, and if not, PHP 5. If you have applications that need mysql_xxx functions, then MySQL 4.0.x, and if not, 4.1.x. Richard Naylor wrote: I am about to install PHP and MYSQL on Windows 2003 ser

Re: [PHP-INSTALL] configure: error: Cannot find OpenSSL's

2005-04-15 Thread Michael W.
What is your configure command? Did you specify the path to OpenSSL? Plantier, Spencer wrote: I am compiling php and I am getting the following error: configure: error: Cannot find OpenSSL's I am running Solaris 9 and have openssl installed and running on apache 2.0.53. Any help would be appreciat

Re: [PHP-INSTALL] Install Problems on Fedora 3

2005-04-09 Thread Michael W.
Did you configure Apache to use PHP? (Done by adding " LoadModule php5_module libexec/libphp5.so" and "AddType application/x-httpd-php .php .phtml" and usually "AddType application/x-httpd-php-source .phps" to httpd.conf). You also have to tell PHP to make an Apache shared file by adding this to c

Re: [PHP-INSTALL] install problems

2005-04-09 Thread Michael W.
Try "bash Mike Volmar wrote: [EMAIL PROTECTED] php-4.3.11]# ./configure : bad interpreter: No such file or directory [EMAIL PROTECTED] php-4.3.11]# Michael W. wrote: Try running './configure' (minus quotes). On Thu, April 7, 2005 8:27 am, Mike Volmar said: Thanks. I tried it.