[PHP-INSTALL] Re: strtr array replace issue...

2009-02-09 Thread Brad Freshour
On Mon, Feb 9, 2009 at 2:19 PM, Brad Freshour wrote: > Apache: 2.2.8 threaded > PHP: 5.2.4-2 > mySQL: 5.051.a > > Ubuntu 8.04 minimal with everything needed installed via apt-get. > > Using SMF forum, I'm having an issue with the strtr command... Here's >

[PHP-INSTALL] strtr array replace issue...

2009-02-09 Thread Brad Freshour
Apache: 2.2.8 threaded PHP: 5.2.4-2 mySQL: 5.051.a Ubuntu 8.04 minimal with everything needed installed via apt-get. Using SMF forum, I'm having an issue with the strtr command... Here's the code... $ftp_file = strtr($filename, array ($_SESSION['pack_ftp']['root'] =>'')); The $_SESSION['pack_f

[PHP-INSTALL] Mac OS X install error

2007-04-25 Thread Brad Rice
I'm getting stuck.Below is my debug.log.Any help would be appreciated. CONFIGURE: './configure' '--prefix=/usr/local/php5' '--mandir=/usr/ share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc' '--with- zlib' '--with-xml' '--with-zlib-dir=/usr' '--with-openssl' '--enable- exif' '--enable

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

Re: [PHP-INSTALL] PHP apps

2006-05-06 Thread Brad Kowalczyk
ourse" has no code. Any suggestions? Thank, Jim Hey Jim, Put an HTML or plain text file in /usr/opt/tomcat/webapps/PHPapp1/ and request that, see if you get any output. eg. create /usr/opt/tomcat/webapps/PHPapp1/test.html and go to www.xxx.org/PHPapp1/test.html Cheers, Brad

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] Q: apache 2.2 and php 5.1.2 don't interact properly.

2006-03-18 Thread Brad Kowalczyk
r - this is somewhat unprofessional if I may say so. years or so. AFAIK Cheers, Brad

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

Re: [PHP-INSTALL] actualy problems with jpegsupport

2006-03-06 Thread Brad Kowalczyk
gd module with jpeg support as requested in configure. Cheers, Brad

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 \.

[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] 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

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] 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] 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 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] 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] 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] 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] 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] 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] 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 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] --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] 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] 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] 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] 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] 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

[PHP-INSTALL] Problem installing PHP with Informix support

2004-12-16 Thread Brad Kittredge
Google comes up empty on this one. Thanks in advance Brad Kittredge

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] 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 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] Re: PHP Install Issue

2004-08-27 Thread Brad Bates
Lester, Thanks for clearing this up on both counts (extensions and paths). I will follow you advice. Brad Bates Systems Librarian Polk County Library Cooperative [EMAIL PROTECTED] -Original Message- From: Lester Caine [mailto:[EMAIL PROTECTED] Sent: Friday, August 27, 2004 12:18 PM

[PHP-INSTALL] PHP Install Issue

2004-08-27 Thread Brad Bates
t IIS to handle php code in a file that is NOT listed in the ISAPI configuration. For example, how can I get IIS to run php code that is contained in an HTML file that has an extension of ".htm" or ".html"? Thanks in advance for any help you can provide, Brad Bates Systems Librarian Polk County Library Cooperative [EMAIL PROTECTED]

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] 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

[PHP-INSTALL] Re: Installing PHP5

2004-08-25 Thread Brad Kowalczyk
e and look for this line: deplibs_check_method="unknown" change it to : deplibs_check_method="pass_all" then continue with make, worked for me on FreeBSD system. Cheers, Brad smime.p7s Description: S/MIME Cryptographic Signature

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

2004-05-03 Thread Brad Esclavon
Title: Message first, run php as a module not cgi. second, did u get the windows binaries, or the linux tar.gz source. the uncompiled c file (mod_php4.c ) you are talking             about is in linux source. you should be copying .dlls to run PHP follow this step by step, and youll be good

[PHP-INSTALL] PHP data corruption in form submission on new server

2004-05-03 Thread Brad Esclavon
One of my variables "link1" that is storing a bunch of urls is having random lines being duplicated on form submission. I just recently swithed servers from a PHP 4.3.3 to a 4.2.2 version. This error has only started appearing on the new machine. The script worked fine on the old server and still d

[PHP-INSTALL] Windows NT 4.0/IIS 4/PHP 4.3.3

2003-09-02 Thread Brad Bates
tical. The code I have in my html file is: Many thanks in advance for any assistance you might be able to provide, Brad Bates Polk County Library Cooperative Polk County Florida

[PHP-INSTALL] Problems with $DOCUMENT_ROOT being blank

2003-08-30 Thread brad e
I set up a PHP4.3.3/mySQL4.0.14/Apache2.0.47 server and everythign is configured and running properly. i tested php with some scripts and functions and they all work. When i try and do any file editing/including in scripts i get file not found errors all over the place when i open like $DOCUMENT_RO

[PHP-INST] RedHat 8 PHP4 default install doesn't work

2002-10-22 Thread Brad
I installed redhat 8.0 just now. It install php4 and apache in a default config. It supposedly runs php as a DSO. Everything appears to match redhats online manual and I get no errors in the logs. But, php isn't working. Anyone have this problem. I know I am just missing a small piece of the puzzle

[PHP-INST] mysql_connect undefined

2002-03-22 Thread Brad Schick
://dev.robotbattle.com/hello.php -Brad -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-INST] ext/java

2002-03-19 Thread brad lafountain
se to them. Hope you can help. // Brad __ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-INST] Apache, PHP 4.1.1 and mysql

2002-02-06 Thread Brad
The fact it cant talk to MySQL seems to be a sideaffect of a greater issue that PHP is being called somewhere else, instead of locally. Im a novice, but a few gurus who've taken a quick look hve also scratched their heads. help! brad ps, what im trying to get working is http://vsync1

[PHP-INST] php 4.0.0 linux install

2002-02-06 Thread Brad Adams
I am unable to get php to install, mysql 3.2.32 installs, apache 1.3.12 installs. I have been unable to get php to work. Here is my debug.log, see below. Thanks for any help you can give a newbie. Sincerely, Brad Adams, Pasco High Schoo, Pasco, Washington CONFIGURE: './configure'

Re: [PHP-INST] PHP upgrade problem

2002-01-09 Thread Brad Harriger
I copied the dlls that came with the download to the directory. I'm still getting the same error. Brad Stephano Mariani wrote: > You have some older dlls being called. Do a search for the dll file in > question (and any others giving a similar message) and replace them with &g

[PHP-INST] PHP upgrade problem

2002-01-08 Thread Brad Harriger
page. How can I eliminate this message? Thanks in advance, Brad -- PHP Install 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-INST] Installation problem with NT

2001-09-05 Thread Brad Harriger
After commenting out the Action application line, I'm asked what application I would like to open the file with. Phil Driscoll wrote: > On Tuesday 04 September 2001 4:49 pm, Brad Harriger wrote: > > I was accessing the file directly. > Well that won't ever work - you have

Re: [PHP-INST] Installation problem with NT

2001-09-04 Thread Brad Harriger
I was accessing the file directly. When I try requesting it via the webserver, I get a 500 error with the following line in the error log: [Tue Sep 04 11:46:30 2001] [error] [client 127.0.0.1] Premature end of script headers: c:/php/php.exe Brad Phil Driscoll wrote: > On Tuesday 04 Septem

Re: [PHP-INST] Installation problem with NT

2001-09-04 Thread Brad Harriger
httpd.conf contains ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" When I try to access a page, I'm asked if I want to open the file using php.exe or save it to a disk. Brad Phil Driscoll wrote: > On

[PHP-INST] Installation problem with NT

2001-09-04 Thread Brad Harriger
I have installed php4 on an NT workstation running apache that previously ran pws and php4. Everything worked fine under pws. Now, the php executes from the command line, but not from the browser. I've followed all the installation instructions. Any suggestions? Thanks, Brad --

[PHP-INST] ld: fatal: Symbol referencing errors.

2001-03-23 Thread Brad Atkins
tatus Anyone have any idea what that means? Thanks, Brad Atkins -- PHP Install 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]