php-install Digest 28 Dec 2001 23:01:35 -0000 Issue 624
Topics (messages 5397 through 5403):
mssql install and php 4.10 help please !
5397 by: Jithen Singh
PHP compile with binary
5398 by: Kevin
5399 by: Richard Hillström (GIS)
5402 by: Kevin
imap/pop3 problems
5400 by: Johan Wald
Installing PHP 4.0.1 on Solaris 8
5401 by: Ignacio Sosa
libphp4.so > undefined symbol: uncompressed -> solved, : ))
5403 by: andrew
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 There ..
I used to be running php before on windows xp iis 5.1. Everything worked
fine.
It was installed by copying the php_mssql70.dll to the system folder and
uncommenting this in the php.ini file.
Now i have downloaded the new version and tryed to install it and get it
configured but im having so many problems. Firstly theres no php_mssql70.dll
file ? .. theres only a php_mssql.dll file. Has this file replaced the old
one ? ..
I tryed doing the exact same thing i did to the php_mssql70.dll to the
php_mssql.dll but ive got no where. It dont seem to work.
Is there someone out there that has Php 4.10 installed and running it
connecting to a MSSQL database ? ..
Cheers
Please help ....
J !
--- End Message ---
--- Begin Message ---
How can i compile PHP with a binary executable so i can run PHP scripts from
my shell? and also from the web.
I"m currnetly compiling with the following command
'./configure' '--with-apxs=/home/httpd/bin/apxs' '--enable-ftp'
'--with-mysql=/usr/local/mysql' '--with-exec-dir'
'--with-config-file-path=/home/httpd/conf' '--with-gd'
'--enable-discard-path'
i've tried many ways. but couldn't get it to make a php binary in
/usr/local/bin/php (defulat location) that allows me to run a PHP script in
my shell.. Hope someoen can help me
Kevin
--- End Message ---
--- Begin Message ---
Leave out --with-apxs
Regards
Richard Hillström
-----Original Message-----
From: Kevin [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 28, 2001 11:10 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] PHP compile with binary
How can i compile PHP with a binary executable so i can run PHP scripts from
my shell? and also from the web.
I"m currnetly compiling with the following command
'./configure' '--with-apxs=/home/httpd/bin/apxs' '--enable-ftp'
'--with-mysql=/usr/local/mysql' '--with-exec-dir'
'--with-config-file-path=/home/httpd/conf' '--with-gd'
'--enable-discard-path'
i've tried many ways. but couldn't get it to make a php binary in
/usr/local/bin/php (defulat location) that allows me to run a PHP script in
my shell.. Hope someoen can help me
Kevin
--
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 ---
If I leave Out the --with-apx. would apache still work with PHP wihtout
recompiling apache?
<Richard Hillström (GIS)> wrote in message
1254192C94D3D411B8060008C7E6AEEBC85100@esealnt408">news:1254192C94D3D411B8060008C7E6AEEBC85100@esealnt408...
Leave out --with-apxs
Regards
Richard Hillström
-----Original Message-----
From: Kevin [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 28, 2001 11:10 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] PHP compile with binary
How can i compile PHP with a binary executable so i can run PHP scripts from
my shell? and also from the web.
I"m currnetly compiling with the following command
'./configure' '--with-apxs=/home/httpd/bin/apxs' '--enable-ftp'
'--with-mysql=/usr/local/mysql' '--with-exec-dir'
'--with-config-file-path=/home/httpd/conf' '--with-gd'
'--enable-discard-path'
i've tried many ways. but couldn't get it to make a php binary in
/usr/local/bin/php (defulat location) that allows me to run a PHP script in
my shell.. Hope someoen can help me
Kevin
--
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 ---
Hello!
When I do an imap_open(), all I get is this: (i've tried w/ both imap and
pop3)
Warning: Couldn't open stream {localhost:110/pop3}INBOX in
/xxx/yyy/xxx/imap.php on line 2
I use php 4.0.6 with apache 1.3.22, and my configure string is:
./configure --with-mysql \
--with-config-file-path=/www/conf \
--with-apache=$apachepwd \
--enable-track-vars \
--enable-trans-sid \
--with-imap=../imap-2001a \
--with-gd=/usr \
--with-jpeg-dir=/usr/lib \
--with-xpm-dir=/usr/X11R6 \
--enable-ftp
I've tried every c-client from 4.7 to 2001a, and followed the installation
instructions on www.php.net, does anyone have a clue about what could be
wrong?
I've checked with both tcpdump and netstat, and php doesn't even open a
connection....
Best regards,
Johan
--- End Message ---
--- Begin Message ---
> Well, I am trying to install PHP4 in a Sun Sparc with Solaris 8
>
> 1) I unpacked the source files of php4 and there wasn't the "setup" file!
> Where could I find it?
>
> 2) I tried with
>
"./configure --prefix=/export/home/php --with-apache=/usr/local --with-mysql
> --with-iodbc -enable-track-vars"
>
> And after processing some tasks it said i had to specify the "host type",
I
> suppose it refers to the "--host" and "--build" parameters but I don't
know
> what should I write there!
>
> Thanks.
>
> Nacho.
--- End Message ---
--- Begin Message ---
Hello,
I wanted to share my success with the list as it has provided
all the clues to getting php4 to work with mysql and apache.
Mark Rolen responded to my email who posted this same problem
some time ago on the list. His suggestion was to add
--with-zlib
Here's what I did:
cd php4.1.0
./configure --with-mysql=<path to mysql source> --with-apxs --with-zlib
make
make install
service httpd start
Syntax error line 914 of /etc/httpd/conf/httpd.conf
Cannot load /etc/httpd/lib/apache/libphp4.so into server
/etc/httpd/lib/apache/libphp4.so: cannot open shared
object file: no such file or directory
find / -name libphp4.so
/usr/lib/apache/libphp4.so
vi httpd.conf
914G
LoadModule php4_module lib/apache/libphp4.so
changed to match FIND location:
LoadModule php4_module /usr/lib/apache/libphp4.so
service httpd start
ok.
After restarting server for good measure, everything started ok.
Created test script in INSTALL file and phpinfo.php is displayed
in my browser.
Thanks to Mark, :))
Andrew Schoenherr
======================original post to php.install=====================
Hello,
After reading alot of the information in this newsgroup and finding
another person with exactly the same problem, and trying several of
the fixes recommended, I am at a loss on how to correct my problem.
So far:
Apache 1.3.12-25 installed by rpm
MySQL-Max-3.23.46 installed by rpm
Built PHP4 with
./configure --with-mysql=/opt/bin/mysql-max-3.23.46 --with-apxs
and verifying that httpd.conf has the AddType application.... line, and
when I start the server I get:
[andrew@fremont local]# httpd start
Syntax error on line 912 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: undefined
symbol:
uncompress
Line 912 from httpd.conf file:
LoadModule php4_module /usr/lib/apache/libphp4.so
- the path to the module is correct.
Following recommendation in some other posting, I ran:
[andrew@fremont bin]$ ldd -r /usr/lib/apache/libphp4.so
libdl.so.2 => /lib/libdl.so.2 (0x4013b000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x4013e000)
libresolv.so.2 => /lib/libresolv.so.2 (0x4016b000)
libpam.so.0 => /lib/libpam.so.0 (0x4017d000)
libm.so.6 => /lib/libm.so.6 (0x40185000)
libnsl.so.1 => /lib/libnsl.so.1 (0x401a4000)
libc.so.6 => /lib/libc.so.6 (0x401bc000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: uncompress (/usr/lib/apache/libphp4.so)
undefined symbol: compress (/usr/lib/apache/libphp4.so)
undefined symbol: ap_block_alarms (/usr/lib/apache/libphp4.so)
undefined symbol: ap_unblock_alarms (/usr/lib/apache/libphp4.so)
undefined symbol: ap_user_id (/usr/lib/apache/libphp4.so)
undefined symbol: ap_server_root (/usr/lib/apache/libphp4.so)
undefined symbol: ap_group_id (/usr/lib/apache/libphp4.so)
undefined symbol: ap_user_name (/usr/lib/apache/libphp4.so)
undefined symbol: top_module (/usr/lib/apache/libphp4.so)
undefined symbol: ap_max_requests_per_child (/usr/lib/apache/libphp4.so)
undefined symbol: ap_table_get (/usr/lib/apache/libphp4.so)
undefined symbol: ap_update_mtime (/usr/lib/apache/libphp4.so)
undefined symbol: ap_kill_timeout (/usr/lib/apache/libphp4.so)
undefined symbol: ap_uudecode (/usr/lib/apache/libphp4.so)
undefined symbol: ap_setup_client_block (/usr/lib/apache/libphp4.so)
undefined symbol: ap_add_cgi_vars (/usr/lib/apache/libphp4.so)
undefined symbol: ap_getword (/usr/lib/apache/libphp4.so)
undefined symbol: ap_getword_nulls_nc (/usr/lib/apache/libphp4.so)
undefined symbol: ap_destroy_sub_req (/usr/lib/apache/libphp4.so)
undefined symbol: ap_pstrdup (/usr/lib/apache/libphp4.so)
undefined symbol: ap_log_error (/usr/lib/apache/libphp4.so)
undefined symbol: ap_table_add (/usr/lib/apache/libphp4.so)
undefined symbol: ap_sub_req_lookup_uri (/usr/lib/apache/libphp4.so)
undefined symbol: ap_run_sub_req (/usr/lib/apache/libphp4.so)
undefined symbol: ap_register_cleanup (/usr/lib/apache/libphp4.so)
undefined symbol: ap_signal (/usr/lib/apache/libphp4.so)
undefined symbol: ap_send_http_header (/usr/lib/apache/libphp4.so)
undefined symbol: ap_block_alarms (/usr/lib/apache/libphp4.so)
undefined symbol: ap_child_terminate (/usr/lib/apache/libphp4.so)
undefined symbol: ap_set_etag (/usr/lib/apache/libphp4.so)
undefined symbol: ap_rwrite (/usr/lib/apache/libphp4.so)
undefined symbol: ap_table_set (/usr/lib/apache/libphp4.so)
undefined symbol: ap_get_client_block (/usr/lib/apache/libphp4.so)
undefined symbol: ap_add_version_component (/usr/lib/apache/libphp4.so)
undefined symbol: ap_hard_timeout (/usr/lib/apache/libphp4.so)
undefined symbol: ap_rflush (/usr/lib/apache/libphp4.so)
undefined symbol: ap_set_last_modified (/usr/lib/apache/libphp4.so)
undefined symbol: ap_reset_timeout (/usr/lib/apache/libphp4.so)
undefined symbol: ap_unblock_alarms (/usr/lib/apache/libphp4.so)
undefined symbol: ap_add_common_vars (/usr/lib/apache/libphp4.so)
So what is the problem, as it has been indicated that it is related to
MySQL, and what is my next step to fix the problem?
Any assistance is appreciated.
Andrew Schoenherr
--- End Message ---