php-install Digest 1 Dec 2001 22:13:10 -0000 Issue 581

Topics (messages 5152 through 5155):

HELP - PHP 4.0.6 screwed the Cold Fusion Server
        5152 by: Eddie

Problems with php install
        5153 by: root
        5154 by: Chris

PHP, MySQL, * Mandrake 8.1
        5155 by: Joe

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 ---
Hello,

I made the stupid mistake to install PHP 4.0.6 using Windows InstallShield
(I previously ran 4.0.5 and it worked fine) on a Win 2000 server and now
no Cold Fusion application is running (Internal Server Error 500) on that
machine.
I tried to reinstall Cold Fusion but the problem is still there.
I removed PHP but no luck as well.

Has anyone any idea what I need to do to make the Cold Fusion server work
again
(without having to reinstall everything).

One more time, I installed PHP as CGI on IIS

Thanks,

Eddie


--- End Message ---
--- Begin Message ---
Hi,

I am trying to install PHP onto my Linus server and I am getting
errors.  The message says to contact you for help.  I have looked all
over the net for the hack but have not found it.  Obviously I am new to
Linux.

Please tell me what is wrong.

Thanks,

Rick
CONFIGURE:   './configure' '--with-mysql=/usr/local/mysql-3.22.32-pc-linux-gnu-i686/' 
'--with-apxs=/usr/local/apache_1.3.12/bin/apxs'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:   
CXX:        
CXXFLAGS:   
INCLUDES:    -I/usr/local/apache_1.3.12/include  -I$(top_builddir)/Zend 
-I$(top_srcdir) -I/usr/local/mysql-3.22.32-pc-linux-gnu-i686//include
LDFLAGS:     -Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql 
-L/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
LIBS:       -lmysqlclient -lresolv -lm -ldl -lcrypt -lnsl  -lresolv
DLIBS:      
SAPI:       apache
PHP_RPATHS:  /usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql
uname -a:   Linux .asurefit 2.2.16-22 #1 Tue Aug 22 16:16:55 EDT 2000 i586 unknown

gcc -o conftest -g -O2   
-Wl,-rpath,/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql 
-L/usr/local/mysql-3.22.32-pc-linux-gnu-i686//lib/mysql conftest.c -lmysqlclient 
-lresolv -lm -ldl -lcrypt -lnsl  -lresolv 1>&5
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
--- End Message ---
--- Begin Message ---
Hello,
 It would be helpful if you could provide us a clue.
We have no idea what version/ package of Linux you are using.
We have no idea what version of PHP you are attempting to install.
We have no idea what options you wish to include in this PHP install.
We have no idea what errors you are reciving/ getting.

Best Wishes,
 Chris


> Hi,
> 
> I am trying to install PHP onto my Linus server and I am getting
> errors.  The message says to contact you for help.  I have looked all
> over the net for the hack but have not found it.  Obviously I am new to
> Linux.
> 
> Please tell me what is wrong.
> 
> Thanks,
> 
> Rick


--
end


............................................
This email was sent using DNSWATCH WebMail.
   "Get an account today!"
http://www.dnswatch.com/dnswm112/


--- End Message ---
--- Begin Message ---
Hi All,

        I am trying to use MySQL from PHP. I get the error message: call to 
undefined function: mysql_connect()

Based on what I've read, I need to compile PHP with the 
--use-mysql=/path/to/mysql option. This was not enough information to get 
the compile to work. (I tried every directory that had *any* mysql files in 
it.) So I ended up compiling just using --use-mysql. This seemed to work, 
php -v gives me 4.0.6. However, the error still exists: undefined function: 
mysql_connect() (MySQL is definitely installed. I have used the client to 
build a small database which I can query against.)

Could someone please give me a hand here?

jce
--- End Message ---

Reply via email to