Re: [PHP] Re: Install PHPMyAdmin with urpmi
Hi, hack. The result is: Failed. I don't know why my PHP module does not talk to my MySQL. Please keep telling me. On Tue, 1 Sep 2009 12:08:08 +0800 hack988 hack988 hack...@dev.htwap.com wrote: Use follow codes for test your php,php_mysql is work well. use your ip replace localhost,your mysql port replace 3306 and username,password to replace mysql_user, mysql_password. ?php error_reporting(2047); ini_set(display_error,On); if(mysql_connect('localhost:3306', 'mysql_user', 'mysql_password')){ echo Ok; }else{ echo Failed; } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Install PHPMyAdmin with urpmi
Ricky Tompu Breaky wrote: Hi, hack. The result is: Failed. I don't know why my PHP module does not talk to my MySQL. Please keep telling me. On Tue, 1 Sep 2009 12:08:08 +0800 hack988 hack988 hack...@dev.htwap.com wrote: Use follow codes for test your php,php_mysql is work well. use your ip replace localhost,your mysql port replace 3306 and username,password to replace mysql_user, mysql_password. ?php error_reporting(2047); ini_set(display_error,On); if(mysql_connect('localhost:3306', 'mysql_user', 'mysql_password')){ echo Ok; }else{ echo Failed; } ? In php.ini there must be a extension=mysql.so line. If there is, make sure that it isn't prefaced by a ; semicolon. Also, in the script it should be ini_set(display_errors,On); -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Install PHPMyAdmin with urpmi
Dear my friend, Shawn... Hoorayit works Thank you very much Shawn Thank you...Thank you...Thank you...Thank you...1000x On Tue, 01 Sep 2009 13:14:56 -0500 Shawn McKenzie nos...@mckenzies.net wrote: Ricky Tompu Breaky wrote: Hi, hack. The result is: Failed. I don't know why my PHP module does not talk to my MySQL. Please keep telling me. On Tue, 1 Sep 2009 12:08:08 +0800 hack988 hack988 hack...@dev.htwap.com wrote: Use follow codes for test your php,php_mysql is work well. use your ip replace localhost,your mysql port replace 3306 and username,password to replace mysql_user, mysql_password. ?php error_reporting(2047); ini_set(display_error,On); if(mysql_connect('localhost:3306', 'mysql_user', 'mysql_password')){ echo Ok; }else{ echo Failed; } ? In php.ini there must be a extension=mysql.so line. If there is, make sure that it isn't prefaced by a ; semicolon. Also, in the script it should be ini_set(display_errors,On); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Install PHPMyAdmin with urpmi
Ricky Tompu Breaky wrote: Dear my friends, I've downloaded and installed PHPMyAdmin. I use Apache2 and Mandriva 2009.1. I have defined in the file of '/var/www/phpmyadmin/libraries/config.default.php' this things: $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = 'mypassword'; . I've done: grant all on *.* to root identified by 'mypassword'; . But I still can not login to MySQL from the PHPMyAdmin with root account. If I try login with MySQL-Query-Browser with 'root' and 'mypassword', Im logged-in very properly. What is my mistake actually? Does PHPMyAdmin need to make session on the Apache2? Is it related to session and what I should define in '/etc/php.ini'? Please tell me my mistake. Thank you very much in advance. Have you installed and enabled the php-mysql extension? -- Thanks! -Shawn http://www.spidean.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Install PHPMyAdmin with urpmi
Dear Shawn. Firstly, thank you very much for your quick respond. I've installed the php-mysql: [r...@mandreev linux]# urpmi php-mysql Package php-mysql-5.3.0-0.1mud2009.1.i586 is already installed [r...@mandreev linux]# . But I don't know if it's enabled already. How can I know that? Please keep telling me. Thank you very much in advance. === On Mon, 31 Aug 2009 15:27:30 -0500 Shawn McKenzie nos...@mckenzies.net wrote: Ricky Tompu Breaky wrote: Dear my friends, I've downloaded and installed PHPMyAdmin. I use Apache2 and Mandriva 2009.1. I have defined in the file of '/var/www/phpmyadmin/libraries/config.default.php' this things: $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = 'mypassword'; . I've done: grant all on *.* to root identified by 'mypassword'; . But I still can not login to MySQL from the PHPMyAdmin with root account. If I try login with MySQL-Query-Browser with 'root' and 'mypassword', Im logged-in very properly. What is my mistake actually? Does PHPMyAdmin need to make session on the Apache2? Is it related to session and what I should define in '/etc/php.ini'? Please tell me my mistake. Thank you very much in advance. Have you installed and enabled the php-mysql extension? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Install PHPMyAdmin with urpmi
Are u set auth_type to config? $cfg['Servers'][$i]['auth_type'] = 'config'; 2009/9/1 Ricky Tompu Breaky ricky.bre...@uni.de: Dear Shawn. Firstly, thank you very much for your quick respond. I've installed the php-mysql: [r...@mandreev linux]# urpmi php-mysql Package php-mysql-5.3.0-0.1mud2009.1.i586 is already installed [r...@mandreev linux]# . But I don't know if it's enabled already. How can I know that? Please keep telling me. Thank you very much in advance. === On Mon, 31 Aug 2009 15:27:30 -0500 Shawn McKenzie nos...@mckenzies.net wrote: Ricky Tompu Breaky wrote: Dear my friends, I've downloaded and installed PHPMyAdmin. I use Apache2 and Mandriva 2009.1. I have defined in the file of '/var/www/phpmyadmin/libraries/config.default.php' this things: $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = 'mypassword'; . I've done: grant all on *.* to root identified by 'mypassword'; . But I still can not login to MySQL from the PHPMyAdmin with root account. If I try login with MySQL-Query-Browser with 'root' and 'mypassword', Im logged-in very properly. What is my mistake actually? Does PHPMyAdmin need to make session on the Apache2? Is it related to session and what I should define in '/etc/php.ini'? Please tell me my mistake. Thank you very much in advance. Have you installed and enabled the php-mysql extension? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Install PHPMyAdmin with urpmi
Dea my ePal, I tried by editing the line as you adviced just now. But It does not make any difference. After I type root and the password and click the Login Button ('Go'), I am not in but just stay on the login form without any error or success message. Is there any another possibility? Please keep telling me. === On Tue, 1 Sep 2009 04:52:55 +0800 hack988 hack988 hack...@dev.htwap.com wrote: Are u set auth_type to config? $cfg['Servers'][$i]['auth_type'] = 'config'; 2009/9/1 Ricky Tompu Breaky ricky.bre...@uni.de: Dear Shawn. Firstly, thank you very much for your quick respond. I've installed the php-mysql: [r...@mandreev linux]# urpmi php-mysql Package php-mysql-5.3.0-0.1mud2009.1.i586 is already installed [r...@mandreev linux]# . But I don't know if it's enabled already. How can I know that? Please keep telling me. Thank you very much in advance. === On Mon, 31 Aug 2009 15:27:30 -0500 Shawn McKenzie nos...@mckenzies.net wrote: Ricky Tompu Breaky wrote: Dear my friends, I've downloaded and installed PHPMyAdmin. I use Apache2 and Mandriva 2009.1. I have defined in the file of '/var/www/phpmyadmin/libraries/config.default.php' this things: $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = 'mypassword'; . I've done: grant all on *.* to root identified by 'mypassword'; . But I still can not login to MySQL from the PHPMyAdmin with root account. If I try login with MySQL-Query-Browser with 'root' and 'mypassword', Im logged-in very properly. What is my mistake actually? Does PHPMyAdmin need to make session on the Apache2? Is it related to session and what I should define in '/etc/php.ini'? Please tell me my mistake. Thank you very much in advance. Have you installed and enabled the php-mysql extension? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Install PHPMyAdmin with urpmi
Config means just use username and password for config file,in that case u need't type any things,just open url. U must set another option in file. $cfg['blowfish_secret']='some string'; If not work agian,please check others options. $cfg['Servers'][$i]['host'] = 'localhost'; // MySQL hostname or IP address $cfg['Servers'][$i]['port'] = ''; // MySQL port - leave blank for default port $cfg['Servers'][$i]['connect_type'] = 'tcp'; // How to connect to MySQL server ('tcp' or 'socket') $cfg['Servers'][$i]['extension'] = 'mysql'; // The php MySQL extension to use ('mysql' or 'mysqli') 2009/9/1 Ricky Tompu Breaky ricky.bre...@uni.de: Dea my ePal, I tried by editing the line as you adviced just now. But It does not make any difference. After I type root and the password and click the Login Button ('Go'), I am not in but just stay on the login form without any error or success message. Is there any another possibility? Please keep telling me. === On Tue, 1 Sep 2009 04:52:55 +0800 hack988 hack988 hack...@dev.htwap.com wrote: Are u set auth_type to config? $cfg['Servers'][$i]['auth_type'] = 'config'; 2009/9/1 Ricky Tompu Breaky ricky.bre...@uni.de: Dear Shawn. Firstly, thank you very much for your quick respond. I've installed the php-mysql: [r...@mandreev linux]# urpmi php-mysql Package php-mysql-5.3.0-0.1mud2009.1.i586 is already installed [r...@mandreev linux]# . But I don't know if it's enabled already. How can I know that? Please keep telling me. Thank you very much in advance. === On Mon, 31 Aug 2009 15:27:30 -0500 Shawn McKenzie nos...@mckenzies.net wrote: Ricky Tompu Breaky wrote: Dear my friends, I've downloaded and installed PHPMyAdmin. I use Apache2 and Mandriva 2009.1. I have defined in the file of '/var/www/phpmyadmin/libraries/config.default.php' this things: $cfg['Servers'][$i]['user'] = 'root'; $cfg['Servers'][$i]['password'] = 'mypassword'; . I've done: grant all on *.* to root identified by 'mypassword'; . But I still can not login to MySQL from the PHPMyAdmin with root account. If I try login with MySQL-Query-Browser with 'root' and 'mypassword', Im logged-in very properly. What is my mistake actually? Does PHPMyAdmin need to make session on the Apache2? Is it related to session and what I should define in '/etc/php.ini'? Please tell me my mistake. Thank you very much in advance. Have you installed and enabled the php-mysql extension? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: Install PHPMyAdmin with urpmi
Use follow codes for test your php,php_mysql is work well. use your ip replace localhost,your mysql port replace 3306 and username,password to replace mysql_user, mysql_password. ?php error_reporting(2047); ini_set(display_error,On); if(mysql_connect('localhost:3306', 'mysql_user', 'mysql_password')){ echo Ok; }else{ echo Failed; } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: install pecl in debian
On 4/12/08, Bojan Tesanovic [EMAIL PROTECTED] wrote: You need CLI (Comman Line interface) for PHP most of PECL packages are in apt-get eg apt-get php-memcache On Apr 12, 2008, at 3:19 AM, Shawn McKenzie wrote: hce wrote: Hi, I post following message days ago, but could not see it on the list. Sorry if it is duplicated. I've installed php5 in debian, but got following problems: 1. I could not find a proper debian package for pecl, search pecl found: dh-make-php - Creates Debian source packages for PHP PEAR and PECL extensions php-pear - PEAR - PHP Extension and Application Repository php4-imagick - ImageMagick module for php4 php5-imagick - ImageMagick module for php5 Could anyone who have installed php in debian advise which pecl package I should install in debian? I need to install the pecl using for memcache, lighttpd and mysql. 2. I installed php5 in debian, but there is only /usr/bin/php5-cgi, no php binary fond in /usr/bin. $ dpkg -l php5 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- ii php5 5.2.0-8+etch10 server-side, HTML-embedded scripting languag Which php package I have been missing for php command? Thank you. Kind Regards, Jim Not sure about debian but ubuntu you install the individual modules, not all that are included in PECL. 1. apt-get install php5-mysql php5-lighttpd php5-memcache 2. apt-get install php5-cli -Shawn Thanks Shawn and Bojan. I have already insalled php5-memcache, php5-mysql. What is the pecl package for the following error: Catchable fatal error: Object of class MDB2_Error could not be converted to string Thank you. Kind Regards, Jim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: install pecl in debian
On 4/12/08, hce [EMAIL PROTECTED] wrote: On 4/12/08, Bojan Tesanovic [EMAIL PROTECTED] wrote: You need CLI (Comman Line interface) for PHP most of PECL packages are in apt-get eg apt-get php-memcache On Apr 12, 2008, at 3:19 AM, Shawn McKenzie wrote: hce wrote: Hi, I post following message days ago, but could not see it on the list. Sorry if it is duplicated. I've installed php5 in debian, but got following problems: 1. I could not find a proper debian package for pecl, search pecl found: dh-make-php - Creates Debian source packages for PHP PEAR and PECL extensions php-pear - PEAR - PHP Extension and Application Repository php4-imagick - ImageMagick module for php4 php5-imagick - ImageMagick module for php5 Could anyone who have installed php in debian advise which pecl package I should install in debian? I need to install the pecl using for memcache, lighttpd and mysql. 2. I installed php5 in debian, but there is only /usr/bin/php5-cgi, no php binary fond in /usr/bin. $ dpkg -l php5 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- ii php5 5.2.0-8+etch10 server-side, HTML-embedded scripting languag Which php package I have been missing for php command? Thank you. Kind Regards, Jim Not sure about debian but ubuntu you install the individual modules, not all that are included in PECL. 1. apt-get install php5-mysql php5-lighttpd php5-memcache 2. apt-get install php5-cli -Shawn Thanks Shawn and Bojan. I have already insalled php5-memcache, php5-mysql. What is the pecl package for the following error: Catchable fatal error: Object of class MDB2_Error could not be converted to string I've resolved that issue. Thank you all. Kind Regards, Jim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: install pecl in debian
hce wrote: Hi, I post following message days ago, but could not see it on the list. Sorry if it is duplicated. I've installed php5 in debian, but got following problems: 1. I could not find a proper debian package for pecl, search pecl found: dh-make-php - Creates Debian source packages for PHP PEAR and PECL extensions php-pear - PEAR - PHP Extension and Application Repository php4-imagick - ImageMagick module for php4 php5-imagick - ImageMagick module for php5 Could anyone who have installed php in debian advise which pecl package I should install in debian? I need to install the pecl using for memcache, lighttpd and mysql. 2. I installed php5 in debian, but there is only /usr/bin/php5-cgi, no php binary fond in /usr/bin. $ dpkg -l php5 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- ii php5 5.2.0-8+etch10 server-side, HTML-embedded scripting languag Which php package I have been missing for php command? Thank you. Kind Regards, Jim Not sure about debian but ubuntu you install the individual modules, not all that are included in PECL. 1. apt-get install php5-mysql php5-lighttpd php5-memcache 2. apt-get install php5-cli -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: install pecl in debian
You need CLI (Comman Line interface) for PHP most of PECL packages are in apt-get eg apt-get php-memcache On Apr 12, 2008, at 3:19 AM, Shawn McKenzie wrote: hce wrote: Hi, I post following message days ago, but could not see it on the list. Sorry if it is duplicated. I've installed php5 in debian, but got following problems: 1. I could not find a proper debian package for pecl, search pecl found: dh-make-php - Creates Debian source packages for PHP PEAR and PECL extensions php-pear - PEAR - PHP Extension and Application Repository php4-imagick - ImageMagick module for php4 php5-imagick - ImageMagick module for php5 Could anyone who have installed php in debian advise which pecl package I should install in debian? I need to install the pecl using for memcache, lighttpd and mysql. 2. I installed php5 in debian, but there is only /usr/bin/php5- cgi, no php binary fond in /usr/bin. $ dpkg -l php5 Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half- installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- ii php5 5.2.0-8+etch10 server-side, HTML-embedded scripting languag Which php package I have been missing for php command? Thank you. Kind Regards, Jim Not sure about debian but ubuntu you install the individual modules, not all that are included in PECL. 1. apt-get install php5-mysql php5-lighttpd php5-memcache 2. apt-get install php5-cli -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Used Cars http://www.carster.us/sell-my-car
[PHP] Re: install php 5.2.1 with checkinstall
# rpm -ivh php-5.2.1-1.i386.rpm file /etc/pear.conf from install of php-5.2.1-1 conflicts with file from package php-pear-1.4.9-4 file /usr/share/pear/.channels/pear.php.net.reg from install of php-5.2.1-1 conflicts with file from package php-pear-1.4.9-4 file /usr/share/pear/.depdb from install of php-5.2.1-1 conflicts with file from package php-pear-1.4.9-4 I suggest you use `rpm -r` to remove the original php package in your linux. -- .~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Ubuntu 6.10) Linux 2.6.20.3 ^ ^ 19:00:01 up 5:18 0 users load average: 1.00 1.00 1.00 news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: install php 5.2.1 with checkinstall
In case you want a full ./configure line... #!/bin/bash ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --with-config-file-path=/etc \ --enable-track-vars \ --enable-ftp \ --enable-sysvsem \ --enable-sysvshm \ --enable-sockets \ --enable-gd-native-ttf \ --enable-memory-limit \ --enable-trans-sid \ --enable-magic-quotes \ --enable-exif \ --enable-inline-optimization \ --enable-dbase \ --enable-mbstring \ --enable-embedded-mysqli \ --with-mysqli \ --with-gettext \ --with-gd \ --with-calendar=shared \ --with-apxs2=`which apxs2` \ --with-imap \ --with-ncurses \ --with-zlib-dir=/usr \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-xpm-dir=/usr \ --with-openssl=/usr \ --with-freetype-dir=/usr/include \ --with-mysql=/usr \ --with-kerberos \ --with-imap-ssl # # --with-ldap \ # --with-ttf=/usr/X11R6 \ # --with-mm=/usr/mm-1.1.3 \ # --with-pgsql=/usr/local/pgsql \ # --with-pdflib=/usr/local \ # make echo -n Remember to back up /etc/apache/httpd.conf first exit # make install -- .~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Ubuntu 6.10) Linux 2.6.20.3 ^ ^ 19:57:01 up 6:15 0 users load average: 1.10 1.05 1.01 news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: install problems
Hello, This is php.install question but I can help you. Two weeks ago, I faced same problem with Apache 2.2.4 and PHP 5.2.1 in Redhat Linux AS 4 Update 3 operating system. I tried to install apache and php together but I faced to same problem. I tried to install PHP 5.1.6 and Apache 2.2.4, my problem could be solved.:) -- Haydar TUNA Republic Of Turkey - Ministry of National Education Education Technology Department Ankara / TURKEY Web: http://www.haydartuna.net jekillen [EMAIL PROTECTED], haber iletisinde sunlari yazdi:[EMAIL PROTECTED] Hello; Well, this one I cannot seem to figure out: I installed Apache 1.3.37 with ./configure --enable-module=so --enable-module=rewrite --enable-shared=max Then tried to install php 5.2.1 --with-apxs=/usr/local/apache/bin etc etc libphp5.so is no where to be found. It sure is not in apache/libexec I saved the ./configure options in a file and had configure read from it. All seemed to go ok, no errors, bailouts. I can send that file if anyone thinks it may have the answer. The problem showed up when I tried to start apache and it would not start because it could not find libphp5.so OS: Freebsd 6.2 (I know there is the ports system, I have install all of this successfully on two other machines doing just untar, configure, make, make install. I had reasons for not dealing with ports) Any clues? Thanks in advance Jeff K -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: install problems
On Mar 18, 2007, at 7:51 PM, Haydar TUNA wrote: Hello, This is php.install question but I can help you. Two weeks ago, I faced same problem with Apache 2.2.4 and PHP 5.2.1 in Redhat Linux AS 4 Update 3 operating system. I tried to install apache and php together but I faced to same problem. I tried to install PHP 5.1.6 and Apache 2.2.4, my problem could be solved.:) Thanks, I still do have the 5.1.2 tarball. I will try that and see if it makes a dif. I thought of stealing the file that is missing from another installation that is very similar but decided against it because it was based on a different version of php (5.2.1). And this file is in /usr/local/libexec instead of /usr/local/apache/libexec (That actually be part of my problem; I.E. when I installed Apache I did not give ./configure a prefix because the install instructions said the default was /usr/local/apache. And httpd.conf is expecting to find the stuff in /usr/local/libexec.) Thanks again trying again, Jeff K -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: install/config error - please help
On Wed, 30 Jun 2004 23:01, Long P Nguyen wrote: any ideas with this install/config error? [EMAIL PROTECTED] php-4.3.7]# ./configure --with-mysql=/usr/local/mysql creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. Do you have gcc installed? If so, does the user running configure have permissions to write to the current directory? -- David Robley I'm as busy as a bee, Tom droned. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Install PHP on windows using PHP installler
Is it better to install PHP using the PHP installer or using the Zip file version? Go for the PHP Installer. It's straight forward to install... Do download the Zip file also, in case u need any extensions (DLL) Nadim Attari http://www.alienworkers.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Install PHP on windows using PHP installler
what webserver are you using? If it's IIS, then use the installer... If it's Apache, teh installer doesn;t work, you have to do it manualy. - Anthony Mark McCulligh [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am building a Windows 2000/PHP production server. I have only ever used LINUX for production and windows for developer machines. Is it better to install PHP using the PHP installer or using the Zip file version? Should you install PHP as CGI or ISAPI? I am looking for the pros and cons, someone told me not to use the PHP installer because it is not secure. Thanks, Mark. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Install PHP on windows using PHP installler
What I tend to do is to download the installer and run it as this sets up all the configuration (eg IIS) I then download the zip file (Which contains a load of extra files eg PEAR) and copy the whole unzipped directory to overwite the c:\php dir contents created by the installer. This might be a bit cock handed way of doing it but it works for me. If its IIS server then I suggest (personal view) that you use CGI - I recently had a couple of applications crash my ISP host and changing to CGI solved the problem. Hope it helps Pete Mark McCulligh wrote: I am building a Windows 2000/PHP production server. I have only ever used LINUX for production and windows for developer machines. Is it better to install PHP using the PHP installer or using the Zip file version? Should you install PHP as CGI or ISAPI? I am looking for the pros and cons, someone told me not to use the PHP installer because it is not secure. Thanks, Mark. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Install PHP on windows using PHP installler
depend on which web server : for apache : use php as a module for IIS (very bad id) : use php as a ISAPI In either case don't use php as a CGI, this won't allow persistant connection (very usefull for mysql) Hope that helped ! k -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Install PHP on windows using PHP installler
From my understanding you can get PHP with CGI to do persistant connection if you install fastcgi. Link about PHP and FastCGI: http://php.weblogs.com/fastcgi_with_php_and_iis Mark. Php Dot Net [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] depend on which web server : for apache : use php as a module for IIS (very bad id) : use php as a ISAPI In either case don't use php as a CGI, this won't allow persistant connection (very usefull for mysql) Hope that helped ! k -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: install error
from this line, i guess that Apache is not installed? apxs:Warning: /usr/bin/httpd not found or not executable Joseph Bannon [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... What does this mean? make[1]: Entering directory `/home/php-4.0.6' /home/php-4.0.6/build/shtool mkdir -p /usr/lib/apache /usr/sbin/apxs -S LIBEXECDIR=/usr/lib/apache -i -a -n php4 libs/libphp4.so apxs:Warning: /usr/bin/httpd not found or not executable apxs:Warning: Continuing anyway... apxs:Warning: No shared object support for Apache apxs:Warning: available under your platform. Make sure apxs:Warning: the Apache module mod_so is compiled into apxs:Warning: your server binary `/usr/bin/httpd'. apsx:Warning: Continuing anyway... apxs:Error: Unknown option: S Usage: apxs -g -n modname apxs -q query ... apxs -c [-o dsofile] [-D name[=value]] [-I incdir] [-L libdir] [-l libname] [-Wc,flags] [-Wl,flags] files ... apxs -i [-a] [-A] [-n modname] dsofile ... make[1]: *** [install-sapi] Error 1 make[1]: Leaving directory `/home/php-4.0.6' make: *** [install-recursive] Error 1 -- PHP General 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]
RE: [PHP] Re: install error
it usually means the apache httpd wasn't found in /usr/bin Some distributions throw things in wierd places do a 'locate httpd' (quicker) or 'find \ -name httpd' (longer) to find out where its situated then configure paths accordingly. Remember if you are going to use dso's apache must be compiled to use them that way. Lawrence -Original Message- From: _lallous [mailto:[EMAIL PROTECTED]] Sent: August 30, 2001 4:19 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: install error from this line, i guess that Apache is not installed? apxs:Warning: /usr/bin/httpd not found or not executable Joseph Bannon [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... What does this mean? make[1]: Entering directory `/home/php-4.0.6' /home/php-4.0.6/build/shtool mkdir -p /usr/lib/apache /usr/sbin/apxs -S LIBEXECDIR=/usr/lib/apache -i -a -n php4 libs/libphp4.so apxs:Warning: /usr/bin/httpd not found or not executable apxs:Warning: Continuing anyway... apxs:Warning: No shared object support for Apache apxs:Warning: available under your platform. Make sure apxs:Warning: the Apache module mod_so is compiled into apxs:Warning: your server binary `/usr/bin/httpd'. apsx:Warning: Continuing anyway... apxs:Error: Unknown option: S Usage: apxs -g -n modname apxs -q query ... apxs -c [-o dsofile] [-D name[=value]] [-I incdir] [-L libdir] [-l libname] [-Wc,flags] [-Wl,flags] files ... apxs -i [-a] [-A] [-n modname] dsofile ... make[1]: *** [install-sapi] Error 1 make[1]: Leaving directory `/home/php-4.0.6' make: *** [install-recursive] Error 1 -- PHP General 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 General 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] Re: Install
www.activestate.com (Perl) www.editplus.com (good editor for programming) Roman [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello ! I want to install perl under apache in windows, please send me some information how can i install, where I find perl software, where I find some perl editor... Thanks fo all roman -- PHP General 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] Re: Install problems with PHP and GD
If you're running the latest RH, the path should be /usr anyway, issue: find / -name gd.h if the result is /usr/include/gd.h, then the path should be /usr if you have somthing else, I guess you already suppose what the path is.. :) Daniel BI -- PHP General 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] PHP (re)install problems
I just reformatted my computer and reinstalled: Apache 1.3.14 Win32 r2 PHP 4.03pl1 mySQL 3.23.34 - Win I copied over my mySWL database and my PHP files and I get the following error: Warning: Undefined variable: Titlesearch in d:\apache\htdocs\bkhtml\movies.php on line 22 This is line 22 of movies.php: print "form name=\"search\" method=\"get\" action=\"movies/mysql_moviedb_search.php?Titlesearch=$Titlesearch\"\n"; I also get this error: Warning: Use of undefined constant link - assumed 'link' in d:\apache\htdocs\bkhtml\movies\mysql_movieindex.php on line 15 And this is lines 13-15 of mysql_movieindex.php: $link = mysql_pconnect("localhost",$user,$pass); if(!link) die("Couldn't connect to mySQL"); It still displays what it is supposed to, so it is connecting to and accessing the database, I just get these extra warnings that I never got before. TIA, jb -- PHP General 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]
Re: [PHP] PHP (re)install problems
snip Warning: Undefined variable: Titlesearch in d:\apache\htdocs\bkhtml\movies.php on line 22 This is line 22 of movies.php: print "form name=\"search\" method=\"get\" action=\"movies/mysql_moviedb_search.php?Titlesearch=$Titlesearch\"\n"; are you sure your variable is capitalized previously? I also get this error: Warning: Use of undefined constant link - assumed 'link' in d:\apache\htdocs\bkhtml\movies\mysql_movieindex.php on line 15 And this is lines 13-15 of mysql_movieindex.php: $link = mysql_pconnect("localhost",$user,$pass); if(!link) you forgot the $ in front of link.you want if(!$link) all the best, jack -- PHP General 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]
RE: [PHP] PHP (re)install problems
Yeah I am pretty sure it is right, it was working fine before I reinstalled. And thanks for the !$link that worked. jb snip Warning: Undefined variable: Titlesearch in d:\apache\htdocs\bkhtml\movies.php on line 22 This is line 22 of movies.php: print "form name=\"search\" method=\"get\" action=\"movies/mysql_moviedb_search.php?Titlesearch=$Titlesearch\"\n"; are you sure your variable is capitalized previously? -- PHP General 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]
Re: [PHP] PHP (re)install problems
On Tue, 13 Mar 2001 08:46, Jason Bouwmeester wrote: Yeah I am pretty sure it is right, it was working fine before I reinstalled. And thanks for the !$link that worked. jb snip Warning: Undefined variable: Titlesearch in d:\apache\htdocs\bkhtml\movies.php on line 22 This is line 22 of movies.php: print "form name=\"search\" method=\"get\" action=\"movies/mysql_moviedb_search.php?Titlesearch=$Titlesearch\"\ n"; are you sure your variable is capitalized previously? Check the level of error reporting in your ini file - looks like you may have warnings turned on. -- David Robley| WEBMASTER Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet| http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA -- PHP General 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]