RE: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior (fwd)

2007-08-10 Thread Keith Roberts
On Fri, 10 Aug 2007, Jesse Santana wrote: To: Paul Blondé <[EMAIL PROTECTED]> From: Jesse Santana <[EMAIL PROTECTED]> Subject: RE: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior (fwd) That wasn't a typo. This code is pulled directly from the phpBB installation (install.php). It is in fact: $phpbb_

RE: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior

2007-08-10 Thread Jesse Santana
I'm running 26 different virtual hosts on both instances. The instances are identical for both Apache version and everything else appears to work but this. Jesse Santana Project Lead - Enterprise Services Group Information Technology Services California State University, Long Beach 1250 Bellflo

RE: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior (fwd)

2007-08-10 Thread Jesse Santana
That wasn't a typo. This code is pulled directly from the phpBB installation (install.php). It is in fact: $phpbb_root_path = './../'; include($phpbb_root_path.'extension.inc'); Jesse Santana Project Lead - Enterprise Services Group Information Technology Services California State University,

Re: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior

2007-08-10 Thread Jesse Santana
Keith, >^^^this directive is not set correctly - it looks like the >default values to me. Maybe you need to check the >include_path value for the previous version of PHP. My include_path value on my php.ini instance (which works) is: include_path = ".:/usr/local/php4/lib" That's almost identi

RE: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior

2007-08-10 Thread Paul Blondé
ok, this seems to indicate that the file is no longer where you expect it to be. Are you using virtual domains at all, or doing anything different from how it was on the old server? You may be stuck testing various partial upgrades to find the problem, for instance installing a test machine with

RE: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior (fwd)

2007-08-10 Thread Paul Blondé
-Original Message- > >I use ../../ all over the place on PHP 5.2.1 - the only complaints I get >from PHP is if I have not set the include path correctly. > >HTH > >Keith > The only thing I noticed, though, was that he posted a path with "./../", not "../../", which could have been a typo

Re: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior

2007-08-10 Thread Jesse Santana
Matthew, Hard coding the entire path causes the script to work under both PHP v4 and PHP v5. I would think that would eliminate the permission possibility. Jesse Jesse Santana Project Lead - Enterprise Services Group Information Technology Services California State University, Long Beach 1250

RE: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior

2007-08-10 Thread Jesse Santana
I wish it were that simple. However, typing in a full path in the include statement: include("/home/bu/jsantana/htdocs/extension.inc"); Causes the script to work perfectly on both the PHP v4 and PHP v5 system. This eliminating the possibilities of this being a permission problem. Jesse Santa

Re: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior (fwd)

2007-08-10 Thread Keith Roberts
Sorry for posting to you directly Jesse. Here it is for the list now. -- Forwarded message -- To: Jesse Santana <[EMAIL PROTECTED]> From: Keith Roberts <[EMAIL PROTECTED]> Subject: Re: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior On Fri, 10 Aug 2007, Jesse Santana wrote: The new

Re: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior

2007-08-10 Thread Matthew Marino
Pardon me for oversimplifying, but it doesn't report the file not found, it reports a permission error. To debug the problem further I'd hard code the entire path to the file and see if the error still occurs. If so, look at the user and group of Apache and make sure there's --x permissions

RE: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior

2007-08-10 Thread Jesse Santana
Paul, Thank you for the response. Unfortunately, changing the include to: include("../extension.inc"); Produces the exact same result: Warning: include(../extension.inc) [function.include]: failed to open stream: Permission denied in /home/bu/jsantana/htdocs/php/IncludeExample.php on line 3

RE: [PHP-INSTALL] PHP v4 vs. PHP v5 behavior

2007-08-10 Thread Paul Blondé
I believe the notation "./../" is illegal, perhaps either the new PHP or the new Solaris is probably now enforcing that when the old did not? I would recommend dropping the leading "./" (since it just means "start from the current directory" anyway), and trying it with just "../extension.inc" I

[PHP-INSTALL] PHP v4 vs. PHP v5 behavior

2007-08-10 Thread Jesse Santana
Maybe someone can shed some light on this problem for me. Our current production server is a Solaris 9 machine running Apache 1.3.37 and PHP 4.4.2. The following script works perfectly on this machine: "; echo "Hello World!"; ?> The new server we are setting up is running Solaris 10, Apache 2

RE: [PHP-INSTALL] Install(Auto) PHP 5.2.3 on Apache2.2.4 (WinXP)

2007-08-10 Thread Paul Blondé
Yes, you need to install into something like C:\php or C:\php5, and you also need to configure php.ini *and* httpd.conf (the Apache configuration file). All of this is documented in the PHP installation package. Start reading at line 854 of c:\php5\install.txt (or your equivalent), the line that re

RE: [PHP-INSTALL] PHP AND VISTA

2007-08-10 Thread Andy Stratton
What version of Apache are you using? I've been able to get Vista/Apache 2.059/PHP 5.x/MySQL 5 environment running...although I'm not running a server, just a local dev machine. -- Andy Stratton, ZCE Software/Network Engineer COMPASS Information Systems, Inc. www.compassinfo.net (410) 923-6300 of

[PHP-INSTALL] test

2007-08-10 Thread RodgerW
communication fail

[PHP-INSTALL] Install(Auto) PHP 5.2.3 on Apache2.2.4 (WinXP)

2007-08-10 Thread RodgerW
Can an auto install be done of PHP 5.2.3 on Apache 2.2.4 on WinXP platform or must it be a manual install? I have attempted this. Tried the Hello World PHP page. Looks like the PHP bit does not go through PHP because it does not display the message in the web page. That is, the PHP bit is not r