[PHP-INST] cgi: parse error in /usr/local/php/php on line 8088

2002-03-17 Thread Andreas Grabmüller
Hi, I installed php as cgi into /usr/local/bin (standard path). Then I created a link in /usr/local/php so you can call php as /usr/local/php/php (for security reasons). That works fine on the console. Then I tried to integrate php into Apache. I did it the following way: -- ScriptAlias

php-install Digest 17 Mar 2002 16:07:10 -0000 Issue 748

2002-03-17 Thread php-install-digest-help
php-install Digest 17 Mar 2002 16:07:10 - Issue 748 Topics (messages 6386 through 6386): Re: parse error in /usr/local/php/php on line 8088 6386 by: Andreas Grabmüller Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-m

[PHP-INST] cgi: parse error in /usr/local/php/php on line 8088

2002-03-17 Thread Andreas Grabmüller
Hi, I installed php as cgi into /usr/local/bin (standard path). Then I created a link in /usr/local/php so you can call php as /usr/local/php/php (for security reasons). That works fine on the console. Then I tried to integrate php into Apache. I did it the following way: -- ScriptAlias

[PHP-INST] Mysql support in linux

2002-03-17 Thread Glen
Hello All, I am having trouble getting mysql support to work on apache. When I try to establish connection using mysql_connect() I get a call to unfdefined function error. I made sure to compile php using the --with-mysql option and the output of phpinfo() shows '--with-mysql=shared' as part

Re: [PHP-INST] Mysql support in linux

2002-03-17 Thread Rasmus Lerdorf
If you have --with-mysql=shared that means that you built a mysql.so which you have to manually enable in your php.ini file with a line like, "extension=mysql.so" assuming you put this mysql.so file in your extension_dir. -Rasmus On Sun, 17 Mar 2002, Glen wrote: > Hello All, > > I am having tro

[PHP-INST] Error when using MySQL statement in PHP

2002-03-17 Thread dssopt
Hello, I have a problem when I write a PHP script used to connect to MySQL table. The PHP script likes: When I try to run this script on apache server, there is an error : Fatal error: Call to undefined function: mysql_connect() in /var/www/html/index.php on line 2 Can anyone tell me what is t

[PHP-INST] Error when using PHP + MySQL

2002-03-17 Thread dssopt
Hello everybody, I am using the Linux + apache + mysql + php at the first time. After I install all of these, I get an error message like "Fatal error: Call to undefined function: mysql_connect() in /var/www/html/index.php on line 2" on browser. The installation procedure is : for apache 1.3.22

php-install Digest 18 Mar 2002 07:28:47 -0000 Issue 749

2002-03-17 Thread php-install-digest-help
php-install Digest 18 Mar 2002 07:28:47 - Issue 749 Topics (messages 6387 through 6391): Re: parse error in /usr/local/php/php on line 8088 6387 by: Andreas Grabmüller Mysql support in linux 6388 by: Glen 6389 by: Rasmus Lerdorf Error when using MySQL statement in