Lankster
-
Posts
4 -
Joined
-
Last visited
Never
Posts posted by Lankster
-
-
I'm sorry, I don't use windows but from what Ive heard, the installer isn't the way to go. Maybe it would be just as easy to setup something like wampserver as suggested?
Yep did that one first and nothing worked at all. I get a some error's from apache and sql would not load..
So now I start over, apache works, mysql is loading, but php is not...
-
installed the
php5.0.4 installer for windows
went threw the manual, add some lines in the conf
ScriptAlias /php "c:/server/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php-cgi.exe"
lines in php.ini
extension=php_mysql.dll
extension_dir = "c:\Server\php\ext"
moved the file libmysql
restart apache (a few times now)
made the <?php phpinfo(); ?> and saved it as a php
open my browser, typed in:
then i get a popup asking if I want to download that file.
-
I installed the php and when I start the localhost/phpinfo.php it whats to download the file?
Im missing something guys..
Can ya drop me a hint?
ty
phpinfo.php downloads why?
in PHP Coding Help
Posted
yah i had to change it to:
#LoadModule php5_module "c:/php/php5apache2_2.dll"
If I change it to
#LoadModule php5_module "c:/php/php5apache2.dll"
I get this:
ERROR
The requested operation has failed!
so I change it to:
#LoadModule php5_module "c:/php/php5apache2_2.dll"
apache runs..
Okay it was just one of my type O's .. in line:AddType application/x-httpd-php .php
I has it like this...:AddType application/x-httpd .php
so ty for your time...