apache2 php5 mysql4 problems
I have been successfuly running apache2 as a web server with php5 as a module. Recently I needed access to a database so I tried to upgrade my system by adding mysql4 as the database server. I had installed apache2 and php5 from the ports. Previously I would install php5-extensions to build the mysql module for php. After failing get the resulting php to recognize the mysql_ database calls in php I noticed that the php5-extensions no longer build the mysql extensions. I have tried various things. The most successful was to configure php with the --with-mysql option. However this did not completelty solve my problem. While database access was enabled from a php script, when I use the same codee in a web page to access the same database, my browser pops up a window asking if I want to save the file to disk or search for a program to deal with the file (suggestion Dreamweaver since it a .php file). Does anybody have the sequence of build commands for making a apache2 - php5 - mysql, a working web server environment? I am running 5.4 With thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
file system type
Is there any way of detecting the type of file system on a disk, specifically UFS2 or UFS1? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache/mod_php4/mysql issue
I recently upgraded apache2 and mod_php4 using portupgrade. Now all my scripts that reference mysql fail with the error message: PHP Fatal error: Call to undefined function: mysql_connect() in /usr/users/munn/public_html/Testing/MySQL.php I re-built Apache and mod_php4 with the following commands cd /usr/ports/www/apache2 make install cd ../mod_php4 make install WITH_APACHE2=1 and the script ?php phpinfo(); ? runs correctly. Scripts referencing mysql access fail with undefined function messages. When I built the files before I vaguely remember being presented with a dialog box that offered various options one of which involved mysql. I no longer get any options choice. Here is the information returned by mysql -V and httpd -v. Any help would be appreciated. mysql Ver 12.22 Distrib 4.0.20, for portbld-freebsd4.9 (i386) Server version: Apache/2.0.50 Server built: Jul 21 2004 10:26:41 Server's Module Magic Number: 20020903:8 Architecture: 32-bit Server compiled with -D APACHE_MPM_DIR=server/mpm/prefork -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_FLOCK_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT=/usr/local -D SUEXEC_BIN=/usr/local/bin/suexec -D DEFAULT_PIDLOG=/var/run/httpd.pid -D DEFAULT_SCOREBOARD=/var/run/apache_runtime_status -D DEFAULT_LOCKFILE=/var/run/accept.lock -D DEFAULT_ERRORLOG=/var/log/httpd-error.log -D AP_TYPES_CONFIG_FILE=etc/apache2/mime.types -D SERVER_CONFIG_FILE=etc/apache2/httpd.conf ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
s/key
How do I turn off the prompt for an s/key password? I started getting the request when I upgraded from 4.5 to 4.7 -- Robert Munn To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
s/key
After upgrading one of my system from 4.6 to 4.7 I get an S/Key prompt when I ssh to a 4.6 system. How can I get rid of the skey prompt. I have tried fiddling with pam.conf but it doesn't seem to make ant difference To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message