Page 1 of 1

Basic question about installing a PHP/MySQL application...

Posted: Sat Apr 17, 2004 11:06 pm
by cineburk
I'm a PHP noob, and was hoping someone could help me out.

I have MySQL 3.23, Apache 2 and PHP4.3.3 up and running on a Fedora box. MySQL works great, and PHP and Apache work well enough for me to get a PHPinfo() readout.

Now I have someone who has programmed a web application for me, and has sent me some stuff to check out.

First, I have a folder of *.php files. Then I have a folder with a single file named *.mysql (the header says "phpMyAdmin SQL Dump", and it looks like it might be a script to set up the database?) If I dump all the *.php files in my web root, I can access them, but I can't get it to actually work with data.

Where should I put these files to get things up and running?

Thanks!

I'm posting the pertinent MySQL info from my PHPinfo readout, since I'm assuming it might be helpful:

-----------------------------------------------------------------------

PHP Version 4.3.3
'--with-mysql=shared,/usr' '


additional .ini files parsed /etc/php.d/mysql.ini, /etc/php.d/odbc.ini

apache2handler

Apache Version- Apache/2.0.47 (Fedora)
Loaded Modules- mod_auth_mysql

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.58 (Fedora doesn't do 4.x yet)
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off

Posted: Sat Apr 17, 2004 11:42 pm
by Steveo31
Put em in the www folder, or the public. Whichever you may have.