php-install Digest 22 Nov 2001 07:02:49 -0000 Issue 567
Topics (messages 5053 through 5069):
Re: Server 500 Error....
5053 by: Ferhat Can
5054 by: Phil Driscoll
5056 by: Nathaniel Harari
5059 by: Chris
Re: Upgrade problems
5055 by: Amiroot
Aolserver segmentation fault
5057 by: Sean Redmond
Corrupt PHP executable? after make on PHP 4.1.0rc2
5058 by: Mike Boulet
phpmyadmin,php4.06 and apache 1.3.22
5060 by: brain_damaged
5061 by: Chris
Break point in PHP script
5062 by: chandra
Re: php 4.0.6 configure script fails
5063 by: Tony White
Compiling PHP 4.0.6 as a DSO on True64.
5064 by: Peter Losher
Php4, IIS on WinNT4
5065 by: Byungsung Cho
5067 by: Chris
5068 by: Fred
Re: install two php
5066 by: Fred
Why there isn't a php4.version.platform.rpm?
5069 by: Yanglong Zhu
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi,
Getting Server 500 Error simply means there is an error in your script.
When you install PHP, you must tell the Web server, what program to execute
for what extension. The PHP installer doesn't do it for you. There is great
information how to the mentioned configuration in the intall.txt file of
your local PHP folder. However, I think there are some error(s) in your
script. You should try the following script
<?PHP
phpinfo();
?>
If it works, and your script doesn't you should start debugging your PHP
code. If the code I send you doesn't work either, then you couldn't
configure the web server such that it could parse the .php files.
Regards... <? ferhat ?>
--- Original Message -----
From: "Nathaniel Harari" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 21, 2001 5:51 PM
Subject: RE: [PHP-INST] Server 500 Error....
> Okay...:)
>
> It's all a little new to me since I've never run PHP before on a server
> that had problems with it, and I actually know Apache on linux a lot
> better (editing text files with pico is a hell of a lot quicker and
> simpler, imho).
>
> So, what exactly are you talking about when enabling .php suffixes? I
> thought the installer did that? Can anyone give me a pointer in that
> direction and I can try it. :)
>
> Thanks again,
>
> Nat. :)
>
>
> -----Original Message-----
> From: Corn Vollney-R7019C [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 20, 2001 4:47 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP-INST] Server 500 Error....
>
>
> Likewise, did you configure IIS 4 for the .php suffix? Also might help
> to open the .exe etc files to IIS 4's default users, sorry I cant
> remember what their called anymore, but there are two of them, one for
> regular web users and the other to execute scripts.
>
> Voll
>
> -----Original Message-----
> From: Chris [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 20, 2001 3:42 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-INST] Server 500 Error....
>
>
> Greetings,
> What *verbosity* level are you running your Error Log(s) at? If set
> high enough, your server should dump some informative info (pointers),
> that'll help point you in the right direction. Off the top of my head, I
> would guess a Permission Issue.
>
> Best Wishes,
> Chris
>
>
> > Hi.
> >
> > A few weeks ago, I got PHP Nuke to install beautifully on my XP
> > machine at home to test it - no problems for a first time user.
> >
> > Now, I want to use it for my work web site on my remote server for the
>
> > company I work for. I am running Windows 2000 Server edition on a nice
>
> > fast box with IIS 4.
> >
> > I installed PHP, MySQL, and PHPNuke. Only, I can't open any PHP pages:
>
> > I get an "Internal Server Error 500" every time I try to open a php
> > page through the browser by hitting the site. Everything works fine
> > and running php.exe -i outputs the HTML code just beautifully.
> >
> > I checked out all I could on this error and did the required things,
> > making sure that the php.exe and the .dll file is all accessible to
> > anonymous users (IEUSR_<computer> or whatever it is...can't remember
> > off of the top of my head). But still, it doesn't work.
> >
> >
> > Can anyone please help me out with this? I really need to set
> > something up very quickly and I would love to use PHPNuke. :)
> >
> >
> > Thanks,
> >
> >
> > Nat.
> > [EMAIL PROTECTED]
> > http://www.somethingwonderful.com
> >
> >
> > --
> > 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]
>
>
> --
> Chris out...
> _________ __________ __________ _____________
> / _____/\ / ____ \ / ______/\ /____ ____/\
> / /\____\/ / /\_ / /\ / / \____\/ \___/ /\___\/
> / /_/__ / /_/_/ / / / /__/_ / / /
> / _____/\ / ____ / / \_____ \ / / /
> / /\____\/ / /\_ / / / \____\ /\ / / /
> / / / / / / / / / _________/ / / / / /
> /___/ / /___/ / /___/ / /___________/ / /___/ /
> \___\/ \___\/ \___\/ \___________\/
> \___\/.dnswatch.com
> They that can give up essential liberty to obtain a little
> temporary safety deserve neither liberty nor safety.
> - Benjamin Franklin
> ..
>
> ............................................
> This email was sent using DNSWATCH WebMail.
> "Get an account today!"
> http://www.dnswatch.com/dnswm112/
>
>
>
> --
> 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]
>
> --
> 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]
>
>
>
> --
> 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]
--- End Message ---
--- Begin Message ---
On Tuesday 20 November 2001 5:44 pm, Nathaniel Harari wrote:
> I installed PHP, MySQL, and PHPNuke. Only, I can't open any PHP pages: I
> get an "Internal Server Error 500" every time I try to open a php page
> through the browser by hitting the site. Everything works fine and
> running php.exe -i outputs the HTML code just beautifully.
>
> I checked out all I could on this error and did the required things,
> making sure that the php.exe and the .dll file is all accessible to
> anonymous users (IEUSR_<computer> or whatever it is...can't remember off
> of the top of my head). But still, it doesn't work.
Server 500 error means that the server blew up for some reason - often a
misconfiguration error, but if you installed php as an ISAPI module, then
most likely PHP blew up.
If you have used php as ISAPI, reconfigure to use as cgi and the problem will
disappear. If not, check that php is installed correctly by running it at the
command line (more details in install.txt) and if no problems are found
there, then it is almost certainly a problem with server configuration or
permissions.
Cheers
--
Phil Driscoll
--- End Message ---
--- Begin Message ---
Cool.
Okay, here's the deal:
I originally installed it with the installer using the cgi: php.exe, and
followed the directions, but it still gave me a 500 Server Error.
Then, reading about how you guys basically were referring to the SAPI
module, I downloaded the W32 binaries, and installed everything by hand,
using the SAPI module instead (php4isapi.dll) for my IIS server on
Windows 2000 Server edition. (Is that right? I thought it would be
php4nisapi.dll, but it says otherwise).
Anyway, I followed the directions and now, instead of a 500 error, it
loads up a blank page, and hangs there for a while, all while saying
"done" in the bottom left hand corner of the browser. Basically, it's
doing something and hanging, and I have no idea what.
If you guys want to see what I mean, check out:
http://63.212.161.96:7777/index.php (it might be
http://172.16.1.96:7777/index.php - it works on both because I haven't
resolved any DNS to it locally yet).
I have no idea why it is doing this. I set the filter for ISAPI and
pointed it to php4isapi.dll, I set the user permissions on that to be
the IUSR_<computer name> with, basically, chmod 777 rights (I
know...it's NT. I just set full permissions on it for now to test it).
So something is hanging. I took out all references to php.exe. I put
copies of the dll libraries in WINNT/system32 and I put a copy of
php.ini in WINNT directory.
Am I missing something? I'm following the directions.
Is it possibly a conflict between MySQL and MSSQL 7? Both are running on
my machine. PHP Nuke is, however, configured to be running with MySQL,
and I know that MySQL is running because I can open and read the Nuke
database with it just fine...so no conflict there that I can see.
Anyway, I know it's the holidays and most people will be offline for a
bit, and I am actually leaving to go home soon. I'll check my email from
home, however, and see what anyone has to offer as I will be working
remotely on the site (via PCAnywhere) this weekend.
Thanks all for the replies and the help so far. I definitely appreciate
it. :) Ands happy thanksgiving to all. :)
Nat.
--- End Message ---
--- Begin Message ---
Greetings,
> Okay...:)
>
> It's all a little new to me since I've never run PHP before on a server
> that had problems with it, and I actually know Apache on linux a lot
> better (editing text files with pico is a hell of a lot quicker and
> simpler, imho).
>
> So, what exactly are you talking about when enabling .php suffixes? I
> thought the installer did that? Can anyone give me a pointer in that
> direction and I can try it. :)
The right direction would be the Apache Doc's that came with your version.
Another - the Apache's configuration file; httpd.conf. The folllowing
is an exerpt from it, describing ".php" suffixes".
# AddType allows you to tweak mime.types without actually editing it, or
to
# make certain files to be certain types.
#
# For example, the PHP 3.x module (not part of the Apache distribution -
see
# http://www.php.net) will typically use:
#
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
#
# And for PHP 4.x, use:
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps
Bset wishes,
Chris
>
> Thanks again,
>
> Nat. :)
>
>
> -----Original Message-----
> From: Corn Vollney-R7019C [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 20, 2001 4:47 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP-INST] Server 500 Error....
>
>
> Likewise, did you configure IIS 4 for the .php suffix? Also might help
> to open the .exe etc files to IIS 4's default users, sorry I cant
> remember what their called anymore, but there are two of them, one for
> regular web users and the other to execute scripts.
>
> Voll
>
> -----Original Message-----
> From: Chris [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 20, 2001 3:42 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-INST] Server 500 Error....
>
>
> Greetings,
> What *verbosity* level are you running your Error Log(s) at? If set
> high enough, your server should dump some informative info (pointers),
> that'll help point you in the right direction. Off the top of my head,
> I would guess a Permission Issue.
>
> Best Wishes,
> Chris
>
>
>> Hi.
>>
>> A few weeks ago, I got PHP Nuke to install beautifully on my XP
>> machine at home to test it - no problems for a first time user.
>>
>> Now, I want to use it for my work web site on my remote server for the
>
>> company I work for. I am running Windows 2000 Server edition on a nice
>
>> fast box with IIS 4.
>>
>> I installed PHP, MySQL, and PHPNuke. Only, I can't open any PHP pages:
>
>> I get an "Internal Server Error 500" every time I try to open a php
>> page through the browser by hitting the site. Everything works fine
>> and running php.exe -i outputs the HTML code just beautifully.
>>
>> I checked out all I could on this error and did the required things,
>> making sure that the php.exe and the .dll file is all accessible to
>> anonymous users (IEUSR_<computer> or whatever it is...can't remember
>> off of the top of my head). But still, it doesn't work.
>>
>>
>> Can anyone please help me out with this? I really need to set
>> something up very quickly and I would love to use PHPNuke. :)
>>
>>
>> Thanks,
>>
>>
>> Nat.
>> [EMAIL PROTECTED]
>> http://www.somethingwonderful.com
>>
>>
>> --
>> 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]
>
>
> --
> Chris out...
> _________ __________ __________ _____________
> / _____/\ / ____ \ / ______/\ /____ ____/\
> / /\____\/ / /\_ / /\ / / \____\/ \___/ /\___\/
> / /_/__ / /_/_/ / / / /__/_ / / /
> / _____/\ / ____ / / \_____ \ / / /
> / /\____\/ / /\_ / / / \____\ /\ / / /
> / / / / / / / / / _________/ / / / / /
> /___/ / /___/ / /___/ / /___________/ / /___/ /
> \___\/ \___\/ \___\/ \___________\/
> \___\/.dnswatch.com
> They that can give up essential liberty to obtain a little
> temporary safety deserve neither liberty nor safety.
> - Benjamin Franklin
> ..
>
> ............................................
> This email was sent using DNSWATCH WebMail.
> "Get an account today!"
> http://www.dnswatch.com/dnswm112/
>
>
>
> --
> 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]
>
> --
> 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]
>
>
>
> --
> 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]
--
Chris out...
_________ __________ __________ _____________
/ _____/\ / ____ \ / ______/\ /____ ____/\
/ /\____\/ / /\_ / /\ / / \____\/ \___/ /\___\/
/ /_/__ / /_/_/ / / / /__/_ / / /
/ _____/\ / ____ / / \_____ \ / / /
/ /\____\/ / /\_ / / / \____\ /\ / / /
/ / / / / / / / / _________/ / / / / /
/___/ / /___/ / /___/ / /___________/ / /___/ /
\___\/ \___\/ \___\/ \___________\/ \___\/.dnswatch.com
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
- Benjamin Franklin
..
............................................
This email was sent using DNSWATCH WebMail.
"Get an account today!"
http://www.dnswatch.com/dnswm112/
--- End Message ---
--- Begin Message ---
if you are using redhat 7.1, just upgrade to 7.2
you won't upgrade all rpms
"Youvnor" <[EMAIL PROTECTED]> glsD
:[EMAIL PROTECTED]
> I'm trying to upgrade from php 4.0.4pl1
> to 4.0.6
>
> i used rpm to install the previus version.
>
> i found the rpms that i need to
> but i had some problems installing them, because the need some others rpm
> (about 7) that make version conflics with other files that other
> applications use in my system...
>
> what i have to do to workaround this ?
>
>
--- End Message ---
--- Begin Message ---
Hi,
I previously had PHP 4.0.6 running fine under Aolserver 3.0 on RedHat Linux
6.2, but I'm having trouble getting 4.0.6 to work on another server with
Aolserver 3.4.2 and RedHat 7.2.
Loading a particular page (SquirrelMail's inbox, right_main.php, for those
who are interested or familiar) consistently causes a segmentation fault in
Aolserver -- though I can't yet determine exactly where in the PHP code
this happens. I also tried going back to Aolserver 3.0 but the same thing
happens on the RedHat 7.2 machine.
In the source code, sapi/aolserver/README says that it's not 100% stable
and that you can remove #define NO_GLOBAL_LOCK in main/main.c, but there is
no such line in main/main.c, so I guess that advice is out of date.
Is there anything else I can try?
Thanks,
Sean Redmond
Sean Redmond
Brooklyn Museum of Art
--- End Message ---
--- Begin Message ---
If I run the PHP that get's created after the compile I get weird output.
Notice the garbled data after the PHP Warning string. Also php 4.0.6
compiles fine.
My configure for the compile
=============================
make clean
./configure --with-zlib --enable-versioning --with-config-file-path=/usr/php
make
Environment
=============================
Red hat 7.1 Intel
> ./php
Content-type: text/html
PHP Warning: (null): Unable to initialize module
Module compiled with debug=32, thread-safety=138 module API=1076510496
PHP compiled with debug=0, thread-safety=0 module API=20010901
These options need to match
in Unknown on line 0
PHP Warning: U1?]?': Unable to initialize module
Module compiled with debug=160, thread-safety=151 module API=1075774220
PHP compiled with debug=0, thread-safety=0 module API=20010901
These options need to match
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_connect
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_pconnect
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_close in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_select_db in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_create_db in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_drop_db
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_query in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_unbuffered_query in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_db_query
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_list_dbs
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_list_tables in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_list_fields in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_error in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_errno in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_affected_rows in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_insert_id in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_result
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_num_rows
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_num_fields in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fetch_row in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fetch_array in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fetch_assoc in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fetch_object in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_data_seek in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fetch_lengths in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fetch_field in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_field_seek in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_free_result in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_field_name in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_field_table in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_field_len in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_field_type in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_field_flags in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_escape_string in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_get_client_info in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_get_host_info in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_get_proto_info in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_get_server_info in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql in
Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fieldname in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fieldtable in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_fieldlen
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fieldtype in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_fieldflags in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_selectdb
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_createdb
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_dropdb
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_freeresult in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_numfields in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_numrows
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_listdbs
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_listtables in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_listfields in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_db_name
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - mysql_dbname
in Unknown on line 0
PHP Warning: Function registration failed - duplicate name -
mysql_tablename in Unknown on line 0
PHP Warning: mysql: Unable to register functions, unable to load in
Unknown on line 0
PHP Warning: U?Sfè`: Unable to initialize module
Module compiled with debug=80, thread-safety=140 module API=1075964672
PHP compiled with debug=0, thread-safety=0 module API=20010901
These options need to match
in Unknown on line 0
php 4.0.6 compiles fine.
--- End Message ---
--- Begin Message ---
Hello,
I am not sure what I missed.
I am trying to run PHP4.06 on Freebsd 4.3 with mysql. I installed phpMyAdmin thru the
/stand/sysinstall.
When I try to run the phpMyAdmin the file directory comes up.
and when I click on the index.php3 I get this error.
Parse error: parse error in /usr/local/www/htdocs/phpMyAdmin/config.inc.php3 on line 11
Warning: Variable passed to reset() is not an array or object in
/usr/local/www/htdocs/phpMyAdmin/lib.inc.php3 on line 102
Warning: Variable passed to each() is not an array or object in
/usr/local/www/htdocs/phpMyAdmin/lib.inc.php3 on line 103
In the apache httpd.conf I have
#LoadModule php3_module libexec/apache/libphp3.so
LoadModule perl_module libexec/apache/libperl.so
LoadModule php4_module libexec/apache/libphp4.so
#AddModule mod_php3.c
AddModule mod_perl.c
AddModule mod_php4.c
<IfModule mod_php3.c>
# AddType application/x-httpd-php3 .php3
# AddType application/x-httpd-php3-source .php3s
</IfModule>
#
# And for PHP 4.x, use:
#
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps .php3s
</IfModule>
I was told that I did not need the php3 modules cuz the php4 modules would do it.
Any help is greatly appreciated.
thanks
bd
--- End Message ---
--- Begin Message ---
Greetings,
See below...
> Hello,
> I am not sure what I missed.
> I am trying to run PHP4.06 on Freebsd 4.3 with mysql. I installed
> phpMyAdmin thru the /stand/sysinstall.
>
> When I try to run the phpMyAdmin the file directory comes up.
> and when I click on the index.php3 I get this error.
>
> Parse error: parse error in
> /usr/local/www/htdocs/phpMyAdmin/config.inc.php3 on line 11
>
> Warning: Variable passed to reset() is not an array or object in
> /usr/local/www/htdocs/phpMyAdmin/lib.inc.php3 on line 102
>
> Warning: Variable passed to each() is not an array or object in
> /usr/local/www/htdocs/phpMyAdmin/lib.inc.php3 on line 103
>
> In the apache httpd.conf I have
> #LoadModule php3_module libexec/apache/libphp3.so
> LoadModule perl_module libexec/apache/libperl.so
> LoadModule php4_module libexec/apache/libphp4.so
>
> #AddModule mod_php3.c
> AddModule mod_perl.c
> AddModule mod_php4.c
>
> <IfModule mod_php3.c>
> # AddType application/x-httpd-php3 .php3
> # AddType application/x-httpd-php3-source .php3s
> </IfModule>
> #
> # And for PHP 4.x, use:
> #
> <IfModule mod_php4.c>
> AddType application/x-httpd-php .php .php3
> AddType application/x-httpd-php-source .phps .php3s
> </IfModule>
>
> I was told that I did not need the php3 modules cuz the php4 modules
> would do it.
PHP can do it and Apache will do it. But *needs* to be told. eg;
remove the # from the Addtype line for your .php3 *and* the
LoadModule and AddModule lines as well. Heed Apache's advice and
*do not* change the order or you will find you have Even More
troubles.
Best Wishes,
Chris
>
> Any help is greatly appreciated.
>
> thanks
> bd
>
> --
> 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]
--
Chris out...
_________ __________ __________ _____________
/ _____/\ / ____ \ / ______/\ /____ ____/\
/ /\____\/ / /\_ / /\ / / \____\/ \___/ /\___\/
/ /_/__ / /_/_/ / / / /__/_ / / /
/ _____/\ / ____ / / \_____ \ / / /
/ /\____\/ / /\_ / / / \____\ /\ / / /
/ / / / / / / / / _________/ / / / / /
/___/ / /___/ / /___/ / /___________/ / /___/ /
\___\/ \___\/ \___\/ \___________\/ \___\/.dnswatch.com
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
- Benjamin Franklin
..
............................................
This email was sent using DNSWATCH WebMail.
"Get an account today!"
http://www.dnswatch.com/dnswm112/
--- End Message ---
--- Begin Message ---
Hi
This may be just a easy Q. I am troubleshooting the php conf file but I need
to put break points to figure where the script is failing. Can someone
please give help.
Thanks
Chandra
--- End Message ---
--- Begin Message ---
Well I managed to get past this problem by install the g++ package.
but now when I goto make it, it stops with this error:
-----------------
Making all in apache2filter
make[2]: Entering directory `/tmp/php-4.0.6/sapi/apache2filter'
make[3]: Entering directory `/tmp/php-4.0.6/sapi/apache2filter'
/bin/sh /tmp/php-4.0.6/libtool --silent --mode=compile
gcc -I. -I/tmp/php-4.0.6/sapi/apache2filter -I/tmp/php-4.0.6/main -I/tmp/ph
p-4.0.6 -I/usr/local/apache2/include -I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/
ext/mysql/libmysql -I/tmp/php-4.0.6/ext/xml/expat/xmltok -I/tmp/php-4.0.6/ex
t/xml/expat/xmlparse -I/tmp/php-4.0.6/TSRM -D_REENTRANT -DSUPPORT_UTF8 -DXM
L_BYTE_ORDER=12 -I../TSRM -DTHREAD=1 -g -O2 -pthread -c sapi_apache2.c
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:248: warning: passing arg 4 of `ap_get_brigade' from
incompatible pointer type
sapi_apache2.c: In function `php_output_filter':
sapi_apache2.c:337: too few arguments to function `ap_save_brigade'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:443: warning: passing arg 2 of `ap_register_input_filter'
from incompatible pointer type
make[3]: *** [sapi_apache2.lo] Error 1
make[3]: Leaving directory `/tmp/php-4.0.6/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/php-4.0.6/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/php-4.0.6/sapi'
make: *** [all-recursive] Error 1
--------------------
any ideas? I know others have also had similar problems but no I havent
seen any replys on how to fix it.
Cheers
Tony
"Tony White" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Hi there,
>
> I seems to have discovered a problem with the configure script when you
use
> the option --with-apxs2 (so you can use php4 under Apache 2.0).
> this is the command I try:
>
./configure --with-mysql --enable-force-cgi-redirect --with-apxs2=/usr/local
> /apache2/bin/apxs
>
> it fails with:
> ------
> checking for c++... no
> checking for g++... no
> checking for gcc... gcc
> checking whether the C++ compiler (gcc ) works... no
> configure: error: installation or configuration problem: C++ compiler
cannot
> create executables.
> ------
>
> Before you say I am an idiot and that I have a bad install of gcc (could
be
> true, but doubt it). I would like to point out that if I run the
configure
> script with the option --with-apxs it completes the configuration process
> but tells me that there is probably an error with my apxs script.
>
> So basically I am wondering if anyone else has come across this problem
and
> solved it??? knows of another way to get php4 working with apache2.
>
> Thanks in advance.
> Tony
>
>
--- End Message ---
--- Begin Message ---
Hi,
I am trying to compile PHP 4.0.6 as a DSO on a True64 v5.0 server. The
Apache install has mod_auth_krb5 installed (based on the system's MIT Krb5
install v1.2.x) Despite what I do, the resulting libphp4.so is useless:
-=-
#/rc0/host/httpd/apache/bin/apachectl start
Syntax error on line 205 of /rc0/host/httpd/apache/conf/httpd.conf:
Cannot load /rc0/host/httpd/apache/libexec/libphp4.so into server: dlopen:
cannot load /rc0/host/httpd/apache/libexec/libphp4.so
/rc0/host/httpd/apache/bin/apachectl start: httpd could not be started
-=-
This is how I invoked configure:
./configure --without-mysql --with-apxs=/httpd/apache/bin/apxs
--with-pgsql="/usr/local/pgsql" --enable-memory-limit=yes
--enable-debug=yes --with-kerberos=/usr/local/krb5 --with-openssl
These are the resulting errors:
-=-
checking for getcwd... yes
checking for getwd... yes
checking for standard DES crypt... 257188:./conftest: /sbin/loader: Fatal
Error: cannot map libkrb5.so.3
no
checking for extended DES crypt... 264050:./conftest: /sbin/loader: Fatal
Error: cannot map libkrb5.so.3
no
checking for MD5 crypt... 262372:./conftest: /sbin/loader: Fatal Error:
cannot map libkrb5.so.3
no
263767:./conftest: /sbin/loader: Fatal Error: cannot map libkrb5.so.3
checking for Blowfish crypt... 254986:./conftest: /sbin/loader: Fatal
Error: cannot map libkrb5.so.3
no
checking whether flush should be called explicitly after a bufferered
io... 263838:./conftest: /sbin/loader: Fatal Error: cannot map libkrb5.so.3
yes
checking for libswf support... no
[...]
checking for 8-bit clean memcmp... 264346:./conftest: /sbin/loader: Fatal
Error: cannot map libkrb5.so.3
no
-=-
Then it ends with the:
-=-
+--------------------------------------------------------------------+
| *** ATTENTION *** |
| |
| Something is likely to be messed up here, because the configure |
| script was not able to detect a simple feature on your platform. |
| This is often caused by incorrect configuration parameters. Please |
| see the file debug.log for error messages. |
-=-
Problem is, there are no errors on my debug.log, and the .so compiles
cleanly.
Does anyone have any idea where I should look at?
Thanks - Peter
--
[EMAIL PROTECTED] - Internet Software Consortium - http://www.isc.org/
--- End Message ---
--- Begin Message ---
Hi!
I installed Php4 with the Windows installer on Windows NT 4 with IIS 4.
However it does not work.
As suggested in the newsgroup, I ran "php.exe" on command line and it gave
the error message such as "php.exe file cannot be found".
What should I set to fix the problem?
Thanks in advance.
-Byungsung Cho
--- End Message ---
--- Begin Message ---
> Hi!
>
> I installed Php4 with the Windows installer on Windows NT 4 with IIS 4.
>
> However it does not work.
>
> As suggested in the newsgroup, I ran "php.exe" on command line and it
> gave the error message such as "php.exe file cannot be found".
>
> What should I set to fix the problem?
Call Micro$oft support, lol. Sorry, couldn't resist. Actually,
you say you installed it with the Windows installer (from the CD?).
If so, you should be able to goto the Add/ Remove programs applet
from with-in ControlPanel and check that it *actually* was installed
(Windows thinks it was). If so, simply choose Remove (uncheck the box).
Shutdown/ Reboot. Then Goto the same applet again and Check the box
(install it). Shutdown/ Reboot. That should get you where you want to
be. Also! You should do a Search from within Exploder (explorer) for
php.exe. If it's found *and* it's NOT within your Path statement
(environment) THAT would be your probem. :-)
Hope this helps,
Chris
>
> Thanks in advance.
>
> -Byungsung Cho
>
>
>
> --
> 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]
--
Chris out...
_________ __________ __________ _____________
/ _____/\ / ____ \ / ______/\ /____ ____/\
/ /\____\/ / /\_ / /\ / / \____\/ \___/ /\___\/
/ /_/__ / /_/_/ / / / /__/_ / / /
/ _____/\ / ____ / / \_____ \ / / /
/ /\____\/ / /\_ / / / \____\ /\ / / /
/ / / / / / / / / _________/ / / / / /
/___/ / /___/ / /___/ / /___________/ / /___/ /
\___\/ \___\/ \___\/ \___________\/ \___\/.dnswatch.com
They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.
- Benjamin Franklin
..
............................................
This email was sent using DNSWATCH WebMail.
"Get an account today!"
http://www.dnswatch.com/dnswm112/
--- End Message ---
--- Begin Message ---
Make sure that php.exe is in your path and if not add it.
Fred
Byungsung Cho <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi!
>
> I installed Php4 with the Windows installer on Windows NT 4 with IIS 4.
>
> However it does not work.
>
> As suggested in the newsgroup, I ran "php.exe" on command line and it gave
> the error message such as "php.exe file cannot be found".
>
> What should I set to fix the problem?
>
> Thanks in advance.
>
> -Byungsung Cho
>
>
--- End Message ---
--- Begin Message ---
Yes, just follow the directions for both methods and they will work side by
side. The only caveat is that you must set a different extension for use by
one than the other in the httpd.conf file. For instance, you can configure
appache to use the module with php extensions and the CGI with php4
extensions.
Fred
Chris Allen <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there away of installing two php. One that has is an apache modular and
> the other as cgi? And have them both work in apache?
>
> --
>
>
>
--- End Message ---
--- Begin Message ---
So many people are using some version of RedHat to run PHP with Apache
and MySQL. This combination is so popular that it is being referred to
as LAMP, an acronym. But in the php community why there isn't a
php.version.rpm recommended for a platform, say RHL 7.2? RedHat isn't
doing it, or isn't doing it any more for current versions (7.1, 7.2).
Everybody has to struggle through their own ways to compile and install
the PHP package and try to make it work with Apache and MySQL or some
other databases. Can we have a recommanded php.version.rpm package for
up-to-date Linux platforms? (In reality, there are a few php.version.rpm
around on the net. I tried them, they seem don't work on any of my three
pentiums (60 MHz, 500 MHz, and 1.4 GHz) runing RHL 7.0, 7.1, 7.2. Yes, I
tried all 7.x versions on each and every machine I have, hoping to find
one working. Not very smart move, just coping. Obviously, that doesn't work.
Well I am not skilled enough to make an xxxx.rpm package yet, but I am
sure there many who can do it. Now, my question is: What is the issue
for such a distribution? I believe it probably is not simply because
binary distrobutions don't have much flexibility. What is it. I am a
newbie, I admit. What is the best way to overcome the complexity in
compilation and installation for uncounted number of newbies. If it's
something I can aspire to I would try it.
--- End Message ---