Am I missing something? PHP, MySQL, Apache
OK,
Fedora core 1 Apache 1.3 PHP 4.3.7 MySql (I don't know what version what ever came with Fedora) Apache is working MySql is working PHP is installed but do i have to start it? when i try to add a MySQL connection is Dreamweaver MX i get an error message stating 1. "There is no testing server running on the machine" 2. "the testing server specified for this site does not map to http://***/apache/_mmserverscripts/MMHTTPDB.php url. Verifie that the URl prefix maps to the root of the site" Any ideas, What am i missing? |
Hi -
1. You can see whether or not PHP is installed by typing in and executing the following script: Code:
<?php 2. Next, I'd verified that I could connect to mySQL from the command line (i.e. you can talk to your database and query tables with the "mysql" command interpreter). 3. Finally, I'd suggest writing a brief "hello world" to verify that your PHP can talk to mySQL. I have a sample here: http://home.jps.net/~paulsm/proj/hello_sql/hello_pg.php Hope that helps .. PSM |
Dreamweaver? You wan't to connect from a different Windows box? Then you have to open your mysql port.
|
How do i do that. I would assume in one of the configuration files. Do you know which one? I was able to connect through ODBC
|
You connected through ODBC? Then it is some problem in Dreamweaver perhaps.
|
It keeps asling me to setup my test site, i do but it does not. I got annoyed enough to rebuild the server.
|
Quote:
|
in IE6 you have to delete cache files so it will stop asking you to set up your test page. Caching in IE6 is very anoying. Sometimes, even if you press SHIFT + F5 it won't refresh the site, it just uses the one from cache.
|
That's bad. It means PHP is not configured on your server.
Your best bet is to "google" for a tutorial on installing PHP. The problem can be any of: 1. PHP isn't installed 2. The PHP DSO isn't installed where Apache can find it. 3. The Apache httpd.conf file isn't configured for PHP. As far as httpd.conf, you need the following entries: EXAMPLE: Code:
LoadModule vhost_alias_module libexec... |
Ok this is diving me crazy. I am trying to reinstall php4. ./configure --with-mysql=/????????
Where are the libbrerys? i have a mysql folder in: /usr/share /usr/lib /var/lib Which one do i use. I am running Fedora and installed mysql off of the fedora cd. |
why didn't you install apache from the fedora cd also? You stil can install from a RPM from fedora cd
|
I don't know. i just downloaded apache and installed it. I don't like where fedora puts files if you install from the cd.
|
Thank you guys so much for all of your help. It magicailly started working when I installed Apache2. I had to of cource do a make clean on the php and reinstall it to work with apache2 but it works i got my configuration page when i ran the <? phpinfo() ?> script.
-AG |
Nice
|
All times are GMT -5. The time now is 09:50 PM. |