PDA

View Full Version : Not running PHP? SYS ADMIN says otherwise


Rick Horwitz
Mon 29th May '00, 6:12am
I'm trying to install vB for the first time. I got the message saying that PHP is not installed. CIHOST says it is. He also said that the reason it's not working is because my domain name is not active yet. I have been doing all of my development with my DNS numbers so far.

Can I use just DNS numbers while I'm setting up vB or do I have to wait for the domain name to become active?

TIA

Rick

Soon to be ex-UBB user :)

[Edited by Rick Horwitz on 05-30-2000 at 12:47 PM]

Rick Horwitz
Mon 29th May '00, 6:16am
BTW, IE 5 shows an error message an NS 4.7 shows the entire text of the document.

Morgo
Mon 29th May '00, 6:18am
You may only be able to run PHP files that end *.php3

If this is the case place:


AddType application/x-httpd-php3 .php


into your .htaccess file and this should allow your server to accept .php files

I think that this is a common problem with CI Host. For more information see this thread:
http://www.vbulletin.com/forum/showthread.php?threadid=660

BTW - accessing your site via IP shouldn't (AFAIK) make any difference. I am still accessing my site (DF3.net) via its IP and it runs without a problem.


[Edited by Morgo on 05-29-2000 at 11:21 PM]

Rick Horwitz
Mon 29th May '00, 7:27am
Thanks, I added that info and got past my first hurdle. I now get the welcome message, but when it attempts to connect to the server I get:

Attempting to connect...


Warning: Unknown MySQL Server Host (http) (0) in db_mysql.php on line 31

Warning: 0 is not a MySQL link index in db_mysql.php on line 37

The SYS ADMIN at CIHOST once again says it's because my domain isn't active.

All the info in my config file should be correct.

WebStyles
Mon 29th May '00, 11:39am
The sysadmin sounds like kind of a moron. It looks to me like messed up MIME types. Netscape should never, ever, never show the source of a script. If the server is set up correctly, there is no reason I see why your domain would have to be propagated before you can see if your scripts work.

Morgo
Mon 29th May '00, 1:03pm
It looks like you haven't configured config.php properly.

Check to make sure you have given it the correct username and password for the database. BTW - did you create the mySQL database or did CI Host? You will need to make sure you have entered in the correct database name too. For example, my database name was not 'forum' but matched my username.

Also, check out http://www.vbulletin.com/forum/showthread.php?threadid=737 as this guy has the same problem as you do. However, his error occurred because he changed the servername from 'localhost' to an IP.

I agree with Webstyles - your System Admin is a moron ;)

[Edited by Morgo on 05-30-2000 at 06:07 AM]