Re: Beginner Question

From: Date: Sat, 28 Oct 2000 20:23:12 +0000
Subject: Re: Beginner Question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-22486@lists.php.net to get a copy of this message
Hi I am using a virtual server, they told me they support PHP, but I don't have access to the server configuration 5ago Lars Torben Wilson escribió: > Santiago Ramírez writes: > > Hi > > Please be patient with me, I would like to know why isn't this working > > http://www.chimpanche.com/test/test.php > > Thankyou > > 5ago > > When you pose a question like this, you need to provide a lot more > information so that people don't have to guess what your setup is, > what steps you've taken to get to this point, etc. At it is, it looks > like you're using Apache 1.3.9--but I have no idea what the PHP > version is. > > At any rate, you should read the FAQ at > http://www.php.net/FAQ.php, > especially item #6.8: > > 6.8. I have followed all the steps to install the Apache module > version on UNIX, and my PHP scripts show up in my browser or I am > being asked to save the file. Help! This means that the PHP module > is not getting invoked for some reason. Three things to check > before asking for further help: Make sure that the httpd binary you > are running is the actual new httpd binary you just built. To do > this,try running: /path/to/binary/httpd -l If you don't see > mod_php3.c listed then you are not running the right binary. Find > and install the correct binary. Make sure you have added the > correct Mime Type to one of your Apache .conf files. It should be: > AddType application/x-httpd-php3 .php3 (for PHP 3) or AddType > application/x-httpd-php .php (for PHP 4) Also make sure that this > AddType line is not hidden away inside a <Virtualhost> or > <Directory> block which wouldprevent it from applying to the > location of your test script. Finally, the default location of the > Apache configuration files changed between Apache 1.2 and Apache > 1.3. Youshould check to make sure that the configuration file you > are adding the AddType line to is actually being read.You can put an > obvious syntax error into your httpd.conf file or some other obvious > change that will tell you ifthe file is being read correctly. > > Cheers, > > Torben > > -- > +----------------------------------------------------------------+ > |Torben Wilson <torben@php.net> Netmill iTech| > |http://www.coastnet.com/~torben > http://www.netmill.fi| > |Ph: 1 250 383-9735 torben@netmill.fi| > +----------------------------------------------------------------+ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Santiago Ramírez http://www.chimpanche.com Comics, cartoons y juegos. Comics, cartoons and games. Comics, cartoons e giocchi.

« previous php.general (#22486) next »