Jump to content

Nylex

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling
  • Location
    London, UK

Nylex's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Cheers, I\'ll do that. Now my LAMP server is up and running!
  2. I did set the password when I installed. Lol. Thanks a lot (again!).
  3. It came up with the same error when I tried ./mysqladmin ping. I then did ./mysqld_safe --user=mysql and then ./mysqladmin again: ./mysqladmin: connect to server at \'localhost\' failed error: \'Access denied for user: \'root@localhost\' (Using password: NO)\' Thanks.
  4. I\'ve installed MySQL from source (version 4.0.12 and I\'m using Red Hat 8.0). Am I supposed to start MySQL using ./mysql user=mysql (or root)? I get command not found errors if I just try # mysql or # mysqld. When I do use ./mysql ..., it gives the following error message: ERROR 2002: Can\'t connect to local MySQL server through socket \'/tmp/mysql.sock\' (2) Can anyone help? Thanks.
  5. Weird thing is happening. I\'ve added index.php to the DirectoryIndex line of my httpd.conf and then made a file called index.php with <? phpinfo(); ?> and this works. If I try to type the path to another file, ie. localhost/test.php it still asks me to save. Looks like PHP is working though, so thanks a lot.
  6. Yep, several times. Lol. My configure line: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql
  7. Done that and it still won\'t serve PHP pages. I copied the php.ini file to /usr/local/lib/php.ini also.
  8. Lol.. I\'ve just tried it with /usr/local/mysql only and it worked. Make and make install went ok. I added \'AddType application/x-httpd-php .php\' to my httpd.conf, but when I start the server, it won\'t display PHP pages.. wants me to download them. Arghhhh. Thanks again.
  9. Thanks, I\'ve tried that. I\'m having more problems though. When I do configure with PHP, I\'m getting \"configure: error: Cannot find header files under /usr/local/mysql/bin\". I did do configure, make and make install with both Apache and MySQL before PHP. Help! Thanks again though.
  10. I\'m just following that tutorial, seemed like an easy way to do it. Since I\'ve already started my installation using the info in it, is it ok to use your commands without something going totally wrong? Also, do I do the Apache ./configure first and then the PHP/MySQL?
  11. Hi, I\'m trying to set up a web server with PHP support on my machine. I\'ve been following a tutorial (http://sysbotz.com/articles/amp.htm), which has been fine apart from one step. It says to do the following: # ./configure --prefix=/usr/local/apache --enable-module=rewrite --activate-module=src/modules/php4/libphp4.a When I do, I get \"configure: error: unrecognized option: --activate-module=src/modules/php4/libphp4.a\" Any ideas? If it makes a difference, I\'m trying to install Apache 2.0 (httpd-2.0.45) with PHP 4.3.1. Thanks for any help.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.