Re: [PHP-INSTALL] Q: apache 2.2 and php 5.1.2 don't interact properly.

2006-03-17 Thread Brad Kowalczyk
You may also need to enable short tags (ie full tag Cheers, Brad [EMAIL PROTECTED] wrote: Yuo need to add the following to httpd.conf to tell Apache to sent files ending with .php to the php apache server module. AddType application/x-httpd-php .php then if you write a testpage called 'get

Re: [PHP-INSTALL] Q: apache 2.2 and php 5.1.2 don't interact properly.

2006-03-18 Thread Brad Kowalczyk
Vadim Bendebury wrote: - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Friday, March 17, 2006 11:44 PM Subject: Re: [PHP-INSTALL] Q: apache 2.2 and php 5.1.2 don't interact properly. It very well might be (even though if we establish that files with extension .php are

Re: [PHP-INSTALL] PHP apps

2006-05-05 Thread Brad Kowalczyk
e way off here and probably am, seems too obvious, I have never had to deal with a tomcat setup before. Cheers, Brad Kowalczyk

Re: [PHP-INSTALL] PHP apps

2006-05-06 Thread Brad Kowalczyk
Jim Douglas wrote: When I try this, DocumentRoot /usr/opt/tomcat/webapps Alias /myJSPapp /usr/opt/tomcat/webapps/myJSPapp/ Alias /PHPapp1 /usr/opt/tomcat/webapps/PHPapp1/ I can browse www.xxx.org/myJSPapp, no problem When I browse www.xxx.org/PHPapp1 I get a blank screen, "view sourse"

Re: FW: [PHP-INSTALL] Problem installing PHP with system provided HTTP server

2006-12-15 Thread Brad Kowalczyk
logged?? I presume that you are properly restarting the right apache binary? -- Brad Kowalczyk Web Developer www.ibiscode.com 02 63796642

[PHP-INSTALL] Re: Installing PHP5

2004-08-25 Thread Brad Kowalczyk
hi, while searching the archives for a solution to my prob installing php5 on apache2 as a DSO i came across a mail with a similar prob. ie no libphp5.so being created I found this solution and thought I'd share it here for the interested: after running ./configure edit the libtool file and look

Re: [PHP-INSTALL] Configuration Error

2004-08-26 Thread Brad Kowalczyk
en configuring php. -- |^ Brad Kowalczyk |^ Web Developer |^ [EMAIL PROTECTED] |^ www.ibiscode.com smime.p7s Description: S/MIME Cryptographic Signature

Re: [PHP-INSTALL] php5 install problem on OSX 10.3.4

2004-08-26 Thread Brad Kowalczyk
this line in your configure script: --with-apxs=/path/to/apxs if not then you wont get libphp5.so built and installed into the apache directory. -- |^ Brad Kowalczyk |^ Web Developer |^ [EMAIL PROTECTED] |^ www.ibiscode.com smime.p7s Description: S/MIME Cryptographic Signature

Re: [PHP-INSTALL] Upgrading from PHP4 RPMs to PHP5 from source

2004-08-30 Thread Brad Kowalczyk
d your new php5 DSO and replace reference to 'libphp4.so' in httpd.conf with 'libphp5.so'. I like to build php from source so i can configure it the way i like and include the modules i want. -- |> Brad Kowalczyk |> Web Developer |> [EMAIL PROTECTED] |>

Re: [PHP-INSTALL] PHP 4.3.8

2004-09-24 Thread Brad Kowalczyk
solution: after running ./configure edit the libtool file looking for this line: deplibs_check_method="unknown" if it exists change it to : deplibs_check_method="pass_all" then run make install, it worked for me. -- |> Brad Kowalczyk |> Web Developer |> [EMAIL PROTE

Re: [PHP-INSTALL] Readfile

2004-09-25 Thread Brad Kowalczyk
= true; } echo $body_contents; Solution 2 // should extract all text between body tags even if on same line // I'm far from a regex guru so there may well be a better pattern than this :) $file_string = file_get_contents($filename); $file_string = preg_replace("/.+?(.+?)<\/body>.+/

Re: [PHP-INSTALL] PHP5, Apache2, XP, html

2004-10-10 Thread Brad Kowalczyk
seem like a really stupid question; but you are naming the file with a .php extension and not .html? -- |> Brad Kowalczyk |> Web Developer |> [EMAIL PROTECTED] |> www.ibiscode.com smime.p7s Description: S/MIME Cryptographic Signature

Re: [PHP-INSTALL] mod_php3 and PEAR-DB

2004-10-14 Thread Brad Kowalczyk
recompile. I have a feeling you can even just build the CLI on its own. -- |> Brad Kowalczyk |> Web Developer |> [EMAIL PROTECTED] |> www.ibiscode.com smime.p7s Description: S/MIME Cryptographic Signature

Re: [PHP-INSTALL] File not found errors

2004-09-28 Thread Brad Kowalczyk
'include_path' setting in php.ini to find the files. If the php.ini file was replaced with the upgrade you may need to re-add the path to you include files to the 'include_path' setting or make sure all your includes use relative paths (if not already). I hope this helps... Che

Re: [PHP-INSTALL] FW: Problem with exciting PHP code after new install.

2004-10-01 Thread Brad Kowalczyk
_ Additional Information: $add_info _ "; CALL TO FUNCTION THAT SENDS THE MAIL I HAVE IT COMMENTED OUT SO IT DOESNT SEND ONE ACCIDENTALLY sendmail($to, $from,

Re: [PHP-INSTALL] Problems installing PHP..

2004-10-04 Thread Brad Kowalczyk
you have this line in your httpd.conf? AddType application/x-httpd-php .php -- |> Brad Kowalczyk |> Web Developer |> [EMAIL PROTECTED] |> www.ibiscode.com smime.p7s Description: S/MIME Cryptographic Signature

Re: [PHP-INSTALL] mktime ()

2004-10-17 Thread Brad Kowalczyk
nt the timestamp for January 21st, 2004 at 12:30pm and 20 seconds you would do this: Hope this helps... Cheers, Brad -- |> Brad Kowalczyk |> Web Developer |> [EMAIL PROTECTED] |> www.ibiscode.com smime.p7s Description: S/MIME Cryptographic Signature

Re: [PHP-INSTALL] PHP problem

2004-10-30 Thread Brad Kowalczyk
Database: 530 - Release Date: 10/27/2004 Sounds suspiciously like there are php errors occuring. Check the PHP error log or enable error reporting in php.ini -- |> Brad Kowalczyk |> Web Developer |> [EMAIL PROTECTED] |> www.ibiscode.com smime.p7s Description: S/MIME Cryptographic Signature

Re: [PHP-INSTALL] installing php with pear

2004-11-25 Thread Brad Kowalczyk
scripts _before_ you try to use any DB functions. All PEAR packages need to be included or required into your script for you to use their functions, they are not automatically available. Cheers, -- Brad Kowalczyk Web Developer [EMAIL PROTECTED] http://ibiscode.com -- No virus found in this out

Re: [PHP-INSTALL] 4.3.9 build problem - libphp4.so is not created - FreeBSD 4.6.2, Apache 1.3.26

2004-11-27 Thread Brad Kowalczyk
= 4. edit it to read: deplibs_check_method="pass_all" 5. run make I'm almost 100% sure that solved my problem, give it a go anyhow. Cheers, Brad Kowalczyk Web Developer [EMAIL PROTECTED] http://www.ibiscode.com -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version

Re: [PHP-INSTALL] php shows as text

2004-11-27 Thread Brad Kowalczyk
p you might say, but it is part of a larger installation, which calls these extentionless files, so that is no option. Any hints? Thanks -Patrick try : DefaultType application/x-httpd-php AddType application/x-httpd-php .php .phtml Cheers, Brad Kowalczyk Web Developer [EMAIL PROTECTED]

Re: [PHP-INSTALL] php shows as text

2004-11-27 Thread Brad Kowalczyk
Patrick Donker wrote: Brad Kowalczyk wrote: Patrick Donker wrote: Hi list, Yes I've searched the archive ;) I have a strange thing, which must be a something trivial. My .php files run as expected, but as soon as I try to run a script from an extentionless file, it shows up as text; the sour

Re: [PHP-INSTALL] PHP Includes within an HTML doc

2004-12-07 Thread Brad Kowalczyk
Vincent Dean wrote: Hello, I'm sure this is pretty easy but I'm somewhat new to PHP. I would like to place includes in an html doc and have them display via the browser. I understand that this can be done via the **.htaccess file.** Is this the best approach? If so can someone tell me the

Re: [PHP-INSTALL] Where are the errors?

2005-01-11 Thread Brad Kowalczyk
0 on Windows XP Open php.ini and edit it to make sure that the "display_errors" setting is "On" display_errors = On Then restart apache Cheers, Brad Kowalczyk www.ibiscode.com

Re: [PHP-INSTALL] Re: Cannot install 4-3-10

2005-01-28 Thread Brad Kowalczyk
you would probably know it already. I'd sure love to know how to fix the problem properly though - I don't like mysteries. I'm just guessing but it may simply require updating the db3 libs. Cheers, Brad Kowalczyk Web Developer www.ibiscode.com

Re: [PHP-INSTALL] pbpBB cannot contact MySQL

2005-02-21 Thread Brad Kowalczyk
articipate. Something is very, very wrong. -- Brad Kowalczyk Web Developer www.ibiscode.com

Re: [PHP-INSTALL] installing BOTH php-cli and php-cgi at the same time

2005-02-25 Thread Brad Kowalczyk
ay to do this? Ed I'm not 100% certain but I dont think you can build the apache module and the cgi at the same time (I've never tried it), its generally one or the other. Building the cli and the cgi together is not an issue. -- Brad Kowalczyk Web Developer www.ibiscode.com

Re: [PHP-INSTALL] Question about PHP as standalone

2005-03-04 Thread Brad Kowalczyk
yeah, if your apache has apxs just include the line: --with-apxs=/path/to/apxs when you run configure and php will be built as an apache module. -- Brad Kowalczyk Web Developer www.ibiscode.com

Re: [PHP-INSTALL] --with-mysql directory

2005-03-04 Thread Brad Kowalczyk
perhaps put a professional on staff, but if you want the free ride you might just have to be patient from time to time... -- Brad Kowalczyk Web Developer www.ibiscode.com

Re: [PHP-INSTALL] Problems with installation

2005-03-07 Thread Brad Kowalczyk
) In the example above you should have: Cheers, -- Brad Kowalczyk Web Developer www.ibiscode.com

Re: [PHP-INSTALL] windows xp sp2 installation problems

2005-03-09 Thread Brad Kowalczyk
tried putting double quotes around c:/php/php5apache.dll. No luck. Any thoughts (other than switch to Linux)? Thanks, Pat Moore the php files are not being parsed by php, try commenting out the line: AddModule mod_php5.c I don't have it in my httpd.conf on my Windows box Cheers, -- Brad Kow

Re: [PHP-INSTALL] problems with php mail()

2005-03-18 Thread Brad Kowalczyk
configure it to send mail through a smtp server without having to rebuild php? if so, how? any help is greatly appreciated. thanks in advance! As far as i know you will need sendmail installed to use the mail() function(). Correct me if I am wrong. -- Brad Kowalczyk Web Developer www.ibiscode.com

Re: [PHP-INSTALL] Problem with AddModule line?

2005-04-11 Thread Brad Kowalczyk
so use $_REQUEST['variable_name'] to access variables in either $_GET, $_POST or $_COOKIE arrays. (of course you replace 'variable_name' with the name of the variable you want to use) Cheers, Brad -- Brad Kowalczyk Web Developer www.ibiscode.com

Re: [PHP-INSTALL] Having a problem

2005-04-17 Thread Brad Kowalczyk
anything when I run the server and load a simple page that contains... No need for the "echo" in there Cheers, Brad -- Brad Kowalczyk Web Developer www.ibiscode.com

Re: [PHP-INSTALL] horde 3.0.4 and php4 on freebsd 5.3

2005-06-09 Thread Brad Kowalczyk
to the browser, headers must be sent before any other output, including whitespace. So you could fix this by removing Notices from PHP's error reporting. In php.ini edit the error_reporting directive to be: error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT Cheers, Brad --

Re: [PHP-INSTALL] Could not display PHP file

2005-07-08 Thread Brad Kowalczyk
computer, it just displayed this original text file, not "hello" in a browser. Is it an installation problem? How can I check it? Thanks, Joe Hi Joe, you need to make sure the following line is in httpd.conf: AddType application/x-httpd-php .php -- Brad Kowalczyk Web Developer www.ibiscode.com

Re: [PHP-INSTALL] PHP on Windows XP - what server to use for development?

2005-07-10 Thread Brad Kowalczyk
ver (which ?) on this operating system. Just download and install the Apache webserver for windows, just what you want :) Cheers, Brad -- Brad Kowalczyk Web Developer www.ibiscode.com

Re: [PHP-INSTALL] variables not working

2005-07-23 Thread Brad Kowalczyk
it is now turned off by default. If you REALLY MUST do it then find register_globals = Off in php.ini and change it to 'On' and restart Apache. Again, this really isnt such a good idea. (it works fine on my hosting companies server) EEIIK!!! -- Brad Kowalczyk Web Developer www.ibiscode.com

Re: [PHP-INSTALL] PHP version recognizing

2005-07-23 Thread Brad Kowalczyk
run 2 instances of apache listening on different ports, one for each php version. e.g. http://localhost:80 (php4) http://localhost:8080 (php5) -- Brad Kowalczyk Web Developer www.ibiscode.com

Re: [PHP-INSTALL] Devenix Live CD PHP4 and PHP5 problem

2006-01-22 Thread Brad Kowalczyk
stalling both php4 and php5 from source, I have done it plenty of times with no problems, just remember of course to specify a different PREFIX for each version when you run configure. Cheers, Brad Kowalczyk www.ibiscode.com

Re: [PHP-INSTALL] php4 vs. php5

2006-02-02 Thread Brad Kowalczyk
ode will run as expected on php5 (but not the the other way around) and the benefits of php5 are many. Cheers, Brad Kowalczyk www.ibiscode.com

[PHP-INSTALL] Re: [PHP] Re: [PHP-INSTALL] php4 vs. php5

2006-02-03 Thread Brad Kowalczyk
Jochem Maas wrote: Brad Kowalczyk wrote: Grae Wolfe - PHP wrote: Hey there... I am setting up a new test server for one of my clients to use, and I am curious if there is a reason to go with php4.xx over php5.xx, or the other way around. I would think that I would want to go with the

Re: [PHP-INSTALL] Begginer's Questions...

2006-02-04 Thread Brad Kowalczyk
a valid variable name and both '\$' and '$' print as '$' (though I suppose \$ should print as \$ given my next sentence). And \ followed by no special characters is treated as a literal \ and \\ is the same; as the first \ escapes the second \ which leaves you with \.

Re: [PHP-INSTALL] actualy problems with jpegsupport

2006-03-06 Thread Brad Kowalczyk
Ruprecht Helms wrote: Hi, I still have problems with the jpegsupport within the gdlib. I use php 4.4.2, freetype-2.1.10, jpeg-6b and gd-2.0.33. I configured my php like this: ./configure --with-mysql --with-apxs=/www/bin/apxs --with-gd --with-freetype-dir=/usr/local/lib --with-jpeg-dir=/usr/l