[PHP-INST] apache 1.3.23 php 4.1.1 + mysql extension mandrake pb
about a php apache upgrade : I uninstall my apache 1.3.22 +php4.06. and install apacge 1.3.23 +php 4.1.1 www:~# rpm -qa | grep php php-4.1.1-4mdk mod_php-4.1.1-2mdk php-devel-4.1.1-4mdk php-common-4.1.1-4mdk www:~# rpm -qa | grep apache apache-devel-1.3.23-4mdk apache-conf-1.3.23-3mdk apache-common-1.3.23-4mdk apache-manual-1.3.23-4mdk apache-source-1.3.23-4mdk apache-1.3.23-4mdk apache-modules-1.3.23-4mdk while test a mysql connection : www:~# php mysql.php X-Powered-By: PHP/4.1.1 Content-type: text/html Fatal error: Call to undefined function: mysql_connect() in /root/my sql.php on line 2 www:~# php mysql.php www:~# tail mysql.php www:~# www:~# tail /usr/lib/php/ 20010901Cache.php DB.php HTTP.phpMail.phpPEAR Archive Console extensions Image MathPEAR.php Benchmark Crypt FileLog Net Schedule build DateHTMLLog.php Numbers System.php Cache DB HTTPMailPayment XML www:~# ls /usr/lib/php/extensions/ ? no external extensions no mysql extensions ? I see the configure of this rpm find at rpmfind.net Configure Command './configure' '--disable-static' '--disable-debug' '--disable-rpath' '--enable-pic' '--enable-inline-optimization' '--prefix=/usr' '--with-zlib' '--with-config-file-path=/etc' '--enable-magic-quotes' '--enable-debugger' '--enable-track-vars' '--enable-safe-mode' '--with-exec-dir=/usr/bin' '--with-regex=system' '--with-versioning' '--enable-sysvsem' '--enable-sysvshm' '--with-mod_charset' '--enable-force-cgi-redirect' '--enable-trans-sid' '--with-dbase' '--with-filepro' '--enable-yp' '--enable-ftp' '--with-xml' '--with-gettext' '--with-ttf' '--with-freetype-dir' [Some modules are external: look for packages php-pgsql,php-mysql,...] aie : befire I have php-mysql-4.06 I try to force the install of php-mysql external extension www:~# rpm -Uvh --force php-mysql-4.0.6-3mdk.i586.rpm error: failed dependencies: php-common = 4.0.6 is needed by php-mysql-4.0.6-3mdk www:~# rpm -i --force php-mysql-4.0.6-3mdk.i586.rpm error: failed dependencies: php-common = 4.0.6 is needed by php-mysql-4.0.6-3mdk www:~# php phpinfo.php> phpinfo.html www:~# rpm -qa | grep php php-4.1.1-4mdk mod_php-4.1.1-2mdk php-devel-4.1.1-4mdk php-common-4.1.1-4mdk nothing more www:~# rpm -U --force php-mysql-4.0.6-3mdk.i586.rpm error: failed dependencies: php-common = 4.0.6 is needed by php-mysql-4.0.6-3mdk I must hav a mysql.so file wich while provide me an external extentioin to allow me to connect to mysql database. a+. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] failed installing nusphere solution on a xp
Hi, I become better and better in php programming. I was working with phpcoder + php 4.06, that i unstall temporary. I m looking for a powerfull editor, I found phped in screenshots of the dbg site. I cant work seriously without a debugger. I download the eval version of phped. I install the techpack + phped3 eval. I can only debug in local cgi mode, no http debug seems to work. I notice a strange thing in the php dir (only) when runnig php.exe on the command line it displays "failed loading php_dbg.dll", but every thing seems to be ok ! I make a copy of php_db.dll in ../extensions, apache make a core dump. I tried with the dbg dll that coder has, ... I get the same things: fail ... +dbg 2.04 incompatrible with zend... k I dont understand :( I install everything by default. I notice that when giving a *.php script url that deoesnt exists, the listener casts the editor and I can see somes php globals vars, like phpcoder when it was working. But nothings happen when a well and existing php script is called via the browser ?!, except if it has parse errors so the listner give hand to the editor. Have I to make some errors to take profit of the debugger ? I dont know if some could answer me here, case zend is proach of php, and zend is a concurent of nushpere for its editor, is the still a community ? Thanks for your echo. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php