NYCPHP Meetup

NYPHP.org

[nycphp-talk] Problems After Install Of Xammp. Help Please

Serge Chabert photographyworks at netscape.net
Fri Jun 10 09:05:03 EDT 2005


 i installed xampp on my computer and when i go to http://localhost. it seems to work
however, how do i set up the configuration file so that i can have access to the pages of my websites tests.

this is when i type http://localhost/mywebsite that it shows the file list instead of showing the index.htm page.

before i installed Xammp, the document root was var/www/html (where all my websites folder were located) but since i i installed Xammp, the document root seemed to have become, somehow, /opt/lampp/htdocs/. if i leave my websites folder in var/www/html and i type http://localhost/something, it says not present on the server. when i move the website folder in /opt/lampp/htdocs/ and i type http://localhost/something, then it display the directory contents of the folder without launching the index.htm file to display the page.

Furthrermore, i was able to enter in phpmyadmin, but when i want to create a new database, it tells me :

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

any idea what is wrong ?

i tried to add privileges, but it is the same thing after that.

Is there any tutorial that explain how to setup the configuration files :

/opt/lampp/etc/httpd.conf The Apache configuration file.
/opt/lampp/etc/my.cnf The MySQL configuration file.
/opt/lampp/etc/php.ini The PHP configuration file.
/opt/lampp/etc/proftpd.conf The ProFTPD configuration file. (since 0.9.5)
/opt/lampp/phpmyadmin/config.inc.php The phpMyAdmin configuration file

Help please !!!!!!



MY configuration :

Linux Mandriva 2005

XAMPP Linux 1.4.13 (Apache 2.0.53, MySQL 4.1.11, PHP 5.0.4 & 4.3.11 & PEAR + SQLite 2.8.9/2.8.14 + multibyte (mbstring) support, Perl 5.8.6, ProFTPD 1.2.10, phpMyAdmin 2.6.1-pl3, OpenSSL 0.9.7d, GD 2.0.1, Freetype2 2.1.7, libjpeg 6b, libpng 1.2.7, gdbm 1.8.0, zlib 1.1.4, expat 1.2, Sablotron 1.0, libxml 2.4.26, Ming 0.2a, Webalizer 2.01, pdf class 009e, ncurses 5.8, mod_perl 2.0.0-RC4, FreeTDS 0.62.4, gettext 0.11.5, IMAP C-Client 2002b, OpenLDAP (client) 2.2.13, mcrypt 2.5.7, mhash 0.8.18, eAccelerator 0.9.2a, cURL 7.13.1, libxslt 1.1.8, phpSQLiteAdmin 0.2, libapreq 2.04-dev)
MD5 checsum: 65643bf5cac992f455b89d06ba8ee267

__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp



More information about the talk mailing list