MySQL with PHP5.0b2 and Apache2

Here are my terse pointers on getting MySQL to work with PHP5.0b2 and Apache2: The PHP module has to be loaded in httpd.conf [code:1]LoadModule php5_module "c:/php/php4apache2.dll" AddType application/x-httpd-php .php[/code:1] Extension has to be loaded in php.ini (even though the comment in the .ini says that this is unnecessary). [code:1]extension_dir = "c:\php\extensions\" extension=php_mysql.dll[/code:1] Test with the phpinfo() function (the report should mention MySQL).

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can use BBCode tags in the text.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor, sorry but we need it to help prevent automated submissions.
"agers okays clots okays prawn thuya"